[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
bidiVisual (Visually Right to Left Table)
This element specifies that the cells with this table shall be visually represented in a right to left direction. This element also affects the application of all table-level properties.
When this property is specified, then the ordering of all cells (and table-level properties) in this table shall be applied to the table assuming that the table is a normal left to right table, but the table cells shall be displayed in a right to left direction. [Example: A left border on the first table cell shall be displayed on the right side of that cell (which would be the rightmost cell) in a visually right to left table. end example]
If this element is omitted, then the table shall not be presented right to left.
[Example: Consider the following table which has the logical right to left property set:
One |
Two |
Three |
|
|
|
|
|
|
|
|
|
This property would be specified in the WordprocessingML as follows:
<w:tblPr>
<w:bidiVisual/>
</w:tblPr>
Since the bidiVisual element specifies this is a visually right to left table, the actual table data would be stored in its logical order as follows:
<w:tr>
<w:tc>
<w:p>
<w:r>
<w:t>One</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:p>
<w:r>
<w:t>Two</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:p>
<w:r>
<w:t>Three</w:t>
</w:r>
</w:p>
</w:tc>
The first logical cell with text One is stored first in the file format, and displayed on the rightmost in this table visually. end example]
Parent Elements |
tblPr (§2.7.5.3); tblPr (§2.7.5.4); tblPr (§2.4.55); tblPr (§2.4.56) |
Attributes |
Description |
val (On/Off Value) |
Specifies a binary value for the property defined by the parent XML element.
A value of on, 1, or true specifies that the property shall be explicitly applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted.
A value of off, 0, or false specifies that the property shall be explicitly turned off.
[Example: For example, consider the following on/off property:
<w:… w:val="off"/>
The val attribute explicitly declares that the property is turned off. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_OnOff">
<attribute name="val" type="ST_OnOff"/>
</complexType>