CFsTextViewerVisualizerData Class Reference

class CFsTextViewerVisualizerData : public CBase

Inherits from

  • CFsTextViewerVisualizerData
Public Member Functions
~CFsTextViewerVisualizerData()
voidAppendBgL(TFsPartBgVisual)
voidAppendLayoutL(CAlfVisual *, TFsVisRange)
voidAppendVisualL(TFsRangedVisual)
voidAppendVisualL(TFsRangedVisual *)
voidAppendVisualL(CAlfVisual *, TFsVisRange)
TInt Count()
voidDimAllHotspotsL()
voidDisableVisual(TInt, TBool)
voidDisableVisual(CAlfVisual *, TBool)
voidEnableVisual(TInt, TBool)
voidEnableVisual(CAlfVisual *, TBool)
TInt Find(CAlfVisual *)
TInt Find(TInt)
voidFindAndHighlightHotspotL(TInt)
TInt FindLayout(CAlfVisual *)
TInt FindPrevChar()
TInt GetCharLineNumber(TInt)
TInt GetCursorCharOffset()
TInt GetCursorLine()
TRect GetCursorRectL()
TInt GetFirstCharInLine(TInt)
TFsRangedVisual *GetFirstVisible()
TFsRangedVisual *GetLastVisible()
TInt GetLayEndOffset(TInt)
TInt GetLineOffset(TInt)
TFsRangedVisual *GetRangedVisual(CAlfVisual *)
TInt GetTextStyle(CAlfTextVisual *)
TInt GetTotalHeight()
TInt GetTotalLines()
TInt GetVisEndOffset(TInt)
TInt GetVisLength(TInt)
TFsVisRange GetVisOffsets(TInt)
TInt GetVisStartOffset(TInt)
CAlfVisual *GetVisual(TInt)
TFsRangedVisual *GetVisualAtIndex(TInt)
TRect GetVisualPos(TInt)
TFsRangedVisual *GetVisualWithChar(TInt)
voidHideActionButtonFromCurrentHighlightedHotspot()
voidHideAll()
voidInsertVisualL(TInt, CAlfVisual *, TFsVisRange)
TBool MoveToNextCharL()
TBool MoveToPrevCharL()
CFsTextViewerVisualizerData *NewL(CAlfControl *, CFsTextParser *, CFsTextViewerSelectsManager *)
voidPopVisual()
voidRefreshSelectsL()
voidRegisterHotspotsL()
voidReloadPicturesL(TInt)
TBool RemoveBg(CAlfVisual *)
TInt RemoveFromLineL(TInt, CFsTextViewerCoordinator *)
voidRemoveVisual(TInt)
voidResetBgArray()
TInt RestoreL(TFsRangedVisual *)
voidRestoreVisibleL()
voidScrollAllL(TInt, TInt, CAlfLayout *)
voidScrollFromCharL(TInt, TInt, TInt, CAlfLayout *)
voidSetCursorCharOffset(TInt)
voidSetParser(CFsTextParser *)
voidSetScreenHeight(TInt)
voidSetStatusLineLayout(CAlfAnchorLayout *)
voidShowActionButtonForCurrentHighlightedHotspotL()
voidSort()
voidUpdateLinesNumbers()
Private Member Functions
CFsTextViewerVisualizerData(CAlfControl *, CFsTextParser *, CFsTextViewerSelectsManager *)
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumTFsScrollDirection { EFsScrollDown = 1, EFsScrollUp }
Private Attributes
RArray< TFsPartBgVisual >iBgArray
TInt iBottomBorder
CAlfControl *iControl
TInt iCurrentChar
CAlfBorderBrush *iDebugBrush
RArray< TFsRangedVisual >iLayoutArray
TInt iLength
CFsTextParser *iParser
TFsCursorPos iPosition
TInt iPrevChar
TInt iScreenHeight
TInt iScreenOffset
TFsScrollDirection iScrollDirection
CFsTextViewerSelectsManager *iSelector
CAlfAnchorLayout *iStatusLineLayout
TInt iTopBorder
RPointerArray< TFsRangedVisual >iVisArray
TInt iVisualAmount

Constructor & Destructor Documentation

CFsTextViewerVisualizerData(CAlfControl *, CFsTextParser *, CFsTextViewerSelectsManager *)

CFsTextViewerVisualizerData(CAlfControl *iControl,
CFsTextParser *aParser,
CFsTextViewerSelectsManager *aSelector
)[private]

Parameters

CAlfControl * iControl
CFsTextParser * aParser
CFsTextViewerSelectsManager * aSelector

~CFsTextViewerVisualizerData()

~CFsTextViewerVisualizerData()

Member Functions Documentation

AppendBgL(TFsPartBgVisual)

voidAppendBgL(TFsPartBgVisualaBg)

Parameters

TFsPartBgVisual aBg

AppendLayoutL(CAlfVisual *, TFsVisRange)

voidAppendLayoutL(CAlfVisual *aVisual,
TFsVisRangeaRange
)

Parameters

CAlfVisual * aVisual
TFsVisRange aRange

AppendVisualL(TFsRangedVisual)

voidAppendVisualL(TFsRangedVisualaVisual)

Parameters

TFsRangedVisual aVisual

AppendVisualL(TFsRangedVisual *)

voidAppendVisualL(TFsRangedVisual *aVisual)

Parameters

TFsRangedVisual * aVisual

AppendVisualL(CAlfVisual *, TFsVisRange)

voidAppendVisualL(CAlfVisual *aVisual,
TFsVisRangeaRange
)

Parameters

CAlfVisual * aVisual
TFsVisRange aRange

ConstructL()

voidConstructL()[private]

Count()

TInt Count()

DimAllHotspotsL()

voidDimAllHotspotsL()

DisableVisual(TInt, TBool)

voidDisableVisual(TIntaIndex,
TBoolaStatus = ETrue
)

Parameters

TInt aIndex
TBool aStatus = ETrue

DisableVisual(CAlfVisual *, TBool)

voidDisableVisual(CAlfVisual *aVisual,
TBoolaStatus = ETrue
)

Parameters

CAlfVisual * aVisual
TBool aStatus = ETrue

EnableVisual(TInt, TBool)

voidEnableVisual(TIntaIndex,
TBoolaStatus = ETrue
)

Parameters

TInt aIndex
TBool aStatus = ETrue

EnableVisual(CAlfVisual *, TBool)

voidEnableVisual(CAlfVisual *aVisual,
TBoolaStatus = ETrue
)

Parameters

CAlfVisual * aVisual
TBool aStatus = ETrue

Find(CAlfVisual *)

TInt Find(CAlfVisual *aVisual)

Parameters

CAlfVisual * aVisual

Find(TInt)

TInt Find(TIntaOffset)

Parameters

TInt aOffset

FindAndHighlightHotspotL(TInt)

voidFindAndHighlightHotspotL(TIntaLine)

Parameters

TInt aLine

FindLayout(CAlfVisual *)

TInt FindLayout(CAlfVisual *aVisual)

Parameters

CAlfVisual * aVisual

FindPrevChar()

TInt FindPrevChar()

GetCharLineNumber(TInt)

TInt GetCharLineNumber(TIntaCharNumber)

Parameters

TInt aCharNumber

GetCursorCharOffset()

TInt GetCursorCharOffset()

GetCursorLine()

TInt GetCursorLine()

GetCursorRectL()

TRect GetCursorRectL()

GetFirstCharInLine(TInt)

TInt GetFirstCharInLine(TIntaLineNumber)

Parameters

TInt aLineNumber

GetFirstVisible()

TFsRangedVisual *GetFirstVisible()

GetLastVisible()

TFsRangedVisual *GetLastVisible()

GetLayEndOffset(TInt)

TInt GetLayEndOffset(TIntaIndex)

Parameters

TInt aIndex

GetLineOffset(TInt)

TInt GetLineOffset(TIntaLine)

Parameters

TInt aLine

GetRangedVisual(CAlfVisual *)

TFsRangedVisual *GetRangedVisual(CAlfVisual *aVisual)

Parameters

CAlfVisual * aVisual

GetTextStyle(CAlfTextVisual *)

TInt GetTextStyle(CAlfTextVisual *aVisual)

Parameters

CAlfTextVisual * aVisual

GetTotalHeight()

TInt GetTotalHeight()

GetTotalLines()

TInt GetTotalLines()

GetVisEndOffset(TInt)

TInt GetVisEndOffset(TIntaIndex)

Parameters

TInt aIndex

GetVisLength(TInt)

TInt GetVisLength(TIntaIndex)

Parameters

TInt aIndex

GetVisOffsets(TInt)

TFsVisRange GetVisOffsets(TIntaIndex)

Parameters

TInt aIndex

GetVisStartOffset(TInt)

TInt GetVisStartOffset(TIntaIndex)

Parameters

TInt aIndex

GetVisual(TInt)

CAlfVisual *GetVisual(TIntaIndex)

Parameters

TInt aIndex

GetVisualAtIndex(TInt)

TFsRangedVisual *GetVisualAtIndex(TIntaIndex)

Parameters

TInt aIndex

GetVisualPos(TInt)

TRect GetVisualPos(TIntaCharIndex)

Parameters

TInt aCharIndex

GetVisualWithChar(TInt)

TFsRangedVisual *GetVisualWithChar(TIntaCharIndex)

Parameters

TInt aCharIndex

HideActionButtonFromCurrentHighlightedHotspot()

voidHideActionButtonFromCurrentHighlightedHotspot()

HideAll()

voidHideAll()

InsertVisualL(TInt, CAlfVisual *, TFsVisRange)

voidInsertVisualL(TIntaIndex,
CAlfVisual *aVisual,
TFsVisRangeaRange
)

Parameters

TInt aIndex
CAlfVisual * aVisual
TFsVisRange aRange

MoveToNextCharL()

TBool MoveToNextCharL()

MoveToPrevCharL()

TBool MoveToPrevCharL()

NewL(CAlfControl *, CFsTextParser *, CFsTextViewerSelectsManager *)

CFsTextViewerVisualizerData *NewL(CAlfControl *aControl,
CFsTextParser *aParser,
CFsTextViewerSelectsManager *aSelector
)[static]

Parameters

CAlfControl * aControl
CFsTextParser * aParser
CFsTextViewerSelectsManager * aSelector

PopVisual()

voidPopVisual()

RefreshSelectsL()

voidRefreshSelectsL()

RegisterHotspotsL()

voidRegisterHotspotsL()

ReloadPicturesL(TInt)

voidReloadPicturesL(TIntaLine)

Parameters

TInt aLine

RemoveBg(CAlfVisual *)

TBool RemoveBg(CAlfVisual *aVisual)

Parameters

CAlfVisual * aVisual

RemoveFromLineL(TInt, CFsTextViewerCoordinator *)

TInt RemoveFromLineL(TIntaLineNumber,
CFsTextViewerCoordinator *aHelper
)

Parameters

TInt aLineNumber
CFsTextViewerCoordinator * aHelper

RemoveVisual(TInt)

voidRemoveVisual(TIntaIndex)

Parameters

TInt aIndex

ResetBgArray()

voidResetBgArray()

RestoreL(TFsRangedVisual *)

TInt RestoreL(TFsRangedVisual *aVisual)

Parameters

TFsRangedVisual * aVisual

RestoreVisibleL()

voidRestoreVisibleL()

ScrollAllL(TInt, TInt, CAlfLayout *)

voidScrollAllL(TIntaTrans,
TIntaTime,
CAlfLayout *aRootLayout
)

Parameters

TInt aTrans
TInt aTime
CAlfLayout * aRootLayout

ScrollFromCharL(TInt, TInt, TInt, CAlfLayout *)

voidScrollFromCharL(TIntaCharIndex,
TIntaTrans,
TIntaTime,
CAlfLayout *aRootLayout
)

Parameters

TInt aCharIndex
TInt aTrans
TInt aTime
CAlfLayout * aRootLayout

SetCursorCharOffset(TInt)

voidSetCursorCharOffset(TIntaOffset)

Parameters

TInt aOffset

SetParser(CFsTextParser *)

voidSetParser(CFsTextParser *aParser)

Parameters

CFsTextParser * aParser

SetScreenHeight(TInt)

voidSetScreenHeight(TIntaScreenHeight)

Parameters

TInt aScreenHeight

SetStatusLineLayout(CAlfAnchorLayout *)

voidSetStatusLineLayout(CAlfAnchorLayout *aLayout)

Parameters

CAlfAnchorLayout * aLayout

ShowActionButtonForCurrentHighlightedHotspotL()

voidShowActionButtonForCurrentHighlightedHotspotL()

Sort()

voidSort()

UpdateLinesNumbers()

voidUpdateLinesNumbers()

Member Enumerations Documentation

Enum TFsScrollDirection

Enumerators

EFsScrollDown = 1
EFsScrollUp

Member Data Documentation

RArray< TFsPartBgVisual > iBgArray

RArray< TFsPartBgVisual >iBgArray[private]

TInt iBottomBorder

TInt iBottomBorder[private]

CAlfControl * iControl

CAlfControl *iControl[private]

TInt iCurrentChar

TInt iCurrentChar[private]

CAlfBorderBrush * iDebugBrush

CAlfBorderBrush *iDebugBrush[private]

RArray< TFsRangedVisual > iLayoutArray

RArray< TFsRangedVisual >iLayoutArray[private]

TInt iLength

TInt iLength[private]

CFsTextParser * iParser

CFsTextParser *iParser[private]

TFsCursorPos iPosition

TFsCursorPos iPosition[private]

TInt iPrevChar

TInt iPrevChar[private]

TInt iScreenHeight

TInt iScreenHeight[private]

TInt iScreenOffset

TInt iScreenOffset[private]

TFsScrollDirection iScrollDirection

TFsScrollDirection iScrollDirection[private]

CFsTextViewerSelectsManager * iSelector

CFsTextViewerSelectsManager *iSelector[private]

CAlfAnchorLayout * iStatusLineLayout

CAlfAnchorLayout *iStatusLineLayout[private]

TInt iTopBorder

TInt iTopBorder[private]

RPointerArray< TFsRangedVisual > iVisArray

RPointerArray< TFsRangedVisual >iVisArray[private]

TInt iVisualAmount

TInt iVisualAmount[private]