w:numFmt (Number Format)
Specifies the number format for a level: decimal, lowerLetter, upperRoman, bullet, etc.
Parent elements
Description
w:numFmt specifies the numbering format for a list level or for page numbers. It is defined in ECMA-376 Part 1 §17.9.17 (list levels) and §17.10.21 (page numbering).
The value controls how the sequence counter is rendered in the label text (via %n placeholders in w:lvlText).
Attributes
| Attribute | Type | Possible Values | Description |
|---|---|---|---|
w:val |
ST_NumberFormat |
decimal (1, 2, 3…), upperLetter (A, B, C…), lowerLetter (a, b, c…), upperRoman (I, II, III…), lowerRoman (i, ii, iii…), bullet (literal character from w:lvlText), ordinal (1st, 2nd…), cardinalText (one, two…), none (no numbering), chicago, ideographDigital, japaneseLegal, koreanDigital, hebrew1, hebrew2, arabicAbjad, arabicAlpha, decimalEnclosedCircle, decimalFullWidth, decimalHalfWidth, decimalZero, and many more. |
The numbering sequence format. |
Examples
<!-- Standard decimal numbered list -->
<w:numFmt w:val="decimal"/>
<!-- Bullet list (uses literal character from lvlText) -->
<w:numFmt w:val="bullet"/>
new NumberingFormat { Val = NumberFormatValues.Decimal };
new NumberingFormat { Val = NumberFormatValues.Bullet };