w:pgNumType (Page Number Type)

Configures the page number format (decimal, roman, letter) and starting value for the section.

Parent elements

Description

w:pgNumType controls the page numbering style and starting value for a section. It is defined in ECMA-376 Part 1 §17.6.12.

This element specifies how page numbers are formatted (e.g. Arabic numerals, Roman numerals) and optionally at which number the section begins. Without w:pgNumType, the section continues the page count from the previous section.

Attributes

Attribute Type Possible Values Description
w:fmt ST_NumberFormat decimal (1, 2, 3…), upperRoman, lowerRoman, upperLetter, lowerLetter, none, etc. Number format for page numbers in this section.
w:start xsd:integer Non-negative integer. Starting page number value. Omit to continue from previous section.
w:chapSep ST_ChapterSep hyphen, period, colon, emDash, enDash Separator between chapter number and page number.
w:chapStyle xsd:integer 1–9 Heading level used as chapter number.

Examples

<!-- Restart at page 1 in lowercase Roman numerals -->
<w:pgNumType w:fmt="lowerRoman" w:start="1"/>