U_CAPI void U_EXPORT2 ubidi_setLine (const UBiDi *pParaBiDi, UTextOffset start, UTextOffset limit, UBiDi *pLineBiDi, UErrorCode *pErrorCode) ubidi_getLine()sets aUBiDito contain the reordering information, especially the resolved levels, for all the characters in a line of text
ubidi_getLine()sets aUBiDito contain the reordering information, especially the resolved levels, for all the characters in a line of text. This line of text is specified by referring to aUBiDiobject representing this information for a paragraph of text, and by specifying a range of indexes in this paragraph.In the new line object, the indexes will range from 0 to
limit-start.This is used after calling
ubidi_setPara()for a paragraph, and after line-breaking on that paragraph. It is not necessary if the paragraph is treated as a single line.After line-breaking, rules (L1) and (L2) for the treatment of trailing WS and for reordering are performed on a
UBiDiobject that represents a line.Important:
pLineBiDishares data withpParaBiDi. You must destroy or reusepLineBiDibeforepParaBiDi. In other words, you must destroy or reuse theUBiDiobject for a line before the object for its parent paragraph.
0<=start<=limit<=paragraph length.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de