DefineTextformat
Define text formatting instructions. A textformat is used to align and indent text and create margins and rules before and after the text.
Allowed attributes: alignment, border-bottom, border-top, break-below, indentation, margin-bottom, margin-top, name, orphan, padding-top, rows, widow
Child elements: (none)
Determines the formatting of the text.
justified: |
Textblock has a rectangular shape. |
leftaligned: |
The text is ragged at the right margin. |
rightaligned: |
The text is ragged right at the left margin. |
centered: |
The text is ragged at the left and the right margin. |
The thickness of the rule below the text.
The thickness of the rule above the text.
(Dis-)Allow break below the text.
The amount of indentation.
Distance between the bottom rule and the text of the next paragraph.
Distance between the top rule and the text of the previous paragraph.
Name of the textformat that is used later in the layout.
If no, prohibit orphans (first line of paragraph is on the previous page). Default: no.
Distance between the top of the text and the top rule.
The number of rows with indentation given in the attribute indentation. If the number is negative, this determiens the number of rows that are not indented.
If no, prohibit widows (last line of paragraph is on the next page). Default: no.
The textformats text, centered, left and right are predefined. They stand for justified, centered, left aligned and right aligned text.
<DefineTextformat name="text with indentation" alignment="justified" indentation="1cm"/> <Record element="..."> <PlaceObject> <Textblock width="10" textformat="text with indentation"> <Paragraph> <Value>Text ...</Value> </Paragraph> </Textblock> </PlaceObject> </Record>