Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Auszug
hiddentrue

Nuclos Jasper styles: parent style, default style, conditional style, forecolor, expression editor, condition.

globe with meridians Language: Deutsch · English

hammer and wrench Styles

Control appearance centrally – style hierarchy, default style and conditional styles.

Status
colourPurple
titleHow-to
Status
colourBlue
titleApplication developer
Status
colourGreen
titleStand: Jul 2026
Status
colourGrey
titlegilt fuer Nuclos 4.2026.x

Panel
bgColor#F4F5F7

Auf dieser Seite

Inhalt
maxLevel2
minLevel2

What are styles?

With styles you control the appearance of elements centrally – alignment, font, paragraph settings and more (Properties → Style tab).

Style hierarchy

Each style has at most one parent style and inherits its attributes unless set itself. Unset attributes always return a default value.

Selecting a parent style.

Default style

There can be exactly one default style (checkbox Default Style). It applies to all elements without their own style.

Conditional styles

Conditional styles are tied to a condition and created as a sub-element of a style (context menu → Create Conditional Style).

Example: red font when the field NAME has the value „FEHLER“:

  1. Set the text colour to red (Appearance → Forecolor).
  2. In the expression editor set the conditional expression ($F{NAME}.equals("FEHLER")).

Conditional style with a condition.

Related pages

printer Creating forms with Jaspersoft Studio


Forms.

Öffnen →

clipboard Formatting


Formatting.

Öffnen →