Rational Developer for System z

Changing a file's bidirectional format

About this task

Each bidirectional file in the workspace can have a bidirectional format property associated with it. This property has two possible values: Default for logical or visual files or Smart logical for files created using the smart logical algorithm. You can use the Change file format window for the following purposes: To view and change a file's bidirectional format, do these steps:

Procedure

  1. Select a file in the Navigator and then select Change Bidi Format from the pop-up menu.
    Note: This action is available for local files only. You cannot perform this action for remote files.
  2. To change the bidirectional format property of the file, select the Change format property only radio button.
  3. To convert the file content to the required layout, select the Change file format radio button.
  4. To define current and target bidirectional layouts, select settings from the Source attributes and Target attributes areas. For each of these attribute sets, you can choose the following settings:
    Option Description
    Visual When this option is selected, the file uses visual layout. When it is clear, the file uses logical layout.
    RTL When this option is selected, the file uses right-to-left file orientation. When it is clear, the file uses left-to-right orientation.
    Symmetric Swap When this option is selected, certain characters such as ( > [ { are interchanged with ) < ] } to preserve the logical meaning of the presented text.
    Note: This option is enabled for Visual RTL files only.
    Numeric Swap When this option is selected, Arabic (European) digit shapes are interchanged with Hindi digit shapes. This option toggles the file between Arabic (European) and Hindi numbers. If the file includes Arabic numbers and you select this check box, Arabic numbers are converted to Hindi. If the file includes Hindi numbers they are converted to Arabic.
    Note: This option is enabled for Visual RTL files only.
    When the source and target settings for a particular attribute are the same, but conversion is requested, the file layout is toggled from smart logical to logical or from logical to smart logical.

What to do next


Feedback