17.9 Numbering
Numbering refers to symbols - Arabic numerals, Roman numerals, symbol characters (“bullets”), text strings, etc. - in WordprocessingML that are used to label individual paragraphs of text.
[Example: The following two paragraphs each contain numbering as defined by WordprocessingML: the first uses an Arabic numeral, the second a symbol character:
-
This is a paragraph with numbering information.
-
This is also a paragraph with numbering information.
end example]
The basis for all numbering in WordprocessingML is specified via two structures:
- abstract numbering definitions
- numbering definition instances
Abstract numbering definitions define the appearance and behavior of a specific set of numbered paragraphs in a document. Because this construct is abstract, they are not be directly referenced by document content, but rather they shall be inherited by a numbering definition instance, which itself is referenced by document content.
[Example: Consider the following example of an abstract numbering definition in a WordprocessingML document:
<w:abstractNum w:abstractNumId="4">
<w:nsid w:val="FFFFFF7F" />
<w:multiLevelType w:val="singleLevel" />
<w:lvl w:ilvl="0">
<w:start w:val="1" />
<w:lvlText w:val="%1." />
<w:lvlJc w:val="start" />
<w:pPr>
<w:tabs>
<w:tab w:val="num" w:pos="720" />
</w:tabs>
<w:ind w:start="720" w:hanging="360" />
</w:pPr>
</w:lvl>
</w:abstractNum>
This abstractNum element defines an abstract numbering definition which defines a set of numbering properties. It is inherited by any numbering definition instance which inherits from an abstractNumId equal to 4:
<w:num w:numId="2">
<w:abstractNumId w:val="4" />
</w:num>
This num element defines an numbering definition instance which can define overrides to the abstract numbering definition (in this case it does not), and is used by any paragraphs with a numId equal to 2:
<w:p>
<w:pPr>
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="2" />
</w:numPr>
</w:pPr>
<w:r>
<w:t>Level one</w:t>
</w:r>
</w:p>
The resulting paragraph inherits the properties of level 0 in the numbering definition instance of 2 which is simply a instance of the abstract numbering definition of 4. end example]
Subsections
- 17.9.1 abstractNum
- 17.9.2 abstractNumId
- 17.9.3 ilvl
- 17.9.4 isLgl
- 17.9.5 lvl
- 17.9.6 lvl
- 17.9.7 lvlJc
- 17.9.8 lvlOverride
- 17.9.9 lvlPicBulletId
- 17.9.10 lvlRestart
- 17.9.11 lvlText
- 17.9.12 multiLevelType
- 17.9.13 name
- 17.9.14 nsid
- 17.9.15 num
- 17.9.16 numbering
- 17.9.17 numFmt
- 17.9.18 numId
- 17.9.19 numIdMacAtCleanup
- 17.9.20 numPicBullet
- 17.9.21 numStyleLink
- 17.9.22 pPr
- 17.9.23 pStyle
- 17.9.24 rPr
- 17.9.25 start
- 17.9.26 startOverride
- 17.9.27 styleLink
- 17.9.28 suff
- 17.9.29 tmpl