Change text direction

The direction (LTR or RTL) of a structured document is defined in the associated structured appli­cation. If the structured application supports document direction, you can change the direction of the text in supported elements in the document.

To change the direction of the text of an element:

1)Select the element in the Structure View.

2)Open the Attributes editor and change the dir attribute.

FrameMaker provides out-of-the-box direction support for DITA topics (topic, task, concept, and reference). However, you can create your own structured application with direction support.

FrameMaker now includes a new direction property. That you can use in your structured applica­tion.

For example, you can create a read-write rule such as the following to specify that the FrameMaker direction property maps to the structured document dir attribute:

attribute "dir"{ is fm attribute; is fm property direction;}

note:    If you change the direction attribute of an element in a non-DITA XML file, the direction of the contents does not immediately change. You will need to close and open the XML file to reflect the changes.

For more details on adding direction support to your own structured applications, see the FDK Programmer’s Guide.


September 30, 2016

Legal Notices | Online Privacy Policy