11.3.11 Numbering Definitions Part
Content Type:
application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml
Root Namespace:
http://purl.oclc.org/ooxml/wordprocessingml/main
Source Relationship:
http://purl.oclc.org/ooxml/officeDocument/relationships/numbering
An instance of this part type contains a definition for the structure of each unique numbering definition in this document.
[Example: If a set of paragraphs are added to a document which have a circle bullet at the first level, a square bullet at the second level, and a checkmark bullet at the third level, such as the following:
- First level
Second level
Third level
The numbering definition part contains the definition for each of these levels (their bullet style, indent, etc.) even if the second and third levels are not actually used in the document end example]
A package shall contain no more than two Numbering Definitions parts. If they exist, one instance of that part shall be the target of an implicit relationship from the Main Document (11.3.10) part, and the other shall be the target of an implicit relationship from the Glossary Document (11.3.8) part.
[Example:
<Relationships xmlns="…">
<Relationship Id="rId2"
Type="http://…/numbering" Target="numbering.xml"/>
</Relationships>
end example]
The XML markup for a list usage involves a reference to a numbering definition via the child elements of the numPr element.
[Example: Here we have a paragraph set using the style Text, followed by a list of things which have the paragraph style ListBullet, followed by another paragraph set using the style Text:
<w:p>
<w:pPr>
<w:pStyle w:val="Text"/>
</w:pPr>
<w:r>
<w:t>The kinds of fruit needed are:</w:t>
</w:r>
</w:p>
<w:p>
<w:pPr>
<w:pStyle w:val="ListBullet"/>
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="5" />
</w:numPr>
</w:pPr>
<w:r>
<w:t>Apples</w:t>
</w:r>
</w:p>
<w:p>
<w:pPr>
<w:pStyle w:val="ListBullet"/>
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="5" />
</w:numPr>
</w:pPr>
<w:r>
<w:t>Oranges</w:t>
</w:r>
</w:p>
<w:p>
<w:pPr>
<w:pStyle w:val="Text"/>
</w:pPr>
<w:r>
<w:t>Other items may be needed too.</w:t>
</w:r>
</w:p>
end example]
The root element for a Numbering Definition part shall be numbering, with each numbering definition being defined by an abstractNum element.
[Example:
<w:numbering xmlns:w="…">
<w:abstractNum w:numId="11">
<w:nsid w:val="394E2425"/>
<w:multiLevelType w:val="hybridMultilevel"/>
<w:tmpl w:val="F628E89A"/>
<w:lvl w:ilvl="0" w:tplc="151C4798">
<w:start w:val="1"/>
<w:numFmt w:val="bullet"/>
<w:pStyle w:val="ListBullet"/>
<w:lvlText w:val="…"/>
<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:rPr>
<w:rFonts w:ascii="Symbol" w:hAnsi="Symbol" w:hint="default"/>
</w:rPr>
</w:lvl>
…
</w:abstractNum>
</w:numbering>
end example]
A Numbering Definitions part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
A Numbering Definitions part is permitted to contain explicit relationships to the following parts defined by ISO/IEC 29500:
- Images (15.2.14)
A Numbering Definitions part shall not have any implicit or explicit relationships to any other part defined by ISO/IEC 29500.