17.18.91 ST_TextAlignment

This simple type specifies the type of vertical alignment which shall be used to align the characters on each line in the parent object.

[Example: Consider a paragraph of text of different font sizes, as follows:

If the text on this paragraph must be aligned based on the top point of the maximum character height, that requirement would be specified as follows in the WordprocessingML:

<w:pPr>
  <w:textAlignment w:val="top" />
</w:pPr>

The resulting text would be top aligned, as follows:

image

The characters are all aligned to the maximum character extent on the line. end example]

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

This simple type is restricted to the values

listed in the following table:

Enumeration Value

Description

(Automatically Determine Alignment)

Specifies that all text in the parent object shall be aligned automatically when displayed.

(Align Text at Baseline)

Specifies that all text in the parent object shall be aligned to the baseline of each character when displayed.

Specifies that all text in the parent object shall be aligned to the bottom of each character when displayed.

Specifies that all text in the parent object shall be aligned to the center of each character when displayed.

Specifies that all text in the parent object shall be aligned to the top of each character when displayed.

[Note: The W3C XML Schema definition of this simple type’s content model (ST_TextAlignment) is located in A.1. end note]

Last updated on