directionAdded by IBM on August 8, 2013 | Version 1 (Original)
|Defines the direction of plain and rich text in items. This is typically used when working with bidirectional languages, such as Arabic and Hebrew.
Sets direction for text in the Label option of Check and Radio items, and text in value options for other items. This affects both plain and rich text.
This option only works on text. To affect other features of the item, such as border, itemlocation, and so on, use the orientation option.
Table 1. direction parameters
|status||ltr||Toggle ltr (Left-To-Right) to change the direction of text.|
|rtl||Toggle rtl (Right-To-Left) to change the direction of text.|
button, check, combobox, field, label, list, popup, radio, richtext
The following is an example of an Arabic form (xml:lang="ar-SA") using the direction option to enable left-to-right text entry in a field item that is within an otherwise right-to-left oriented form. The label of the field is displayed right-to-left, but the text value of the e-mail address is entered and displayed left-to-right.
- Default: Per parent's orientation. If not set, the direction is defaulted to ltr (Left-To-Right).
- If a bidirectional language is specified, and the orientation option is set, text style such as color, bold, and so on are ignored.