Table 1 lists supported layout attributes and their corresponding values. These are the attributes most commonly used to provide Bidi support. Each attribute has input and output values that can be specified for the layout transformation process. The default value for each attribute is indicated in the table.
A full list of attributes and values is available in X/Open Portable Layout Services: Context-dependent and Directional Text. Some attributes listed in Table 1 are specific to the z/OS implementation and are noted with an asterisk (*) symbol.
@ls <attribute_name1>=<input1>:<output1>,
<attribute_name2>=<input2>:<output2>...
@ls orientation=ltr:ltr,typeoftext=implicit:visual,
numerals=nominal:national, swapping=no:yes,
bidiroundtrip=true
Attribute Name | Attribute values | Modifier layout string names and values (@ls) | Description | |
---|---|---|---|---|
Orientation | ORIENTATION_CONTEXTUAL |
Name: | orientation= | The direction of the text. |
Values: | contextual |
|||
Context | CONTEXT_LTR (Default) |
Name: | context= | Contextual orientation when the orientation attribute is set to ORIENTATION_CONTEXTUAL |
Values: | ltr |
|||
TypeofText | TEXT_EXPLICIT |
Name: | typeoftext= | Type of the text. |
Values: | explicit |
|||
Swapping | SWAPPING_NO (Input default) |
Name: | swapping= | Specifies if symmetric swapping is enabled. |
Values: | no |
|||
Numerals | NUMERALS_CONTEXTUAL (Output |
Name: | numerals= | How numerals are shaped. (Only valid for Arabic.) |
Values: | contextual |
|||
TextShaping | TEXT_NOMINAL (Input default, |
Name: | shaping= | Specifies if text is to be shaped. (Only valid for Arabic.) |
Values: | nominal |
|||
ShapeCharset | IBM-1046 |
Name: | shapcharset= | Code set of the output buffer to result from layout transformation. |
Values | IBM-1046 |
|||
InputCharset* | IBM-1046 |
N/A | Code set of the input buffer to use in layout transformation. The default value is the code set of the loaded locale. | |
BidiRoundTrip* | BIDIROUNDTRIP_OFF (Default) |
Name: | bidiroundtrip= | Specifies if the Bidi roundtrip algorithm is enabled. To take proper effect, BidiRoundTrip must be enabled in both legs of the layout transformations that complete the roundtrip. |
Values: | false |