TBidirectionalState Class Reference
class TBidirectionalState |
Nested Classes and Structures
Public Member Functions |
---|
| TBidirectionalState() |
| TBidirectionalState(TChar::TBdCategory, TChar::TBdCategory, TBool) |
TInt
| CatToNumber(TInt) |
TCategory | CharToBdCat(TChar::TBdCategory) |
void | DeneutralizeRuns(TRunInfo *, TRunInfo *, TCategory, TCategory) |
IMPORT_C void | ExternalizeL(RWriteStream &) |
TInt
| GenerateBdRunArray(const TText *, TInt, TBidirectionalState::TRunInfo *, TInt) |
void | HandleBdControls(TReorderContext &) |
IMPORT_C void | InternalizeL(RReadStream &) |
IMPORT_C TBool | IsDefault() |
TBool
| ParRightToLeft() |
void | PrepareForNextLine(const TReorderContext &) |
IMPORT_C void | ReorderLine(TRunInfo *, TInt, TBool, TBool, TBool, TChar::TBdCategory, TChar::TBdCategory, TBool &) |
IMPORT_C void | ReorderLine(TRunInfo *, TInt, TBool, TBool, TBool, TChar::TBdCategory, TChar::TBdCategory) |
void | ReorderRuns(TReorderContext &) |
IMPORT_C TInt | ReorderText(const TText *, TInt, TBool, TText *&) |
IMPORT_C void | Reset() |
void | ResolveImplicitLevels(TReorderContext &) |
void | ResolveNeutralTypes(TReorderContext &) |
void | ResolveWeakTypesW1W2W3(TReorderContext &) |
void | ResolveWeakTypesW4W5W6(TReorderContext &) |
void | ResolveWeakTypesW7(TReorderContext &) |
IMPORT_C void | ReverseGroups(TText *, TInt) |
TCategory | UintToBdCat(TUint) |
IMPORT_C TBool | operator==(const TBidirectionalState &) |
Detailed Description
The bidirectional state class. This class contains functions that implement the Unicode Bidirectional Algorithm, which changes text from logical order to display order for the correct display of right-to-left scripts, like Arabic and Hebrew. A TBidirectionalState object carries the embedding level and stack from one line to the next. On construction it is in its 'start of paragraph' state.
Constructor & Destructor Documentation
TBidirectionalState ( )
IMPORT_C | TBidirectionalState | ( | ) | |
TBidirectionalState ( TChar::TBdCategory, TChar::TBdCategory, TBool )
Member Function Documentation
CatToNumber ( TInt )
CharToBdCat ( TChar::TBdCategory )
DeneutralizeRuns ( TRunInfo *, TRunInfo *, TCategory, TCategory )
void | DeneutralizeRuns | ( | TRunInfo * | aStart, |
| TRunInfo * | aEnd, |
| TCategory | aStartCategory, |
| TCategory | aEndCategory |
| ) | [static] |
ExternalizeL ( RWriteStream & )
GenerateBdRunArray ( const TText *, TInt, TBidirectionalState::TRunInfo *, TInt )
HandleBdControls ( TReorderContext & )
void | HandleBdControls | ( | TReorderContext & | aContext | ) | |
InternalizeL ( RReadStream & )
IsDefault ( )
IMPORT_C TBool | IsDefault | ( | ) | const |
ParRightToLeft ( )
TBool
| ParRightToLeft | ( | ) | const [inline] |
PrepareForNextLine ( const TReorderContext & )
void | PrepareForNextLine | ( | const TReorderContext & | aContext | ) | |
ReorderLine ( TRunInfo *, TInt, TBool, TBool, TBool, TChar::TBdCategory, TChar::TBdCategory, TBool & )
ReorderLine ( TRunInfo *, TInt, TBool, TBool, TBool, TChar::TBdCategory, TChar::TBdCategory )
ReorderRuns ( TReorderContext & )
void | ReorderRuns | ( | TReorderContext & | aContext | ) | |
ReorderText ( const TText *, TInt, TBool, TText *& )
Reset ( )
ResolveImplicitLevels ( TReorderContext & )
void | ResolveImplicitLevels | ( | TReorderContext & | aContext | ) | |
ResolveNeutralTypes ( TReorderContext & )
void | ResolveNeutralTypes | ( | TReorderContext & | aContext | ) | |
ResolveWeakTypesW1W2W3 ( TReorderContext & )
void | ResolveWeakTypesW1W2W3 | ( | TReorderContext & | aContext | ) | |
ResolveWeakTypesW4W5W6 ( TReorderContext & )
void | ResolveWeakTypesW4W5W6 | ( | TReorderContext & | aContext | ) | |
ResolveWeakTypesW7 ( TReorderContext & )
void | ResolveWeakTypesW7 | ( | TReorderContext & | aContext | ) | |
ReverseGroups ( TText *, TInt )
IMPORT_C void | ReverseGroups | ( | TText * | aStart, |
| TInt | aLength |
| ) | [static] |
UintToBdCat ( TUint )
TCategory | UintToBdCat | ( | TUint | aCat | ) | [static] |
operator== ( const TBidirectionalState & )