class MContingentLineBreakerL |
Used to determine the line breaks around pictures and other characters with the CB (contingent line break) class in situations where this operation may leave.
Public Member Functions | |
---|---|
TBool | IsLegalBreakAfterL ( TInt , TInt , TBool ) |
TBool | IsLegalBreakBeforeL ( TInt , TInt , TBool ) |
TBool | IsLegalBreakAfterL | ( | TInt | aTextPosition, |
TInt | aFollowingClass, | |||
TBool | aHasSpaces | |||
) | [pure virtual] |
Determines if a break is legal after the picture at aTextPosition.
TInt aTextPosition | The position of a character of line breaking class ECbLineBreakClass in the text as supplied to MLineBreaker::GetLineBreak(), which may refer to a picture. |
TInt aFollowingClass | The class of the character immediately following aTextPosition. |
TBool aHasSpaces | ETrue if spaces separate the preceding class from this. |
TBool | IsLegalBreakBeforeL | ( | TInt | aTextPosition, |
TInt | aPrecedingClass, | |||
TBool | aHasSpaces | |||
) | [pure virtual] |
Determines if a break is legal before the picture at aTextPosition.
TInt aTextPosition | The position of a character of line breaking class ECbLineBreakClass in the text as supplied to MLineBreaker::GetLineBreak(), which may refer to a picture. |
TInt aPrecedingClass | The class of the character preceding aTextPosition. |
TBool aHasSpaces | ETrue if spaces separate the preceding class from this. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.