Better documents with two new attributes
To produce a nice document, you need to respect some typesetting rules and fundamentals. For example, the grammar, spelling, and structure of your document shows the quality of your text. One of these rules concerns the distribution of paragraphs and tables over multiple pages.
4D Write Pro offers you two options to manage paragraph distribution:
- Avoid page break inside paragraphs or tables, and
- Avoid widows and orphans for paragraphs or tables.
Let’s dig into more details.
Page layout in 4D Write Pro
When creating a 4D Write Pro document, you need to define the page size, orientation, and margins. Starting with v17 R3, you can do all this by programming. And for that, new attributes are at your disposal.
Create headers and footers with code in a 4D Write Pro document
Since v16 R5, it’s been possible to access and modify an existing header and footer by programming. If you want to add a header and footer to your 4D Write Pro document, you use a template to do so!
If you’re not a fan of templates, good news! With 4D v17 R3, you can create a header and a footer by programming for a given section.
Manage sections with code in a 4D Write Pro document
Want a different background per section? Or maybe a different margin per section? How about a different number of columns per section? Want to do all this with code?
With 4D v17 R3, you can manipulate sections with code to create complex and beautiful 4D Write Pro documents!