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

UBiDiReorderingMode values indicate which variant of the Bidi algorithm to use.

See also:
ubidi_setReorderingMode ICU 3.6
Enumerator:
UBIDI_REORDER_DEFAULT  Regular Logical to Visual Bidi algorithm according to Unicode. This is a 0 value. ICU 3.6
UBIDI_REORDER_NUMBERS_SPECIAL  Logical to Visual algorithm which handles numbers in a way which mimicks the behavior of Windows XP. ICU 3.6
UBIDI_REORDER_GROUP_NUMBERS_WITH_R  Logical to Visual algorithm grouping numbers with adjacent R characters (reversible algorithm). ICU 3.6
UBIDI_REORDER_RUNS_ONLY  Reorder runs only to transform a Logical LTR string to the Logical RTL string with the same display, or vice-versa.
If this mode is set together with option UBIDI_OPTION_INSERT_MARKS, some Bidi controls in the source text may be removed and other controls may be added to produce the minimum combination which has the required display. ICU 3.6
UBIDI_REORDER_INVERSE_NUMBERS_AS_L  Visual to Logical algorithm which handles numbers like L (same algorithm as selected by ubidi_setInverse(TRUE).
See also:
ubidi_setInverse ICU 3.6
UBIDI_REORDER_INVERSE_LIKE_DIRECT  Visual to Logical algorithm equivalent to the regular Logical to Visual algorithm. ICU 3.6
UBIDI_REORDER_INVERSE_FOR_NUMBERS_SPECIAL  Inverse Bidi (Visual to Logical) algorithm for the UBIDI_REORDER_NUMBERS_SPECIAL Bidi algorithm. ICU 3.6
UBIDI_REORDER_COUNT  Number of values for reordering mode. ICU 3.6

Definition at line 656 of file ubidi.h.

                                 {
    /** Regular Logical to Visual Bidi algorithm according to Unicode.
      * This is a 0 value.
      * @stable ICU 3.6 */
    UBIDI_REORDER_DEFAULT = 0,
    /** Logical to Visual algorithm which handles numbers in a way which
      * mimicks the behavior of Windows XP.
      * @stable ICU 3.6 */
    UBIDI_REORDER_NUMBERS_SPECIAL,
    /** Logical to Visual algorithm grouping numbers with adjacent R characters
      * (reversible algorithm).
      * @stable ICU 3.6 */
    UBIDI_REORDER_GROUP_NUMBERS_WITH_R,
    /** Reorder runs only to transform a Logical LTR string to the Logical RTL
      * string with the same display, or vice-versa.<br>
      * If this mode is set together with option
      * <code>#UBIDI_OPTION_INSERT_MARKS</code>, some Bidi controls in the source
      * text may be removed and other controls may be added to produce the
      * minimum combination which has the required display.
      * @stable ICU 3.6 */
    UBIDI_REORDER_RUNS_ONLY,
    /** Visual to Logical algorithm which handles numbers like L
      * (same algorithm as selected by <code>ubidi_setInverse(TRUE)</code>.
      * @see ubidi_setInverse
      * @stable ICU 3.6 */
    UBIDI_REORDER_INVERSE_NUMBERS_AS_L,
    /** Visual to Logical algorithm equivalent to the regular Logical to Visual
      * algorithm.
      * @stable ICU 3.6 */
    UBIDI_REORDER_INVERSE_LIKE_DIRECT,
    /** Inverse Bidi (Visual to Logical) algorithm for the
      * <code>UBIDI_REORDER_NUMBERS_SPECIAL</code> Bidi algorithm.
      * @stable ICU 3.6 */
    UBIDI_REORDER_INVERSE_FOR_NUMBERS_SPECIAL,
    /** Number of values for reordering mode.
      * @stable ICU 3.6 */
    UBIDI_REORDER_COUNT
} UBiDiReorderingMode;


Generated by  Doxygen 1.6.0   Back to index