17.9.17 numFmt
This element specifies the number format that shall be used to display all numbering at this level in the numbering definition. This information is used to replace the level text string %x, where x is a particular one- based level index, with the appropriate value unless the numFmt value is bullet, in which case the literal text of the level text string is used. This value shall be calculated by counting the number of paragraphs at this level since the last restart using the numbering system defined in the val attribute.
When a document has a custom number format specified by the format attribute, it shall use the referenced number format. If the referenced number format cannot be resolved as a number format the consumer shall use the number format specified by the value of the val attribute. If the corresponding value of the val attribute is custom, the result is implementation-defined.
If this element is omitted, the level shall be assumed to be of level type decimal.
[Example: Consider the following WordprocessingML fragment for a numbering level in a numbering definition:
<w:lvl w:ilvl="2">
<w:start w:val="1" />
<w:numFmt w:val="lowerRoman" />
<w:lvlRestart w:val="0" />
<w:lvlText w:val="%3)" />
<w:lvlJc w:val="start" />
<w:pPr>
<w:ind w:start="1080" w:hanging="360" />
</w:pPr>
<w:rPr>
<w:rFonts w:hint="default" />
</w:rPr>
</w:lvl>
A numFmt value of lowerLetter indicates that a consumer must use lowercase letters for all numbering of this level: a,b,c… end example]
Attributes
val (Numbering Format Type)
Specifies the number format that shall be used for all numbering in the parent object.
[Example: A value of lowerLetter indicates that a consumer must use lowercase letters for each number in this grouping: a,b,c… end example]
The possible values for this attribute are defined by the ST_NumberFormat simple type (17.18.59).
format (Custom Defined Number Format)
Specifies a custom number format using the syntax defined by the XSLT format attribute. This format shall be used for all numbering in the parent object.
[Example: A value of ア indicates that a consumer must use Katakana numbering. end example]
The possible values for this attribute are defined by the ST_String simple type (22.9.2.13).
[Note: The W3C XML Schema definition of this element’s content model (CT_NumFmt) is located in A.1. end note]