次の方法で共有


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

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

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

Syntax

'宣言
Public Class NoTabHangIndent _
    Inherits OnOffType
'使用
Dim instance As NoTabHangIndent
public class NoTabHangIndent : OnOffType

Remarks

[ISO/IEC 29500-1 初版]

9.7.3.31 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 (§9.7.3.16) 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:p>
<w:pPr>
<w:ind w:left="2880" w:hanging="2880" />
</w:pPr>
<w:r>
<w:t>A 2"</w:t>
<w:tab/>
<w:t>hanging indent</w:t>
</w:r>
</w:p>
<w:p>
<w:pPr>
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="1" />
</w:numPr>
<w:ind w:left="2880" w:hanging="2880" />
</w:pPr>
<w:r>
<w:t>Text in a numbered paragraph.</w:t>
</w:r>
</w:p>

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:

DocumentFormat.OpenXml.Wordprocessing.NoTabHangInd

However, if this compatibility setting is turned on:

<w:compat>
<w:noTabHangInd />
</w:compat>

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:

DocumentFormat.OpenXml.Wordprocessing.NoTabHangInd

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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

NoTabHangIndent Members

DocumentFormat.OpenXml.Wordprocessing Namespace