[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_PTabAlignment (Absolute Position Tab Alignment)

This simple type specifies the alignment of an absolutely positioned tab character in a document. This alignment value determines the position on the line to which this absolute tab shall advance, as well as the alignment of the text entered after the alignment tab character position.

[Example: Consider a positional tab stop in a WordprocessingML document who shall move to the left edge of the text margins and whose subsequent text should be left aligned. This positional tab stop would be defined as follows:

<w:ptab w:alignment="left" w:relativeTo=”margin” … />

The alignment attribute has a value of left, which specifies that this custom tab stop shall align on the left edge of the line relative to the text margin. 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

center (Center)

Specifies that the positional tab should be center aligned on the line relative to the specified base (the text margins with or without indents), and that the text at that location shall be center aligned.

left (Left)

Specifies that the positional tab should be left aligned on the line relative to the specified base (the text margins with or without indents), and that the text at that location shall be left aligned.

right (Right)

Specifies that the positional tab should be right aligned on the line relative to the specified base (the text margins with or without indents), and that the text at that location shall be right aligned.

 

Referenced By

ptab@alignment2.3.3.22)

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

<simpleType name="ST_PTabAlignment">

   <restriction base="xsd:string">

   <enumeration value="left"/>

   <enumeration value="center"/>

   <enumeration value="right"/>

   </restriction>

</simpleType>