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
'宣言
Public Class DoNotUseIndentAsNumberingTabStop _
Inherits OnOffType
'使用
Dim instance As DoNotUseIndentAsNumberingTabStop
public class DoNotUseIndentAsNumberingTabStop : OnOffType
Remarks
[ISO/IEC 29500-1 初版]
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:
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:
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.