Skip to main content
Pentaho Documentation

Text Styles

Font styles control the font and font properties pertaining to the text of the selected element.

For elements that control colors, possible values are standard HTML color names (red, blue, green, black, etc.) or hexadecimal color values (#000000, #FFFFFF, #CCFF00, etc.)

Property Name Data Type Purpose
h-align Selection Horizontally aligns the selected content within this element
v-align Selection The size of the font, in points (1/72 of an inch)
v-align-in-band Selection A 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 A 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