You can use an EGL wizard to create a bidirectional runtime
file.
To use the wizard, follow these steps:
- Click . The New window
opens.
- Click to expand EGL, then click Bidi
Format Configuration.
- Click Next. The Bidi Format Configuration
window opens.
- Under Enter or select the parent folder,
enter the name folder where you want to create the file. The directory
must be in the classpath for the application that uses it.
- For File name, enter a name for the bidirectional
runtime file. The name must have the .xml extension.
- Click Next. The Runtime Bidi settings page
opens.
- To provide bidi settings for code generation, set the following
fields under Runtime Text attributes:
- Ordering Scheme
- Equivalent to the bidiInput property
(see bidiInput).
Select one of the following values:
- Implicit (default)
- If you want to store bidi characters in the order in which they
are typed. "Implicit" has the same meaning as "logical," and is used
here for consistency with the bidirectional conversion table (see Working with bidirectional data).
- Visual
- If you want to store bidi characters in the order in which they
appear on the screen (this option is provided for historical reasons).
- Text Orientation
- Equivalent to the orientation property
(see orientation).
Select one of the following values:
- LTR (default)
- If you want the fields to display in left-to-right orientation.
- RTL
- If you want the fields to display in right-to-left orientation.
- Symmetric Swapping
- Equivalent to the symmetricSwapping property
(see symmetricSwapping).
Select one of the following values:
- Yes (default)
- If you want to enable symmetric swapping.
- No
- If symmetric characters are already swapped.
Note: The default value here is the opposite of the default value
of the symmetricSwapping property.
- Numerals
- Determines the way that digits display inside forms. Select one
of the following values:
- Nominal (default)
- All digits display in nominal form (known as Arabic numerals in
English).
- National
- All digits display in national form (known as Hindi numerals
in Arabic).
- Contextual
- Digits display according to the preceding data. If the preceding
data is Arabic, digits display in national form. Otherwise, digits
display in nominal form.
- Any
- Digits display as stored, with no modifications.
- Encoding
- Select the appropriate encoding from the following list:
- UnicodeBig (default)
- UnicodeBigUnmarked
- UnicodeLittle
- UnicodeLittleUnmarked
- UTF-8
- To provide bidi settings for the Java™ runtime
environment, set the following fields under Java Emulator
Configuration:
- Symmetric Swapping
- Equivalent to the symmetricSwapping property
(see symmetricSwapping).
Select one of the following values:
- Yes (default)
- If you want to enable symmetric swapping.
- No
- If symmetric characters are already swapped.
Note: The default value here is the opposite of the default value
of the symmetricSwapping property.
- Numeric Swapping
- Equivalent to the numericSwapping property
(see numericSwapping).
Select one of the following values:
- Yes (default)
- If you want to enable numeric swapping.
- No
- If numeric characters are already swapped.
Note: The default value here is the opposite of the default value
of the numericSwapping property.
- Click Finish. The table is displayed
for editing. Save and close the window when you have finished.