TabChar Class
Tab Character.When the object is serialized out as xml, its qualified name is w:tab.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.EmptyType
DocumentFormat.OpenXml.Wordprocessing.TabChar
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
Public Class TabChar _
Inherits EmptyType
'Uso
Dim instance As TabChar
public class TabChar : EmptyType
Remarks
[ISO/IEC 29500-1 1ª edición]
17.3.3.32 tab (Tab Character)
This element specifies that a tab character shall be placed at the current location in the run content. An tab is a character which is used to advance the position on the current line of text when displaying this WordprocessingML content, using the following logic:
When there are one or more custom tab stops defined using the tabs element (§17.3.1.38) , then the tab character shall advance to the next custom tab stop location which is further along than the starting location of the tab
When there are no custom tab stops which are further than the current position in the line, the tab character shall advance to the nearest multiple of the defaultTabStop element (§17.15.1.25) width value.
[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>
If a tab character was added to a run in this paragraph and appeared 1.4" along the line after all preceding content was laid out, then this tab would move the position to 1.5". If the tab character appeared 1.6" along the line after all preceding content was laid out, then this tab would move the position to 3.5". In both cases, the tab advanced to the next custom tab stop. end example]
Parent Elements |
---|
r (§22.1.2.87); r (§17.3.2.25) |
[Note: The W3C XML Schema definition of this element's content model (CT_Empty) is located in §A.1. end note]
© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.
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.