[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
textDirection (Paragraph Text Flow Direction)
This element specifies the direction of the text flow for this paragraph.
If this element is omitted on a given paragraph, its value is determined by the setting previously set at any level of the style hierarchy (i.e. that previous setting remains unchanged). If this setting is never specified in the style hierarchy, then the paragraph shall inherit the text flow settings from the parent section.
[Example: Consider a document with a paragraph in which text should flow bottom to top vertically, and left to right horizontally. This setting would be specified with the following WordprocessingML:
<w:pPr>
<w:textFlow w:val="btLr" />
</w:pPr>
The textFlow element specifies via the btLr value in the val attribute that the text flow should go bottom to top, and left to right. end example]
Parent Elements |
pPr (§2.7.4.2); pPr (§2.9.24); pPr (§2.3.1.25); pPr (§2.7.5.1); pPr (§2.3.1.26); pPr (§2.7.7.2) |
Attributes |
Description |
val (Direction of Text Flow) |
Specifies the direction of the text flow for this object.
[Example: Consider a document with a section in which text shall flow bottom to top vertically, and left to right horizontally. This setting requires the following WordprocessingML:
<w:sectPr>
The textDirection element specifies via the btLr value in the val attribute that the text flow shall go bottom to top, and left to right. end example]
The possible values for this attribute are defined by the ST_TextDirection simple type (§2.18.100). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_TextDirection">
<attribute name="val" type="ST_TextDirection" use="required"/>
</complexType>