docx
    Preparing search index...

    Function createPageNumberType

    • Creates page numbering settings (pgNumType) for a document section.

      This element specifies the page numbering format and starting value for all pages in a section.

      Reference: http://officeopenxml.com/WPSectionPgNumType.php

      <xsd:complexType name="CT_PageNumber">
      <xsd:attribute name="fmt" type="ST_NumberFormat" use="optional" default="decimal"/>
      <xsd:attribute name="start" type="ST_DecimalNumber" use="optional"/>
      <xsd:attribute name="chapStyle" type="ST_DecimalNumber" use="optional"/>
      <xsd:attribute name="chapSep" type="ST_ChapterSep" use="optional" default="hyphen"/>
      </xsd:complexType>

      Parameters

      Returns XmlComponent

      // Start page numbering at 5 with lowercase roman numerals
      createPageNumberType({
      start: 5,
      formatType: NumberFormat.LOWER_ROMAN
      });