DocumentID: ECMA-376/Part1/11.3.11
Title: ECMA-376, Part1: 11.3.11 Numbering Definitions Part
Extracted-From: ECMA-376 Office Open XML File Formats, 1st Edition / December 2006
Warning: Coverted to HTML format by a script known to have bugs

Navigation:

11.3.11 Numbering Definitions Part

Content Type:

application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml

Root Namespace:

http://schemas.openxmlformats.org/wordprocessingml/2006/main

Source Relationship:

http://schemas.openxmlformats.org/officeDocument/2006/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:

(second-level square bullet) Second level

(third-level checkmark bullet) Third level

The numbering definition part will contain 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="left"/>

      <w:pPr>
        <w:tabs>
          <w:tab w:val="list" w:pos="720"/>
        </w:tabs>
        <w:ind w:left="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 source relationship (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 this Standard:

A Numbering Definitions part shall not have any implicit or explicit relationships to any other part defined by this Standard.


Converted to HTML format by ooxmlspec2html 0.1, a Perl script provided by OpenISO.org.