Main Content

DOCX Page Layout

Page layout in a Word report

Description

This component generates a page layout definition for a section of a Microsoft® Word report. The page layout definition specifies the size and orientation of pages in the section, the sizes of the section’s page margins, and the format and starting value of the section’s page numbers.

You can create instances of this component interactively or from report templates. For more information, see Define Page Layouts in a Form-Based Report Setup.

Page Numbering

  • First page number: Number of the first page in this page layout section.

    • Auto: The number of the first page of this layout. If you are using a template, the value is the first page number defined in the template from which this layout was generated. If you create this layout interactively, numbering continues from the previous page layout section.

    • Specify: Specify the first page number as an integer.

  • Page number format: Format of the page numbers in this page layout section:

    • None: Use Arabic numerals, the default formatting for page numbers.

    • Lowercase alphabetic

    • Uppercase alphabetic

    • Lowercase Roman numerals

    • Uppercase Roman numerals

    • Arabic numerals

    • Number with dashes

    • Hebrew numerals

    • Hebrew alphabetic

    • Arabic alphabetic

    • Arabic abjad numerals

    • Thai letters

    • Thai numerals

    • Thai counting system

  • Section break: Where to start this section:

    • Same Page: Start this page layout on the same page as the last page of the previous section.

    • Next Page: Start this page layout on a new page immediately following the last page of the previous section.

    • Odd Page: Start this page layout on a new page, immediately after the last page of the previous section. If the previous section ended on an odd page, insert an empty page at the end of the last section.

    • Even Page: Start this page layout on a new page, immediately after the last page of the previous section. If the previous section ended on an even page, insert an empty page at the end of the previous section.

Page Margin Options

  • Page Margin:

    • Auto: If this layout component was generated from a template, use the margin values specified by the template. Otherwise, use default values.

    • Specify: Specify the size of the page margins in the form valueUnits. Use any of these values for units:

      • "px" — pixels

      • "cm" — centimeters

      • "in" — inches

      • "mm" — millimeters

      • "pc" — picas

      • "pt" — points

  • Top: Size of top page margin. The default value is 1in.

  • Bottom: Size of bottom page margin. The default value is 1in.

  • Left: Size of left page margin. The default value is 1in.

  • Right: Size of right page margin. The default value is 1in.

  • Header: Size of header area. The default value is 0.5in.

  • Footer: Size of footer area. The default value is 0.5in.

  • Gutter: Size of gutter (area for binding pages). The default value is 0px.

Page Size Options

  • Page Size: If this layout component was generated from a template, selecting Auto uses the values specified in the template. Otherwise, selecting Auto uses default values.

    Select Specify to enter your own page height, width, or orientation. Specify the units in the form valueUnits. Use any of these values for units:

    • "px" — pixels

    • "cm" — centimeters

    • "in" — inches

    • "mm" — millimeters

    • "pc" — picas

    • "pt" — points

Class

rptgen.cform_docx_page_layout