发明名称 Method system and computer program product for storing bi-directional language data in a text string object for display on non-bidirectional operating systems
摘要 For languages requiring bidirectional (left-to-right and right-to-left) text display support, a multi-field text string object encapsulates both a normal logical ordered version of the text string entered and a reverse ordered version in separate fields. A bidirectional-support property of the multi-field text string object is set based on whether the host system supports bidirectional text displays. In response to a display request, the multi-field text string object checks the bidirectional-support property. If bidirectional text display is supported, the multi-field text string object sets the field containing the normally-ordered character sequence for the text string as the display field. If bidirectional text display is not supported, the multi-field text string object sets the field containing the reverse-ordered character sequence for the text string as the display field. Display controls receiving the normally-ordered character sequence should display the text string with the proper directionality (right-to-left). Display controls receiving the reverse-ordered character sequence will display the display field contents with the incorrect directionality (left-to-right) but, as a result of the character sequence reversal, will effectively display the text string with the proper directionality. Bidirectional text may thus be displayed on systems which do not support bidirectional text display, using only conventional, left-to-right only directional display controls.
申请公布号 US6493735(B1) 申请公布日期 2002.12.10
申请号 US19980211815 申请日期 1998.12.15
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 KUMHYR DAVID BRUCE
分类号 G06F17/21;G06F17/28;(IPC1-7):G06F17/30 主分类号 G06F17/21
代理机构 代理人
主权项
地址