Nuclos Jasper styles: parent style, default style, conditional style, forecolor, expression editor, condition. |
Language: Deutsch · English
Control appearance centrally – style hierarchy, default style and conditional styles.
Auf dieser Seite |
With styles you control the appearance of elements centrally – alignment, font, paragraph settings and more (Properties → Style tab).
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.
There can be exactly one default style (checkbox Default Style). It applies to all elements without their own style.
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“:
$F{NAME}.equals("FEHLER")).
Conditional style with a condition.