[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

textDirection (Table Cell Text Flow Direction)

This element specifies the direction of the text flow for this table cell.

If this element is omitted on a given table cell, 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 table cell shall inherit the text flow settings from the parent section.

[Example: Consider a table with one cell in which all the table cell's text flow is top to bottom - right to left:

Text in this table cell

 

This table cell would specify this text flow using the following WordprocessingML:

<w:tc>

<w:tcPr>

<w:textDirection w:val="tbRl" />

</w:tcPr>

</w:tc>

The textDirection element specifies via the tbRl value in the val attribute that the text flow should go top to bottom, then right to left. end example]

Parent Elements

tcPr2.7.5.8); tcPr2.4.66); tcPr2.7.5.9); tcPr2.4.67)

 

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>

<w:textDirection w:val="btLr" />
</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 type2.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>