Administration > Language Support > Controlling Directionality in a Document > Element directionality
Element directionality
ArbortextEditor supports an attribute that enables you to set the directionality of elements in your document type. The attribute that controls directionality must be specified in your .dcf file and included in your document type. The directionality attribute has two allowed values:
ltr — indicates that the element should be displayed left-to-right in the Edit pane.
rtl — indicates that the element should be displayed right-to-left in the Edit pane.
You can add the directionality attribute to the block elements in your document type where you want to control the element directionality. When ArbortextEditor encounters a tag pair with the directionality attribute set, that element is displayed in the Edit pane appropriately for the indicated directionality. The value of this attribute overrides the overall document directionality when those values differ. Child elements inherit their directionality from their parent element.
You must set the directionality of a table at the outermost table element. You cannot change the direction of individual table rows. However, you can change the direction of paragraphs or similar elements in individual table cells. Operations such as Table > Insert > Column Left insert table elements literally to the left or right of the current column or cell regardless of the current table directionality. Similarly, the alignment of text in table cells is literal rather than dependent on the current table directionality. Nested tables inherit their directionality from the containing table, but you can override that directionality at the outermost element of the nested table.