Tabs Class
Defines the Tabs Class.When the object is serialized out as xml, its qualified name is w:tabs.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Wordprocessing.Tabs
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(TabStop))> _
Public Class Tabs _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Tabs
[ChildElementInfoAttribute(typeof(TabStop))]
public class Tabs : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- TabStop <w:tab>
[ISO/IEC 29500-1 1st Edition]
17.3.1.38 tabs (Set of Custom Tab Stops)
This element specifies a sequence of custom tab stops which shall be used for any tab characters in the current paragraph.
If this element is omitted on a given paragraph, its value is determined by the setting previously set at any level of the style hierarchy (i.e. that previous setting remains unchanged). If this setting is never specified in the style hierarchy, then no custom tab stops shall be used for this paragraph.
As well, this property is additive - tab stops at each level in the style hierarchy are added to each other to determine the full set of tab stops for the paragraph. A hanging indent specified via the hanging attribute on the ind element (§17.3.1.12) shall also always implicitly create a custom tab stop at its location.
[Example: Consider a paragraph which contains two custom tab stops at 1.5" and 3.5", respectively. These two tab stops would be contained within a tabs element defining the set of tab stops of the paragraph as follows:
<w:pPr> <w:tabs> <w:tab w:val="left" w:pos="2160" /> <w:tab w:val="left" w:pos="5040" /> </w:tabs> </w:pPr>
The tabs element specifies all of the customized tab stops for the current paragraph. end example]
Parent Elements |
---|
pPr (§17.3.1.26); pPr (§17.3.1.25); pPr (§17.7.5.2); pPr (§17.7.6.1); pPr (§17.9.23); pPr (§17.7.8.2) |
Child Elements |
Subclause |
---|---|
tab (Custom Tab Stop) |
§17.3.1.37 |
[Note: The W3C XML Schema definition of this element’s content model (CT_Tabs) is located in §A.1. end note]
© 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.