shape-field

Returns a shape value from a specified field on the current record.

Attributes

Attributes

Description

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

draw

Defines, whether the outline of the shape found in the defined field should be drawn.

Type: Boolean
Default Value: false

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.

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.awt.Shape objects.

fill

Defines, whether the shape should be filled.

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

name

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

Type: String

stroke-style

Defines how the lines of the shape get drawn.

Type: String
Default Value: solid
Predefined Values: solid | dashed | dotted | dot-dash | dot-dot-dash

visible

Sets whether the object will be printed.

Default Value: top
Values: top | middle | bottom

weight

Sets whether the object will be printed.

Type: Boolean
Default Value: true

width

Set the horizontal width of the object.

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.