KeepTogether
Last updated
Was this helpful?
The <keepTogether>tag tries to keep two elements together. This means when there is a page break both elements would move to the next page. This is approximate, so it sometimes will not work.
It can only be used within a <body>.
...
<keepTogether>
<text>Headline of the following table
</text>
<table>
<tr>
<td>SOME LONG TEXT</td>
</tr>
</table>
</keepTogether>
...spaceBefore (optional)Space before the group in pt, mm or cm.
spaceAfter (optional)Space after the group in pt, mm or cm.
A <keepTogether> can contain: <checkbox>, <columns>, <field>, <image>, <line>, <rect>, <space>, <table>, and <text>.
Last updated
Was this helpful?
Was this helpful?
