Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE UBiDiLevel U_EXPORT2 ubidi_getParaLevel ( const UBiDi pBiDi  ) 

Get the paragraph level of the text.

pBiDi is the paragraph or line UBiDi object.
The paragraph level. If there are multiple paragraphs, their level may vary if the required paraLevel is UBIDI_DEFAULT_LTR or UBIDI_DEFAULT_RTL. In that case, the level of the first paragraph is returned.
See also:


ubidi_getParagraphByIndex ICU 2.0

Definition at line 2102 of file ubidi.c.

    if(IS_VALID_PARA_OR_LINE(pBiDi)) {
        return pBiDi->paraLevel;
    } else {
        return 0;

Generated by  Doxygen 1.6.0   Back to index