Support for bidirectional content

You can author reports that support bidirectional content. You can specify base text direction, digit shaping, and container direction.

Arabic, Hebrew, Urdu, and Farsi are languages written from right to left, using the Arabic or Hebrew scripts. However, numbers in those languages, as well as embedded segments of Latin, Cyrillic, or Greek text, are written from left to right. Using the bidirectional settings in IBM® Cognos® Workspace Advanced, you can control the direction in this type of text in reports.

Report formats

Bidirectional content is supported for reports produced in HTML, PDF, and Microsoft Excel formats.

Enabling bidirectional support

To enable support for bidirectional languages when a report is run, in IBM Cognos Connection, users must open their My Preferences page and select the Enable bidirectional support check box.

To enable support for bidirectional languages when a report is run from Cognos Workspace Advanced, select the Enable bidirectional support check box in the Run Options window.

Tip: If you enable bidirectional support in Cognos Connection and you then start Cognos Workspace Advanced, the bidirectional support run option in Cognos Workspace Advanced is selected. If you disable bidirectional support in Cognos Connection and you then start Cognos Workspace Advanced, the run option in Cognos Workspace Advanced is cleared.

Base text direction

Base text direction sets the text direction as left-to-right or right-to-left. You can specify the base text direction for any text object in a report. You specify the base text direction for text by clicking the Direction & Justification property for the text or for the object that contains the text, such as a list column.

A contextual option also exists in the Direction & Justification property that sets the text direction based on the first letter in the text.

For compound objects that contain text, such as a chart, you specify the base text direction of the text contained in the object by clicking the Contained text direction property for the object.

Digit shaping

Digit shaping allows users to consume reports in the numeric shaping that they can read after they select the content language in IBM Cognos Connection. You can specify digit shaping at the following levels:

  • Report
  • Container (except for charts)
  • Text
  • Number

You specify digit shaping for an object by clicking the Data Format property for the object. To specify digit shaping at the report level, click the Default Data Formats option in the Data menu.

Tip: Digit shaping has no impact on reports produced in Excel format, since the shaping of digits in Excel depends on Windows regional settings.

Container direction

Container direction sets the direction of container objects in a report as left to right or right to left. You specify container direction for an object by clicking the Direction & Justification property for the object.

Tip: Container direction is not supported in reports produced in Excel format. Excel spreadsheets do not natively support mirroring at the container level.