Skip to content

Tag Definition: condPageBreak

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

height

required

None

suppressFirst

implied

None

['yes', 'no', '0', '1']

Can contain
EMPTY

Purpose

This lets you specify a condition upon which the page should break into a new one if there isn't a certain amount of space left available.

See the relevant rml sample here. See the relevant docs here.

Example usage

<story>
    <spacer length="600"/>
    <para>The conditional page break comes in here and is set for 3 inches.</para>
    <condPageBreak height="3in"/>
    <para>The page has now split.</para>
</story>

Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.

Example of nesting path from the parent tags to the current tag

<document> ➔ <story> ➔ <condPageBreak>