[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
lvl (Numbering Level Definition)
This element specifies the appearance and behavior of a numbering level within a given abstract numbering definition. A numbering level contains a set of properties for the display of the numbering for a given numbering level within an abstract numbering definition.
A numbering level definition is identical to a numbering level override definition, except for the fact that it is defined as part of a numbering definition instance using the abstractNum element (§2.9.1) rather than as part of an abstract numbering definition using the num element (§2.9.16).
[Example: Consider the WordprocessingML below:
<w:abstractNum w:abstractNumId="4">
<w:nsid w:val="1DE04504" />
<w:multiLevelType w:val="hybridMultilevel" />
<w:lvl w:ilvl="0" w:tplc="0409000F">
...
</w:lvl>
<w:lvl w:ilvl="1" w:tplc="04090019">
...
</w:lvl>
<w:lvl w:ilvl="2" w:tplc="04090019">
...
</w:lvl>
<w:lvl w:ilvl="3" w:tplc="0409000F">
...
</w:lvl>
...
</w:abstractNum>
This example shows that any paragraph whose numbering properties use the ilvl elements with the attribute val set equal to 0, 1, 2, or 3 will have the appearance and behavior of their first four numbered levels specified by the lvl elements given above (assuming that no level overrides have been specified). end example]
Parent Elements |
abstractNum (§2.9.1) |
Child Elements |
Subclause |
isLgl (Display All Levels Using Arabic Numerals) |
§2.9.4 |
§2.9.5 | |
lvlJc (Justification) |
§2.9.8 |
lvlPicBulletId (Picture Numbering Symbol Definition Reference) |
§2.9.10 |
lvlRestart (Restart Numbering Level Symbol) |
§2.9.11 |
lvlText (Numbering Level Text) |
§2.9.12 |
numFmt (Numbering Format) |
§2.9.18 |
pPr (Numbering Level Associated Paragraph Properties) |
§2.9.24 |
§2.9.25 | |
§2.9.26 | |
start (Starting Value) |
§2.9.27 |
§2.9.30 |
Attributes |
Description |
ilvl (Numbering Level) |
Specifies the numbering level definition that is to be defined by this set of numbering properties.
This override is a zero-based index of the number of list levels in the document. [Example: A value of 2 is the 3rd list level in the document. end example]
[Example: Consider the following WordprocessingML for a numbering definition instance:
<w:num w:numId="6"> <w:lvlOverride w:ilvl="0"> … </w:num>
In this example, the first numbering level definition (with an ilvl of 0) within the referenced abstract numbering definition will be overridden. end example]
The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
tentative (Tentative Numbering) |
Specifies that a given numbering level was been saved by a producer but was not used in the parent document. This means that this numbering level may be redefined by a future consumer without changing the actual content of the document.
A value of on, 1, or true for this attribute value specifies that the numbering level is not used in the current document's contents.
A value of off, 0, or false for this attribute value specifies that the numbering level is used in the parent document and cannot be redefined without changing its contents. This is the default value for this attribute, and is implied when this attribute is omitted.
[Example: Consider the following WordprocessingML numbering level:
<w:lvl w:ilvl="0" w:tentative="on" > ... </w:lvl>
This level has the tentative attribute set to on, therefore the contents of this numbering level have not been used in the document and may be redefined by a consumer as desired. end example]
If this attribute is equal to on, 1, or true, the WordprocessingML for a given document will contain the numbering level information associated with this numbering level, but the 'tentative' numbering level(s) shall not be represented in any of the hosting application's user interface pertaining to numbering levels.
The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
tplc (Template Code) |
Specifies a unique hexadecimal value which may be used to specify a location within an application's user interface in which this numbering level shall be displayed. The method by which this value is interpreted shall be application-defined.
If this attribute is omitted, then this numbering may be displayed in any location chosen by the consumer.
[Example: Consider the following abstract numbering definition:
<w:abstractNum w:abstractNumId="1" w:tplc="04090019"> … </w:abstractNum>
In this example the abstractNum element with attribute abstractNumId equal to 1, would appear in the area within a consumer's application user interface specified by the template code 04090019.end example]
The possible values for this attribute are defined by the ST_LongHexNumber simple type (§2.18.57). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Lvl">
<sequence>
<element name="start" type="CT_DecimalNumber" minOccurs="0"/>
<element name="numFmt" type="CT_NumFmt" minOccurs="0"/>
<element name="lvlRestart" type="CT_DecimalNumber" minOccurs="0"/>
<element name="pStyle" type="CT_String" minOccurs="0"/>
<element name="isLgl" type="CT_OnOff" minOccurs="0"/>
<element name="suff" type="CT_LevelSuffix" minOccurs="0"/>
<element name="lvlText" type="CT_LevelText" minOccurs="0"/>
<element name="lvlPicBulletId" type="CT_DecimalNumber" minOccurs="0"/>
<element name="legacy" type="CT_LvlLegacy" minOccurs="0"/>
<element name="lvlJc" type="CT_Jc" minOccurs="0"/>
<element name="pPr" type="CT_PPr" minOccurs="0"/>
<element name="rPr" type="CT_RPr" minOccurs="0"/>
</sequence>
<attribute name="ilvl" type="ST_DecimalNumber" use="required"/>
<attribute name="tplc" type="ST_LongHexNumber" use="optional"/>
<attribute name="tentative" type="ST_OnOff" use="optional"/>
</complexType>