CFsTextParser Class Reference
class CFsTextParser : public CBase
|
Public Member Functions
|
|
~CFsTextParser
()
|
void
|
CutWord
(
TInt
,
TInt
)
|
TInt
|
GetBodyIndexOfExpandAreaL
(
TInt
)
|
TInt
|
GetEndIndexOfExpandAreaL
(
TInt
)
|
TInt
|
GetEndIndexOfHotSpotAreaL
(
TInt
,
TBool
)
|
MFsRichTextObject
*
|
GetNextObjectL
()
|
TBidiText::TDirectionality
|
GetParagraphDirection
(
TInt
)
|
CFsRichText
*
|
GetRichTextL
(
TInt
,
TInt
)
|
TInt
|
GetStartIndexOfExpandAreaL
(
TInt
)
|
TInt
|
GetStartIndexOfHotSpotAreaL
(
TInt
,
TBool
)
|
HBufC
*
|
GetTextL
(
TInt
,
TInt
)
|
CFsTexture
&
|
GetTextureL
(
TInt
)
|
TBool
|
IsNextObject
()
|
void
|
MoveBack
()
|
TBool
|
MoveParsingPosition
(
TInt
)
|
CFsTextParser
*
|
NewL
(
CFsRichText
&, CAlfEnv &,
CFsTextureLoader
*)
|
TBool
|
ParseTextL
()
|
TBool
|
SetExpandStatusL
(
TInt
,
TBool
)
|
TBool
|
SetParsingPosition
(
TInt
)
|
void
|
SetSizeOfSmile
(
TSize
)
|
void
|
SetSmileyParser
(
CFsSmileyParser
*)
|
TBool
|
SetTextDirection
(
TInt
,
TInt
,
TBidiText::TDirectionality
)
|
void
|
SetTextStylemanager
(
CFsTextStyleManager
*)
|
Constructor & Destructor Documentation
CFsTextParser(CFsRichText &, CAlfEnv &, CFsTextureLoader *)
CFsTextParser( CFsRichText& aText, CHuiEnv& aEnv );
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
ConvertBitmapL(CPicture *, CFbsBitmap *&)
CutWord(TInt, TInt)
void
|
CutWord
|
(
|
TInt
|
aBeginOfWord,
|
|
TInt
|
aNewLengthOfWord
|
|
)
|
|
FindBlokOfText()
void
|
FindBlokOfText
|
(
|
)
|
[private]
|
FindNextBlokOfText()
void
|
FindNextBlokOfText
|
(
|
)
|
[private]
|
GetBodyIndexOfExpandAreaL(TInt)
TInt
|
GetBodyIndexOfExpandAreaL
|
(
|
TInt
|
aId
|
)
|
|
GetEndIndexOfExpandAreaL(TInt)
TInt
|
GetEndIndexOfExpandAreaL
|
(
|
TInt
|
aId
|
)
|
|
GetEndIndexOfHotSpotAreaL(TInt, TBool)
TInt
|
GetEndIndexOfHotSpotAreaL
|
(
|
TInt
|
aId,
|
|
TBool
|
aOriginal = EFalse
|
|
)
|
|
GetEndIndexOfHotSpotAreaL(TInt aId);
GetParagraphDirection(TInt)
GetStartIndexOfExpandAreaL(TInt)
TInt
|
GetStartIndexOfExpandAreaL
|
(
|
TInt
|
aId
|
)
|
|
GetStartIndexOfHotSpotAreaL(TInt, TBool)
TInt
|
GetStartIndexOfHotSpotAreaL
|
(
|
TInt
|
aId,
|
|
TBool
|
aOriginal = EFalse
|
|
)
|
|
GetStartIndexOfHotSpotAreaL(TInt aId);
GetTextL(TInt, TInt)
GetTextL(TInt aStart, TInt aEnd, TInt& aStyle);
IsFieldInrange(TInt, TInt)
TBool
|
IsFieldInrange
|
(
|
TInt
|
aStartPosition,
|
|
TInt
|
aRange
|
|
)
|
[private]
|
IsNewLinePresent(TInt, TInt)
TInt
|
IsNewLinePresent
|
(
|
TInt
|
aPosition,
|
|
TInt
|
aLength
|
|
)
|
[private]
|
IsNextObject()
TBool
|
IsNextObject
|
(
|
)
|
const
|
IsPartOfHotSpot(TInt)
TBool
|
IsPartOfHotSpot
|
(
|
TInt
|
aIndex
|
)
|
[private]
|
IsTexturePosition(TInt, TInt &)
IsWordPartOfExpandArea(TInt, TInt)
TInt
|
IsWordPartOfExpandArea
|
(
|
TInt
|
aStartPosition,
|
|
TInt
|
aEndPosition
|
|
)
|
[private]
|
IsWordPartOfHotSpotArea(TInt, TInt)
TInt
|
IsWordPartOfHotSpotArea
|
(
|
TInt
|
aStartPosition,
|
|
TInt
|
aEndPosition
|
|
)
|
[private]
|
MoveParsingPosition(TInt)
TBool
|
MoveParsingPosition
|
(
|
TInt
|
aMoveParsingPositionBy
|
)
|
|
Parameters
TInt
aMoveParsingPositionBy
|
|
NewL(CFsRichText &, CAlfEnv &, CFsTextureLoader *)
NewL( CFsRichText& aText, CHuiEnv& aEnv );
SetExpandStatusL(TInt, TBool)
SetSizeOfSmile(TSize)
void
|
SetSizeOfSmile
|
(
|
TSize
|
aSizeOfSmiley
|
)
|
|
SetSmileyParser(CFsSmileyParser *)
SetTextDirection(TInt, TInt, TBidiText::TDirectionality)
SetTextStylemanager(CFsTextStyleManager *)
Member Data Documentation
RArray< TRichTextExapandArea > iExpandArray
RArray< TInt > iFieldLocation
TCharFormat
iGNOCharFormat
TCharFormat
iGNOCharFormatOfNextBlock
TInt
iGNONextPosition
TInt
|
iGNONextPosition
|
[private]
|
TPtrC
iGNOSomeText
TPtrC
|
iGNOSomeText
|
[private]
|
TPtrC
iGNOSomeTextOfNextBlock
TPtrC
|
iGNOSomeTextOfNextBlock
|
[private]
|
TBool
iGetCharsUsed
TBool
|
iGetCharsUsed
|
[private]
|
TBool
iGetCharsUsedOfNextBlock
TBool
|
iGetCharsUsedOfNextBlock
|
[private]
|
RArray< TRichTextHotSpotArea > iHotSpotArray
TBool
iIsSetSizeOfSmiley
TBool
|
iIsSetSizeOfSmiley
|
[private]
|
TBool
iIsWordTooLong
TBool
|
iIsWordTooLong
|
[private]
|
TInt
iLastGetCharsLength
TInt
|
iLastGetCharsLength
|
[private]
|
TInt
iLastGetCharsLengthOfNextBlock
TInt
|
iLastGetCharsLengthOfNextBlock
|
[private]
|
TInt
iLastGetCharsPos
TInt
|
iLastGetCharsPos
|
[private]
|
TInt
iLastGetCharsPosOfNextBlock
TInt
|
iLastGetCharsPosOfNextBlock
|
[private]
|
TInt
iLastLength
TInt
|
iLastLength
|
[private]
|
TInt
iLastNewLinePositionIndex
TInt
|
iLastNewLinePositionIndex
|
[private]
|
TInt
iLastPosition
TInt
|
iLastPosition
|
[private]
|
TInt
iLastWordPosition
TInt
|
iLastWordPosition
|
[private]
|
RArray< TBidiText::TDirectionality > iLineDirection
TInt
iNewLengthOfWord
TInt
|
iNewLengthOfWord
|
[private]
|
RArray< TInt > iNewLineArray
TInt
iNewLineArrayIndex
TInt
|
iNewLineArrayIndex
|
[private]
|
TSize
iSizeOfSmiley
TSize
|
iSizeOfSmiley
|
[private]
|
CFsSmileyParser * iSmileyParser
CFsTextStyleManager * iTextStyleManager
RArray< TTextureIndex > iTextureIndex
CFsTextureLoader * iTextureLoader
TInt
iTypeOfLastObject
TInt
|
iTypeOfLastObject
|
[private]
|
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.