BiDiVisual Class

Defines the BiDiVisual Class.When the object is serialized out as xml, its qualified name is w:bidiVisual.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffOnlyType
        DocumentFormat.OpenXml.Wordprocessing.BiDiVisual

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

声明
Public Class BiDiVisual _
    Inherits OnOffOnlyType
用法
Dim instance As BiDiVisual
public class BiDiVisual : OnOffOnlyType

Remarks

[ISO/IEC 29500-1 第 1 个版本]

17.4.1 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 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:

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

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 (§17.4.60); tblPr (§17.4.59); tblPr (§17.7.6.4); tblPr (§17.7.6.3)

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

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

BiDiVisual Members

DocumentFormat.OpenXml.Wordprocessing Namespace