17.4.1 bidiVisual

left direction. This

This element specifies that the cells with this table shall be visually represented in a right to 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 must 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:

Three

Two

One

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>
  <w:tc>
    <w:p/>
  </w:tc>
</w:tr>

The first logical cell with text visually. end example]

This element’s content model is defined by the common boolean property definition in 17.17.4.

Last updated on