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

Enum constants for the line break tags returned by getRuleStatus(). A range of values is defined for each category of word, to allow for further subdivisions of a category in future releases. Applications should check for tag values falling within the range, rather than for single individual values. ICU 2.8

Enumerator:
UBRK_LINE_SOFT  Tag value for soft line breaks, positions at which a line break is acceptable but not required
UBRK_LINE_SOFT_LIMIT  Upper bound for soft line breaks.
UBRK_LINE_HARD  Tag value for a hard, or mandatory line break
UBRK_LINE_HARD_LIMIT  Upper bound for hard line breaks.

Definition at line 158 of file ubrk.h.

                           {
    /** Tag value for soft line breaks, positions at which a line break
      *  is acceptable but not required                */
    UBRK_LINE_SOFT            = 0,
    /** Upper bound for soft line breaks.              */
    UBRK_LINE_SOFT_LIMIT      = 100,
    /** Tag value for a hard, or mandatory line break  */
    UBRK_LINE_HARD            = 100,
    /** Upper bound for hard line breaks.              */
    UBRK_LINE_HARD_LIMIT      = 200
} ULineBreakTag;


Generated by  Doxygen 1.6.0   Back to index