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 TBoolIsSpecialVariantChar(TUintaCode,
TUint &aRangeStart,
TUint &aRangeEnd,
TUint &aClass
)[static]

Converts Unicode character into line breaking class for special variant.

Parameters

TUint aCodeInput Unicode value.
TUint & aRangeStartReturns the start of the contiguous range of characters including aCode that have the returned line breaking class.
TUint & aRangeEndReturns the end of the contiguous range of characters including aCode that have the returned line breaking class.
TUint & aClassThe line breaking class for aCode.

LineBreakClass(TUint, TUint &, TUint &)

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

Converts Unicode character into line breaking class.

Parameters

TUint aCodeInput Unicode value.
TUint & aRangeStartReturns the start of the contiguous range of characters including aCode that have the returned line breaking class.
TUint & aRangeEndReturns the end of the contiguous range of characters including aCode that have the returned line breaking class.

LineBreakPossible(TUint, TUint, TBool)

TBool LineBreakPossible(TUintaPrevClass,
TUintaNextClass,
TBoolaHaveSpaces
)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 aPrevClassThe class before the potential line break.
TUint aNextClassThe class after the potential line break.
TBool aHaveSpacesWhether spaces separate the characters.