Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Unknown macro: {scrollbar}

This section defines content that will be printed for each data row.

Items Definition

Report Section

XML Syntax

Description

Details/Items

<items>
</items>

Prints data rows. If no details/items band is defined, only printing is disabled. All calculations are performed regardless of the appearance of the items. Accepts the same attributes as all other bands.

In the default case, the number of itembands printed corresponds to the number of rows in the tablemodel. If the tablemodel is empty, no itembands will be generated (but all other header and footer will be printed).

Items Attributes

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 the 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.

Type: Boolean
Default Value: false

fixed-position

Defines the absolute postion on the page where the band should be printed. If the current cursor position is before that y-position, then empty space is added. If the current position is after that y-position, the band is printed on the next page (on that y-position).

excel-wrap-text

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

Type: Boolean
Default Value: true

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 bold.

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
Default: If no height is specified, then height will be determine by all the objects contained.

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

pagebreak-after-print

Page break after printing details section.

Type: Boolean
Default Value: false

pagebreak-before-print

Page break before printing details section.

Type: Boolean
Default Value: false

reserve-literal

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

Type: String
Default value: "..."

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

  • No labels