[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
lvlRestart (Restart Numbering Level Symbol)
This element specifies a one-based index which determines when a numbering level should restart to its start value (§2.9.27). A numbering level restarts when an instance of the specified numbering level, which shall be higher (earlier than the this level) is used in the given document's contents.
If this element is omitted, the numbering level shall restart each time the previous numbering level is used. If the specified level is higher than the current level, then this element shall be ignored. As well, a value of 0 shall specify that this level shall never restart.
[Example: Consider a set of numbered paragraphs in a WordprocessingML document where numbering level with ilvl of 2 is set to never restart:
<w:start w:val="1" />
<w:lvlText w:val="%1)" />
<w:pPr>
<w:ind w:left="360" w:hanging="360" />
</w:pPr>
<w:rPr>
</w:rPr>
</w:lvl>
<w:start w:val="1" />
<w:numFmt w:val="upperLetter" />
<w:lvlText w:val="%2)" />
<w:pPr>
<w:ind w:left="720" w:hanging="360" />
</w:pPr>
<w:rPr>
</w:rPr>
</w:lvl>
<w:start w:val="1" />
<w:numFmt w:val="lowerRoman" />
<w:lvlRestart w:val="0">
<w:lvlText w:val="%3)" />
<w:pPr>
<w:ind w:left="1080" w:hanging="360" />
</w:pPr>
<w:rPr>
</w:rPr>
</w:lvl>
Since the lvlRestart element is omitted in numbering level 1 (a,b,…), the numbering level restarts after numbering level 0 (1,2,…) is used. Numbering level two (i, ii, iii …) never restarts as lvlRestart has a val equal to 0. An example of the resulting content would be as follows:
1) Level one
a) Level two
i) Level three
ii) Level three
2) Level one
a) Level two
iii) Level three
iv) Level four
The resulting set of paragraphs has level two restarting to its start value after each level one (after 2), the next level two is again a)), but level three never restarts and continues at iii) even after the use of a level two and one. end example]
Parent Elements |
Attributes |
Description |
val (Decimal Number Value) |
Specifies that the contents of this attribute will contain a decimal number.
The contents of this decimal number are interpreted based on the context of the parent XML element.
[Example: Consider the following numeric WordprocessingML property of type ST_DecimalNumber:
<w:… w:val="1512645511" /> The value of the val attribute is a decimal number whose value must be interpreted in the context of the parent element. end example]
The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_DecimalNumber">
<attribute name="val" type="ST_DecimalNumber" use="required"/>
</complexType>