TAknLineBreaker Class Reference

class TAknLineBreaker : public MLineBreaker

Customized line breaker to meet Series 60 specifications. Customizes the functionality of MLineBreaker by changing the treatment of the characters specified to have special treatment in editing spec.

Inherits from

Member Functions Documentation

IsSpecialVariantChar(TUint, TUint &, TUint &, TUint &)

IMPORT_C TBool IsSpecialVariantChar ( TUint aCode,
TUint & aRangeStart,
TUint & aRangeEnd,
TUint & aClass
) [static]

Converts Unicode character into line breaking class for special variant.

Parameters

TUint aCode Input Unicode value.
TUint & aRangeStart Returns the start of the contiguous range of characters including aCode that have the returned line breaking class.
TUint & aRangeEnd Returns the end of the contiguous range of characters including aCode that have the returned line breaking class.
TUint & aClass The line breaking class for aCode.

LineBreakClass(TUint, TUint &, TUint &)

TUint LineBreakClass ( TUint aCode,
TUint & aRangeStart,
TUint & aRangeEnd
) const [virtual]

Converts Unicode character into line breaking class.

Parameters

TUint aCode Input Unicode value.
TUint & aRangeStart Returns the start of the contiguous range of characters including aCode that have the returned line breaking class.
TUint & aRangeEnd Returns the end of the contiguous range of characters including aCode that have the returned line breaking class.

LineBreakPossible(TUint, TUint, TBool)

TBool LineBreakPossible ( TUint aPrevClass,
TUint aNextClass,
TBool aHaveSpaces
) const [virtual]

Returns whether line breaks are legal between a character of line breaking class aPrevClass and aNextClass, with intervening spaces or not as determined by aHaveSpaces.

Parameters

TUint aPrevClass The class before the potential line break.
TUint aNextClass The class after the potential line break.
TBool aHaveSpaces Whether spaces separate the characters.