NoTabHangIndent Class

Do Not Create Custom Tab Stop for Hanging Indent.When the object is serialized out as xml, its qualified name is w:noTabHangInd.

Inheritance Hierarchy


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


Public Class NoTabHangIndent _
    Inherits OnOffType
Dim instance As NoTabHangIndent
public class NoTabHangIndent : OnOffType


[ISO/IEC 29500-1 1st Edition] noTabHangInd (Do Not Create Custom Tab Stop for Hanging Indent)

This element specifies whether applications should always create a hanging indent as a custom tab stop when handling tabs within the contents of a WordprocessingML paragraph. The dontUseIndentAsNumberingTabStop element (§ specifies if this tab stop shall be used in the case of a tab added as the suffix to numbering in a numbered paragraph, while this element handles the same functionality in the generic case (i.e. this element, when set, renders that setting irrelevant as the tab stop is never used).

Typically, the hanging indent on a paragraph shall be treated as a custom tab stop location within that paragraph, allowing the first tab on the first line in the paragraph to advance to the location of the hanging indent. This element, when present with a val attribute value of true (or equivalent), specifies that no custom tab stop shall be created for a hanging indent on a line under any circumstances.

[Example: Consider a WordprocessingML document with two paragraphs (the second numbered, the first not), each with a 2" hanging indent defined as follows (assume the numbering suffix - not shown - is a tab character):

<w:ind w:left="2880" w:hanging="2880" />
<w:t>A 2"</w:t>
<w:t>hanging indent</w:t>
<w:ilvl w:val="0" />
<w:numId w:val="1" />
<w:ind w:left="2880" w:hanging="2880" />
<w:t>Text in a numbered paragraph.</w:t>

The default presentation would have both the numbering and the tab in the regular paragraph advancing to the 2" custom tab stop generated by the hanging indent:


However, if this compatibility setting is turned on:

<w:noTabHangInd />

Then no tab stop exists at 2", and therefore the tab stops must advance to the location of the next automatic tab stop for this document (which is set to occur every 0.5"), resulting in the following output:


end example]

Parent Elements

compat (Part 1, §

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


NoTabHangIndent Members

DocumentFormat.OpenXml.Wordprocessing Namespace