[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_TabJc (Custom Tab Stop Type)

This simple type specifies the available types of custom tab stop, which determines the behavior of the tab stop and the alignment which shall be applied to text entered at the current custom tab stop.

[Example: Consider a custom tab stops at 1.5" in a WordprocessingML document. This tab stop would be contained within a tab element defining the tab stop as follows:

<w:tab w:val="left" w:pos="2160" />

The val attribute specifies that this custom tab stop shall align all text entered at its location to its left. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

bar (Bar Tab)

Specifies that the current tab is a bar tab. A bar tab is a tab which does not result in a custom tab stop in the parent paragraph (this tab stop location shall be skipped when positioning custom tab characters), but instead shall be used to draw a vertical line (or bar) at this location in the parent paragraph.

center (Centered Tab)

Specifies that the current tab stop shall result in a location in the document where all following text is centered (i.e. all text runs following this tab stop and preceding the next tab stop shall be centered around the tab stop location).

clear (No Tab Stop)

Specifies that the current tab stop is cleared and shall be removed and ignored when processing the contents of this document.

decimal (Decimal Tab)

Specifies that the current tab stop shall result in a location in the document where all following text is aligned around the first decimal character in the following text runs.

 

All text runs before the first decimal character shall be before the tab stop, all text runs after it shall be after the tab stop location.

left (Left Tab)

Specifies that the current tab stop shall result in a location in the document where all following text is left aligned (i.e. all text runs following this tab stop and preceding the next tab stop shall be left aligned with respect to the tab stop location).

num (List Tab)

Specifies that the current tab is a list tab, which is the tab stop between the numbering and the paragraph contents in a numbered paragraph.

 

[Note: This justification style is used for backwards compatibility with earlier word processors, and should be deprecated in favor of hanging paragraph indentation. end note]

right (Right Tab)

Specifies that the current tab stop shall result in a location in the document where all following text is right aligned (i.e. all text runs following this tab stop and preceding the next tab stop shall be right aligned with respect to the tab stop location).

 

Referenced By

tab@val2.3.1.37)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_TabJc">

   <restriction base="xsd:string">

   <enumeration value="clear"/>

   <enumeration value="left"/>

   <enumeration value="center"/>

   <enumeration value="right"/>

   <enumeration value="decimal"/>

   <enumeration value="bar"/>

   <enumeration value="num"/>

   </restriction>

</simpleType>