DoNotUseIndentAsNumberingTabStop Class

Ignore Hanging Indent When Creating Tab Stop After Numbering.When the object is serialized out as xml, its qualified name is w:doNotUseIndentAsNumberingTabStop.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

9.7.3.16 doNotUseIndentAsNumberingTabStop (Ignore Hanging Indent When Creating Tab Stop After Numbering)

This element specifies whether applications shall use the custom tab stop generated by the hanging indent (if any) when advancing the text after the numbering for a numbered paragraph.

Typically, a hanging indent on a paragraph creates a virtual custom tab stop at that location, and therefore a tab added after the numbering on a numbered paragraph by the suff element (Part 1, §17.9.29) shall advance to that tab stop, so that the text of the numbered paragraph begins at that location. This element, when present with a val attribute value of true (or equivalent), specifies that a tab stop added as the suffix to the numbering of a numbered paragraph shall ignore that virtual custom tab stop and shall instead advance to the next real tab stop (custom or automatic) on the current line.

[Example: Consider a WordprocessingML document with numbering, whose first level of numbering specifies a tab stop suffix, a hanging indent at 1", and a custom tab stop at 2":

<w:abstractNum w:abstractNumId="0">
…
<w:lvl w:ilvl="0">
<w:suff w:val="tab" />
<w:pPr>
<w:ind w:left="1440" w:hanging="1440" />
<w:tabs>
<w:tab w:val="2880" />
</w:tabs>
</w:pPr>
</w:lvl>
</w:abstractNum>

The default presentation of this document results in the tab stop generated by the numbering advancing to the virtual tab stop generated by the hanging indent at 1", as follows:

DocumentFormat.OpenXml.Wordprocessing.DoNotUseInde

However, if this compatibility setting is turned on:

<w:compat>
<w:doNotUseIndentAsNumberingTabStop />
</w:compat>

Then that tab suffix ignores the virtual tab stop of the hanging indent, so it must advance to the next custom tab stop on the line (at 2"), resulting in the following output:

DocumentFormat.OpenXml.Wordprocessing.DoNotUseInde

end example]

Parent Elements

compat (Part 1, §17.15.1.21)

This element’s content model is defined by the common boolean property definition in Part 1, §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

DoNotUseIndentAsNumberingTabStop Members

DocumentFormat.OpenXml.Wordprocessing Namespace