Style properties reference
You can click on any element, and the Style pane will adjust to show all of the available style properties, listed by group.
Every report element can be customized according to the following parameters:
Font styles
Font styles control the font and font properties pertaining to the text of the selected element.
Property Name | Data Type | Purpose |
family | Selection | The name of the font or font family |
font-size | Integer | The size of the font, in points (1/72 of an inch) |
bold | Boolean | A flag indicating whether a bold-type face should be used |
italics | Boolean | A flag indicating whether an italic or oblique type face should be used |
underline | Boolean | A flag indicating whether the text should be underlined |
strikethrough | Boolean | A flag indicating whether the text should be rendered strikethrough |
smooth | Selection | A flag indicating whether text-aliasing should be activated |
embed | Boolean | A flag indicating whether the font information should be embedded into the target document |
Text styles
Text styles control the font and font properties pertaining to the text of the selected element.
Property Name | Data Type | Purpose |
h-align | Selection | Horizontally aligns the selected content within this element |
v-align | Selection | Vertically aligns the selected content within this element |
v-align-in-band | Selection | An extended text-alignment that allows fine control on how inline-text is aligned within a line |
text-wrap | Boolean | A flag indicating whether text will automatically wrap at the end of the line |
text-color | Selection | The text (foreground) color. |
bg-color | Selection | The element's background color. |
line-height | Integer | Defines the height of a single text line. Is always greater or equal to the font size |
overflow-text | String | A text quote that is printed if the given text does not fully fit into the element bound |
trim | Boolean | A flag indicating whether leading and trailing white spaces will be removed |
trim-whitespace | Selection | Controls how the renderer treats white spaces |
bg-ext | String | An extended foreground paint property. Expert option |
encoding | Boolean | Specifies the target text-encoding for the given field, in case the output supports per-field encodings |
Text Spacing styles
Text spacing styles control the amount of space between letters and words in a textual element.
Property Name | Data Type | Purpose |
character | Integer | The minimum space between two letters |
word | Integer | Defines additional spacing between words |
preferred-character | Integer | The preferred space between two letters |
max-character | Integer | The maximum space between two letters |
Padding styles
Padding styles control the space around the selected element.
Property Name | Data Type | Purpose |
top | Decimal | Defines the padding on the top edge of the element |
bottom | Decimal | Defines the padding on the bottom edge of the element |
left | Decimal | Defines the padding on the left edge of the element |
right | Decimal | Defines the padding on the right edge of the element |
Object styles
Object styles control the appearance of shape elements.
Property Name | Data Type | Purpose |
fill | Boolean | A flag indicating whether the given shape should be filled. |
fill-color | Selection | Defines alternative fill-colors. If undefined, the foreground color is used. |
draw-outline | Boolean | Defines whether the shape-outline should be drawn in the foreground color. |
stroke | Selection | Defines the stroke (pen type and width) that should be used to render a shape. |
anti-alias | Boolean | Defines whether drawable content should be rendered with anti-aliasing enabled. |
aspect-ratio | Boolean | A flag indicating whether the scaling should preserve the aspect ratio. |
scale | Boolean | A flag indicating whether the content printed in the element should be scaled to fit the element's boundaries. |
Size and Position styles
Size and Position styles control the size and position of the selected element.
Property Name | Data Type | Purpose |
height | Decimal | The element's preferred height. If defined, this overrides all other height definitions including the dynamic-height flag |
width | Decimal | The preferred width. If defined, this width overrides all other layout rules |
x | Decimal | The X-Coordinate where the element should be placed |
y | Decimal | The Y-Coordinate where the element should be placed |
visible | Boolean | A flag indicating whether the element will be printed |
invisible-consumes-space | Boolean | A flag indicating whether an element set to visible maintains its space |
dynamic-height | Boolean | A flag indicating whether the field should expand its height based on the content it contains |
min-height | Decimal | The element's minimum height |
max-height | Decimal | The element's maximum height |
min-width | Decimal | The element's minimum width |
max-width | Decimal | The element's maximum width |
x-overflow | Boolean | Defines whether content can overflow the element's layout box to the right |
y-overflow | Boolean | Defines whether content can overflow the element's layout box to the bottom |
fixed-position | String | (Group elements only) Shifts the band to a fixed position on the page |
layout | String | (Band elements only) The layout strategy for elements in bands. See Report Layout Types for more information on layout options. |
box-sizing | Selection | Specifies the border-model to use |
Links styles
Links styles control the properties of any HTML links created from any report element.
Property Name | Data Type | Purpose |
pdf-bookmark | String | (Band elements only) Adds bookmark to PDF outputs |
html-anchor | String | The name of an anchor (link-target) embedded in the HTML outputs |
url | String | The destination URL |
url-tool-tip | String | Hyperlink title that is displayed as tooltip |
url-window-title | String | The window where the link should be opened |
Excel styles
Excel styles control XLS output options.
Property Name | Data Type | Purpose |
sheet-name | String | The title of the sheet/table generated in table exports |
format-override | String | Override setting that provides Excel-specific cell formats |
formula-override | String | Override setting that provides a formula to print in the generated Excel-cell instead of the original content |
wrap-text | Boolean | Override setting that defines whether Excel cells should have text-wrapping enabled |
Sparkline styles
Sparkline styles control the colors of the various sparkline chart types.
Property Name | Data Type | Purpose |
low-color | Selection | Defines the color of the lower value on a pie sparkline |
medium-color | Selection | Defines the color for midrange values on a pie sparkline |
high-color | Selection | Defines the color of the higher value on pie and bar sparklines |
last-color | Selection | Defines the color of the last value in a series on a bar sparkline, and the line color on a line sparkline |
Page Behavior styles
Page Behavior styles control page display and rendering properties of the selected element when publishing to a page-aware file format.
Property Name | Data Type | Purpose |
display-on-first-page | Boolean | (Band elements only) If true, only displays this band on the first page |
display-on-last-page | Boolean | (Band elements only) If true, only displays this band on the last page |
repeat-header | Boolean | (Header and footer elements only) If true, repeats this header or footer on every printed page |
page-break-after | Boolean | If true, a page break will occur after this element |
page-break-before | Boolean | If true, a page break will occur before this element |
sticky | Boolean | If true, imports page-header/footer and the repeated group-header/footer from the master report into sub-reports |
avoid-page-break | Boolean | If true, cancels a predefined (through a formula or function) page break |
orphan | Integer | Defines the minimum number of elements or lines at end of the page before a page break can occur within the band or paragraph |
widows | Integer | Defines the minimum number of elements or lines at the beginning of the page before a page break can occur within the band or paragraph |
Border styles
Border styles control the color, texture, and size of the border around the selected element.
Property Name | Data Type | Purpose |
top-size | Integer | Specifies the size (in pixels) of the top border segment |
top-style | Selection | Specifies the line style of the top border segment |
top-color | Selection | Specifies the color of the top border segment |
top-left-round-height | Integer | Specifies the degree of vertical roundness (in pixels) of the top left border corner |
top-left-round-width | Integer | Specifies the degree of horizontal roundness (in pixels) of the top left border corner |
top-right-round-height | Integer | Specifies the degree of vertical roundness (in pixels) of the top right border corner |
top-right-round-width | Integer | Specifies the degree of horizontal roundness (in pixels) of the top right border corner |
bottom-size | Integer | Specifies the size (in pixels) of the bottom border segment |
bottom-style | Selection | Specifies the line style of the bottom border segment |
bottom-color | Selection | Specifies the color of the bottom border segment |
bottom-left-round-height | Integer | Specifies the degree of vertical roundness (in pixels) of the bottom left border segment |
bottom-left-round-width | Integer | Specifies the degree of horizontal roundness (in pixels) of the bottom left border segment |
bottom-right-round-height | Integer | Specifies the degree of vertical roundness (in pixels) of the bottom right border segment |
bottom-right-round-width | Integer | Specifies the degree of horizontal roundness (in pixels) of the bottom right border segment |
left-color | Selection | Specifies the color of the left border segment |
left-size | Integer | Specifies the size (in pixels) of the left border segment |
left-style | Selection | Specifies the line style of the left border segment |
right-color | Selection | Specifies the color of the right border segment |
right-size | Integer | Specifies the size (in pixels) of the right border segment |
right-style | Selection | Specifies the line style of the right border segment |
break-color | Selection | Specifies the color of the border segment that closes an element that is cut short by a page break |
break-style | Selection | Specifies the color of the border segment that closes an element that is cut short by a page break |
break-size | Integer | Specifies the color of the border segment that closes an element that is cut short by a page break |