RecAPI
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Modules Pages
Right-to-left language support

CSDK supports recognition of RTL languages: Arabic and Hebrew. These languages render text from right to left, while embedded English text and numbers are rendered from left to right. The result is bidirectional text combining different logical reading orders. CSDK supports this ordering: it returns text in logical (reading) order. This is true both for the returned LETTER array and the exported text.

Table cells are returned from left to right. Text inside cells is returned in logical order (i.e. RTL for Arabic/Hebrew text and LTR for embedded English text and numbers).

In case of RTL languages the document's global reading order applied by CSDK is RTL. It means that when a line includes text from both RTL and LTR languages the correct display in text viewers (e.g. Notepad) can be achieved by enabling the viewer's "Right to Left Reading Order" property.

The order of characters is almost always suitable for further processing without modification. For the rare cases when you need more control, the R_RTLTEXT makeup bit of the LETTER array is provided.