Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Attributes

Description

alignment

Sets the horizontal justification of the text based on a defined width.

Type: String
Default Value: left
Values: left | center | right

color

Sets the font color by using RGB-triplet (#ffffff for white; #ff0000 for red, etc) or from list of the predefined colors below.

Type: String
Default Value: black
Predefined Values: black | blue| cyan | darkGray | gray | green | lightGray | magenta | orange | pink | red | white | yellow

dynamic

A dynamic element increases the height of the element to fit the content of that element. Computing that dynamic height is expensive, so use it with care.

excel-format

When outputting to Excel, use another date/number format. The format is excel-specific and defined in the Excel-Help. If it is invalid, the resulting excel file might be unreadable. . If no format is specified here, the Java format string is used (as defined by the 'format' attribute).

Type: String

excel-wrap-text

When outputting to Excel, sets the text to word wrap.

Type: Boolean
Default Value: true

fieldname

The fieldname defines the name of the column of the tablemodel or the name of the function/expression/report property from where to read the data. The field must contain java.util.Date objects.

format

Defines the formatting of the date field based on the Date Formatting Table.
mmm
MMM dd, yyyy = Dec. 25, 2005
mm/dd/yy = 12/25/05
mm/dd/yy h:m = 12/25/05 8:00 am

font-embedded

Specifies the font to embed into the PDF file.

Type: Boolean
Default Value: false

font-encoding

Specifies the encoding to be used for the PDF.

Type: String

fontname

Sets the font name.

Type: String

fontsize

Sets the font size.

Type: Integer

fontstyle

Sets font style. This is a shortcut for defining fsbold and fsitalic.

Type: String
Values: plain | bold | italic | bolditalic

fsbold

Sets font to italics.

Type: Boolean
Default Value: false

fsitalic

Sets font to italics.

Type: Boolean
Default Value: false

fsstrikethr

Sets font to strikethrough.

Type: Boolean
Default Value: false

fsunderline

Sets font to underline.

Type: Boolean
Default Value: false

height

Determines the minimum height. Value is a whole number where each increment is equivalent to 1/72 of an inch or percentage.

Type: Integer
The height is requred. If the height is smaller than the font size, no content is printed.

href

Sets a hyperlink for the section.

Type: String

line-height

The height of a single text line in text elements. If the line-height is set and is greater than the font size, extra padding will be added between the lines making text more readable.

Type: Integer

name

Used to reference the element later. Functions pick up elements by their name.

Type: String

nullstring

If the value read from the given field is null or is no instance of 'java.util.Date', replace with a predefined value.

reserve-literal

Determines the text printed when the text does not fit completely into an element.

Type: String
Default value: "..."

styleClass

 

trim-text-content

Defines, whether leading and trailing whitespaces of the generated lines get removed. Important for a clean layout.

Type: Boolean
Default Value: true

vertical-alignment

Sets the vertical position of the text.

Default Value: top
Values: top | middle | bottom

visible

Sets whether the object will be printed.

Type: Boolean
Default Value: true

width

Set the horizontal width of the object. This attribute is required. If no width is given, nothing gets printed.

x

Defines the horizontal starting position an object defined by a value or percentage.

y

Defines the vertical starting position of an object defined by a value or percentage.

...

Date Formatting Table

Include Page
Reporting:Date Formatting TableReporting:
Date Formatting Table