12.1S03
New function for inserting conditional page breaks in Branded Prints
The new function inserts a page break into a document if less than the specified space remains on a page and any selected text area would not fit completely on the page.
Can be used as an expression in text templates or lists
Text, tables, images etc are first assembled, then the dynamic columns of tables are adjusted and the table of contents is created. The items in the document should now be stable.
Now search for the conditional page breaks, add more if needed and refresh the table of contents (new page numbers) if necessary.
Next any images on the page are added, which may result in new pages.
Examples
Wanted: Insert a page break if there is less than 50mm space left on a page
Conditional Page Break(50)
Result: If there is less than 50mm space on the page at the position of this printout, the expression is replaced by a page break, otherwise it is deleted.
Wanted: Insert a page break if there is less than 50mm space left on a page and the text area "AreaA" does not fit completely on the page
Expression "Conditional Page Break(50;"BereichA")" is set at the beginning and end of AreaA
Result: By using the same ID twice, we can delimit the area and then set the wrap on the first expression if the minimum space is not met AND the beginning and end are no longer on the same page.