w:lvlOverride (Level Override)
Overrides specific properties of a single level in a numbering instance without changing the abstract definition.
Parent elements
Child elements
Description
w:lvlOverride allows a concrete w:num instance to override the level properties defined in its referenced w:abstractNum for one specific level. It is defined in ECMA-376 Part 1 §17.9.8.
The w:ilvl attribute identifies which level is overridden. The override can restart the counter (via w:startOverride) or replace the entire level format (via a nested w:lvl).
Attributes
| Attribute | Type | Possible Values | Description |
|---|---|---|---|
w:ilvl |
ST_DecimalNumber |
0–8 |
The level index (0-based) being overridden. |
Examples
<!-- Restart numbering at 1 for level 0 in this instance -->
<w:num w:numId="2">
<w:abstractNumId w:val="0"/>
<w:lvlOverride w:ilvl="0">
<w:startOverride w:val="1"/>
</w:lvlOverride>
</w:num>
new NumberingInstance(
new AbstractNumId { Val = 0 },
new LevelOverride(
new StartOverrideNumberingValue { Val = 1 })
{ LevelIndex = 0 })
{ NumberID = 2 };