Select page type

Each page can contain a number of regions, each controlled by a specific page type. For example, an element containing a large graphic or heading can switch from double column to single column layout within the current page. Changing the page type allows you to control how text is arranged on the page.

This control signals that the start tag for the element or custom marker triggers a page type change request. The composition engine examines the next tag or character from the input text stream and depending on the type of tag found, will either apply the page change immediately, or defer the page change request until it reaches a point in the pagination processing cycle where it is valid to apply a page change. The page change is deferred if the next tag in the input stream is another element or custom marker start tag. If the next tag or character is not an element or custom marker start tag, then the page change is applied immediately.

If for example, you create an empty custom marker (for example, <%PageChange/>) to request a page change and reference the <%PageChange/> custom marker from an end tag custom content. The page change will be applied by the %PageChange end tag mapping.

TopLeaf automatically forces a content break if the page orientation of the selected page type and the current page type are different. Please refer to the Layout Editor manual for more information on changing page types within a page.

[Note] Note

By default, content will be laid out using the 1 column page type. You can set a different initial page type when mapping the top level start tag of your document, or from a custom marker called at the end of the $document mapping.