DEPRECATION WARNING

This documentation is not using the current rendering mechanism and will be deleted by December 31st, 2020. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

TextViewHelper¶

Rendering text using the settings for text. It is possible to easily define different default styles and apply them using the type attribute, see chapter Text Types.

Basic Usage

<pdf:text>Title</pdf:text>
<pdf:text text="Alternative syntax"/>


<pdf:text
trim="0"
removeDoubleWhitespace="1"
color="#333"
fontFamily="arial"
fontSize="22"
fontStyle="bold"
lineHeight="1.5"
characterSpacing="0.2"
alignment="right"
paragraphSpacing="0"
paragraphLineFeed="1"
autoHyphenation="1"
padding="{top: 1, right: 0, bottom: 0, left: 0}"
width="80%"
>Title</pdf:text>