A report can define a number of styles. Once defined, they can be associated with
report objects in order to provide base configuration for various visual aspects.
This allows to create reports with modular styling that can be easily
adapted to new requirements. JasperAssistant groups these definitions under a single
Styles node in the
Outline View. New styles
can be added by using the context menu associated to this node.
Styles can have associated conditional styles. Conditional styles allow to change the
style when an associated boolean expression is evaluated to
Conditional styles can be added by right-clicking on a defined style in the
Outline View and selecting the
Name of the report style definition as it is used to refer to the style throughout the report.
Name of the report style definition from which the style inherits its settings.
The foreground color of the object.
The background color of the object.
Determines whether the background of an object is transparent or opaque.
Line width used to draw the object.
Line style used to draw the object.
Solid - Solid line.
Dashed - Dashed line.
Dotted - Dotted line.
Double - Double line.
Line color used to draw the object.
Determines the fill pattern used to fill the object.
Solid - Solid fill.
Specifies the box properties such as border type, border color and padding. Each property can be set individually for each box side or globally for all sides.
Specifies the horizontal alignment of the
Left - Left.
Center - Center.
Right - Right.
Specifies the vertical alignment of the
Top - Top.
Middle - Middle.
Bottom - Bottom.
Specifies the image scale type.
Clip - The image is clipped if it does not fit
the bounds of the
Fill Frame - The image is scaled to fit the
bounds of the
Image object. The scaled image does
not preserve the aspect ratio.
Retain Shape - The image is scaled to fit the
bounds of the
Image object. The scaled image
preserves the aspect ratio.
Real Height - The image is scaled to fit the
actual height of the image.
Real Size - The image is scaled to fit the
actual size of the image.
Specifies the radius of the rectangle's corner arc.
Specifies the pattern that is used to format the value of the
Field's expression. For date type values the pattern is defined by
java.text.SimpleDateFormat class. For numerical type
values the pattern is defined by the
Blank When Null
Flag that indicates whether the blank character instead of
null should be displayed when the
Field's expression evaluates to a
Specifies the line spacing type for text objects.
Single - Single line spacing.
1 and 1/2 - One and a half line spacing.
Double - Double line spacing.
Specifies the rotation type for text objects.
None - No rotation.
Left - Text is rotated 90 degrees counter wise.
Right - Text is rotated 90 degrees clock wise.
Upside Down - Text is rotated 180 degrees.
Markup language used in the text.
None - No markup.
Styled - Styled text.
HTML - HyperText Markup Language.
RTF - Rich Text Format.
Name of the font.
Size of the font.
Strike through flag.
PDF Font Name
Name of the PDF font.
Encoding type to use with the PDF font.
Flag that specifies whether the PDF font should be embedded in the document.
Conditional Style Properties
Except a few differences,
Conditional Style shares the same
A boolean expression that provides the value that is used to decide whether the conditional style should be applied or not.