Share via


IsLegalNumberingStyle Class

Display All Levels Using Arabic Numerals.When the object is serialized out as xml, its qualified name is w:isLgl.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.IsLegalNumberingStyle

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class IsLegalNumberingStyle _
    Inherits OnOffType
'Usage
Dim instance As IsLegalNumberingStyle
public class IsLegalNumberingStyle : OnOffType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.9.4 isLgl (Display All Levels Using Arabic Numerals)

This element specifies whether or not all previous levels displayed for a given numbering level's text shall be displayed using the decimal number format, regardless of the actual number format of that level in the list. [Note: This numbering style is often referred to as the legal numbering style. end note]

If this element is present, then all numbering levels present in the lvlTxt element (§17.9.12) shall be converted to their decimal equivalents when they are displayed in this level in the numbering format. If this element is omitted, then each level is displayed using the numFmt (§17.9.18) of that level.

[Example: Consider the numbering set below. In this set of blank numbered paragraphs, three numbering levels have been used and the third has the isLgl property applied, resulting in the following:

A
A.a
A.b
1.2.1
1.2.2
B
B.a
2.1.1

As shown above, each number in the third level in the list has been converted to its decimal equivalent. The WordprocessingML necessary to turn on the legal numbering rule for the third numbering level is given below:

<w:lvl w:ilvl="2">
  …
  <w:isLgl />
  …
</w:lvl>

end example]

Parent Elements

lvl (§17.9.6); lvl (§17.9.7)

This element’s content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

IsLegalNumberingStyle Members

DocumentFormat.OpenXml.Wordprocessing Namespace