Export (0) Print
Expand All

BiDi class

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

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

public class BiDi : OnOffType

[ISO/IEC 29500-1 1st Edition]

bidi (Right to Left Paragraph Layout)

This element specifies that this paragraph shall be displayed from right to left. This property only affects the following set of paragraph-level properties:

  • ind (§17.3.1.12)

  • jc (§17.3.1.13)

  • tab (§17.3.1.37)

  • textDirection (§17.3.1.41)

This setting alone does not affect the ordering of text within the paragraph – see the rtl element (§17.3.2.30) for a detailed description.

[Example: Consider a paragraph with the bidi property set as follows:

<w:p>
    <w:pPr>
      <w:bidi/>
    </w:pPr>
    …
</w:p>

This paragraph direction is now right to left, which means that all paragraph properties are displayed right to left (e.g. the paragraph marker glyph (if any) is displayed on the right, and indentation for the first line of the paragraph occurs on the right side of the page). end example]

Parent Elements

pPr (§17.3.1.26); pPr (§17.3.1.25); pPr (§17.7.5.2); pPr (§17.7.6.1); pPr (§17.9.23); pPr (§17.7.8.2)

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

[ISO/IEC 29500-1 1st Edition]

bidi (Right to Left Section Layout)

This element specifies that this section shall be presented using a right-to-left page direction. This property only affects section-level properties, and does not affect the layout of text within the contents of this section.

[Example: Consider a section with the bidi property set as follows:

<w:sectPr>
  …
  <w:bidi/>
</w:sectPr>

This section direction is now right-to-left, which means that all section level properties are displayed right-to-left (e.g., page numbers are displayed on the right of text; columns are populated from right-to-left). However, the layout of text is determined by properties applied at the text level. end example]

Parent Elements

sectPr (§17.6.17); sectPr (§17.6.18); sectPr (§17.6.19)

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

© ISO/IEC29500: 2008.

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

Community Additions

Show:
© 2014 Microsoft