Elementname: NewPage

Description

Finishes the current page and creates a new one (only if new material for the page is available).

Allowed attributes: openon, pagetype, skippagetype

Child elements: (none)

Parent elements: AtPageCreation, AtPageShipout, Case, Contents, ForAll, Loop, Otherwise, Record, SavePages, Until, While

Attributes

openon (optional)

The next current page will be a left or a right page. E.g. when on page 1 and openon="right" then page 2 is empty and the next current page is 3.

left:

The next objects will be placed on a left page.

right:

The next objects will be placed on a right page.

pagetype (text, optional)

The name of the next page type that should be used.

skippagetype (text, optional)

The pagetype of the blank page if inserted (see the attribute openon).

Example

<Record element="data">
  <PlaceObject>
    <Textblock>
      <Paragraph><Value>This is page 1</Value></Paragraph>
    </Textblock>
  </PlaceObject>
  <NewPage openon="right"/>
  <PlaceObject>
    <Textblock>
      <Paragraph><Value>And this is page 3</Value></Paragraph>
    </Textblock>
  </PlaceObject>
</Record>

See also

Pagetype

Commands

Version: 3.5.9 | Start page | Command reference | Other language: German