XpressDox Help Center

Use Google To Find Help Fast, e.g. xpressdox choosefromlist


Press Getting Started in the XpressDox toolbar for basic template development
Watch the tutorial videos
View command help from list of commands
Press F1 for help on a command in the Command Editor
Email support@xpressdox.com for assistance

Working with Page Breaks


Working with Page Breaks

Using a page break in a template is fairly straightforward, even when the page break is conditional. In other words, when the page break is to be included or excluded on the basis of an <<If>> command.

For example:

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

<<If(Type = ‘Long’)>>……………………………Page Break………………………………………………….
<<Else()>>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin pharetra nonummy pede. Mauris et orci.<<End()>>

Aenean nec lorem. In porttitor. Donec laoreet nonummy augue.

This will work as expected (as against strange side effects if you were to use a section break to achieve a new page).

Sometimes XpressDox might ask you to put an <<If>> and an <<End>> on two separate paragraphs, whereas they are separated by a page break. The is because a page break in Word® is not regarded as starting a new paragraph.

A sample template demonstrating how to use a Page Break and <<ForEach()>> command together is in the template Repeating-PageBreak.xdtpl in the My Documents\XpressDox\Samples folder.

Leave a Reply