Programming Interface

The following 16-bit functions are provided for application developers to use the bidirectional language support provided in OS/2 Version 2.0:

  • NlsQueryBidiAtt() returns the current bidirectional attributes that are in effect for the current screen group.

  • NlsSetBidiAtt() sets specific values in the bidirectional control blocks (per screen group).

  • NlsShapeBidiString() shapes or reshapes an Arabic string of specified length.

  • NlsEditshape() reshapes an Arabic character (typically in an input or editing sequence) based on the two preceding characters, or reshapes the current and surrounding characters after an editing function has been carried out.

  • NlsInverseString() inverts the sequence of characters in a specific string.

  • NlsConvertBidiNumerics() converts numerics in a string to Arabic character codes.

  • NlsConvertBidiString() converts a Bidi string conforming to a certain set of bidirectional attributes, to a form which conforms to a different set of bidirectional attributes.

  • NlsSetBidiPrint() associates a given set of Bidi attributes with a particular print file.


    [Back: Installation]
    [Next: Bidirectional User Interface]