[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
ST_TextDirection (Text Flow Direction)
This simple type specifies the direction of the text flow for the parent object.
[Example: Consider an object in which text shall flow bottom to top vertically, and left to right horizontally. The btLr value in an element of type ST_TextDirection specifies that the text flow shall go bottom to top, and left to right. 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 |
btLr (Bottom to Top, Left to Right) |
Specifies that text in the parent object shall flow from bottom to top vertically, then from left to right horizontally on the page.
This means that vertical lines are filled before the text expands horizontally. |
lrTb (Left to Right, Top to Bottom) |
Specifies that text in the parent object shall flow from left to right horizontally, then top to bottom vertically on the page.
This means that horizontal lines are filled before the text expands vertically. |
lrTbV (Left to Right, Top to Bottom Rotated) |
Specifies that text in the parent object shall flow from left to right horizontally, then top to bottom vertically on the page.
This means that horizontal lines are filled before the text expands vertically.
This flow is also rotated such that any East Asian text shall be rotated 270 degrees when displayed on a page. |
tbLrV (Top to Bottom, Left to Right Rotated) |
Specifies that text in the parent object shall flow from top to bottom vertically, then left to right horizontally on the page.
This means that vertical lines are filled before the text expands horizontally.
This flow is also rotated such that all text is rotated 90 degrees when displayed on a page. |
tbRl (Top to Bottom, Right to Left) |
Specifies that text in the parent object shall flow from right to left horizontally, then top to bottom vertically on the page.
This means that horizontal lines are filled before the text expands vertically. |
tbRlV (Top to Bottom, Right to Left Rotated) |
Specifies that text in the parent object shall flow from top to bottom vertically, then right to left horizontally on the page.
This means that vertical lines are filled before the text expands horizontally.
This flow is also rotated such that all text is rotated 90 degrees when displayed on a page. |
Referenced By |
textDirection@val (§2.6.20); textDirection@val (§2.4.69); textDirection@val (§2.3.1.41) |
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_TextDirection">
<restriction base="xsd:string">
<enumeration value="lrTb"/>
<enumeration value="tbRl"/>
<enumeration value="btLr"/>
<enumeration value="lrTbV"/>
<enumeration value="tbRlV"/>
<enumeration value="tbLrV"/>
</restriction>
</simpleType>