Page numbers, breaks and multi-page documents
Page furniture and break controls. Page configuration in the DocStudio designer user guide.
Multi-page documents
When flow content does not fit one page it continues on the next page, in Print and PDF output. The canvas shows one continuous page. A fixed region is never split.
Page numbers
Add a Pg number (page number) to the footer. Use Page {n} of {total}. See Page number.
Header and footer
They repeat on every page. See Header and footer.
Page breaks
Every element has a break setting with three options:
| Option | Effect |
|---|---|
| before | Start a new page before the element |
| after | Start a new page after the element |
| inside | auto or avoid: allow or avoid breaking inside the element |
Set break in the JSON tab on the element (the inspector does not show a field for it). For tables, use Row breaks in Table options.
See the pages
Download the PDF to see real page breaks. The Print view in the browser uses the same page rules.
Limits
- The canvas does not simulate page breaks.
- The number of pages is known only to the PDF engine, so
{total}shows 1 in the Screen preview.