2018.1

Table Of Contents
requires setting the Connect-specific data-breakable attribute on all of its rows. You can either
open the Source tab, or write a script to replace each <tr> with <tr data-breakable="">. Note
that the effect will only be visible in Preview mode.
To set the number of widows and orphans for a table:
1. Open the Formatting dialog. To do this, you can:
l
Select the table using the breadcrumbs or the Outline pane (next to the Resources
pane) and then select Format > Table in the menu.
l
Right-click the paragraph and select Table... from the contextual menu.
2.
After Widows and Orphans, type the minimum number of table rows that should be kept
together.
Page breaks
A page break occurs automatically when the contents of a section don't fit on one page.
Inserting a page break
To insert a page break before or after a certain element, set the page-break-before property or
the page-break-after property of that element (a paragraph for example; see also "Styling text
and paragraphs" on page625):
1. Select the element (see "Selecting an element" on page526).
2.
On the Format menu select the respective element to open the Formatting dialog.
3.
In the Breaks group, set the before or after property.
l
Before: Sets whether a page break should occur before the element. This is
equivalent to the page-break-before property in CSS; see CSS page-break-before
property for an explanation of the available options.
l
After: Sets whether a page break should occur after the element. Equivalent to the
page-break-after property in CSS; see CSS page-break-after property for an
explanation of the available options.
Click the button Advanced to add CSS properties and values to the inline style tag directly.
Alternatively you could set this property on the Source tab in the HTML (for example: <h1
style="page-break-before: always;">), or add a rule to the style sheet; see "Styling your
templates with CSS files" on page619.
Page 403