On line guide/help
You are on page 40 of the online help. Navigate sequentially through the guide pages or search for a topic of interest to you.
Index Prev. NextText fit
Fit long texts into the box area
When a text is too large for the print area of a box, the text fit mode defines what to do. The mode can be set for a single box with the textfit attribute, or as default for the following boxes with the <textfit> element.
Text fit modes
Auto (default) The text is truncated, removing the last characters until it fits the print area. If not even one character fits, the whole text is printed with a smaller font.
Truncate The text is truncated. If not even one character fits, nothing is printed.
Resize The font is scaled down until the whole text fits the print area.
None The text is printed as it is, without truncating it and without scaling down the font.
Only the first letter is checked (A, T, R, N) and the value is case insensitive. A text longer than the box width is wrapped on more lines, so the height of the print area is also considered. The element can be written as <textfit>Resize</textfit> or as <textfit value="Resize" />.
Text fit examples