When you establish preferences for Rich UI bidirectional
text, you provide initial values for the bidirectional settings that
are assigned to widgets as they are dragged from the palette and dropped
on the Design surface.
You can set these preferences only if you have enabled bidirectional
text as follows:
- From the main menu, click . The Preferences window
is displayed.
- Expand EGL and select Bidirectional
text. The Bidirectional text page is displayed.
- Select Enable bidirectional support. After
you select this check box, the other options are available.
- To display and edit the bidirectional text fields in visual mode,
which shows the way that the text will be displayed, select Enable
visual data ordering.
- For languages that read from right to left, select Enable
right-to-left orientation.
To set the Rich UI preferences:
- From the main menu, click . The Preferences window
is displayed.
- Expand EGL, Rich UI,
and Appearance; and click on Bidirectional
text. The Bidirectional text page is displayed.
- Establish the following settings:
- Widget Orientation
- The setting is either LTR (left-to-right)
or RTL (right to left):
- When you specify LTR, the widgets act as
a standard non-bidirectional widget
- When you specify RTL, the widgets are mirrored;
that is, scroll bars for lists appear on the left, the text-typing
orientation for input fields is right-to-left, and the text is right-aligned
- Text Layout
- The setting is either Visual or Logical:
- If the setting is Visual and someone types
"A" and then "B" (and if "A" and "B" are characters in a bidirectional
language), the displayed characters are "AB". The order of display
is the order of input, left to right, which is also the order in which
the data is stored in local memory.
- If the setting is Logical, the displayed
characters are "BA".
In most cases, Visual is appropriate
for Arabic or Hebrew content that is derived from a machine that runs z/OS® or IBM® i.
- Reverse Text direction
- This setting indicates whether to reverse the text direction in
the widget.
- Symmetric Swapping
- This setting indicates whether to replace pairs of special characters
and in this way to preserve the logical meaning of the presented text.
If the value is "Yes", paired characters such as <, >, [, and {
are replaced with >, <, ], and }.
- Numeric Swapping
- Set this setting to use Hindi numerals in Arabic text. To use
Hindi numerals, set numericSwap and reverseTextDirection to Yes.
- To return the settings on the Bidirectional text pane to the original
product settings, click Restore Defaults.
- To save your changes and remain on the Preferences window,
click Apply. To save your changes and exit
the window, click OK. To cancel your changes
and exit the window, click Cancel.