17.6.20 textDirection

This element specifies the direction of the text flow for this section.

[Example: Consider a document with a section in which text be oriented vertically, flowing from left to right horizontally on the page. This setting requires the following WordprocessingML:

<w:sectPr>
  <w:textDirection w:val="lr" />
</w:sectPr>

The textDirection element specifies via the lr value in the val attribute that the text flow be oriented vertically, with subsequent lines stacked from left to right. end example]

Attributes

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 must be oriented vertically, flowing from left to right horizontally on the page. This setting requires the following WordprocessingML:

  <w:sectPr>
    <w:textDirection w:val="lr" />
  </w:sectPr>

The textDirection element specifies via the lr value in the val attribute that the text flow must be oriented vertically, with subsequent lines stacked from left to right.end example]

The possible values for this attribute are defined by the ST_TextDirection simple type (17.18.93).

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

Last updated on