CFsTextViewerVisualizerData Class Reference

class CFsTextViewerVisualizerData : public CBase

Inherits from

  • CFsTextViewerVisualizerData
Public Member Functions
~CFsTextViewerVisualizerData ()
void AppendBgL ( TFsPartBgVisual )
void AppendLayoutL ( CAlfVisual *, TFsVisRange )
void AppendVisualL ( TFsRangedVisual )
void AppendVisualL ( TFsRangedVisual *)
void AppendVisualL ( CAlfVisual *, TFsVisRange )
TInt Count ()
void DimAllHotspotsL ()
void DisableVisual ( TInt , TBool )
void DisableVisual ( CAlfVisual *, TBool )
void EnableVisual ( TInt , TBool )
void EnableVisual ( CAlfVisual *, TBool )
TInt Find ( CAlfVisual *)
TInt Find ( TInt )
void FindAndHighlightHotspotL ( 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 )
void HideActionButtonFromCurrentHighlightedHotspot ()
void HideAll ()
void InsertVisualL ( TInt , CAlfVisual *, TFsVisRange )
TBool MoveToNextCharL ()
TBool MoveToPrevCharL ()
CFsTextViewerVisualizerData * NewL ( CAlfControl *, CFsTextParser *, CFsTextViewerSelectsManager *)
void PopVisual ()
void RefreshSelectsL ()
void RegisterHotspotsL ()
void ReloadPicturesL ( TInt )
TBool RemoveBg ( CAlfVisual *)
TInt RemoveFromLineL ( TInt , CFsTextViewerCoordinator *)
void RemoveVisual ( TInt )
void ResetBgArray ()
TInt RestoreL ( TFsRangedVisual *)
void RestoreVisibleL ()
void ScrollAllL ( TInt , TInt , CAlfLayout *)
void ScrollFromCharL ( TInt , TInt , TInt , CAlfLayout *)
void SetCursorCharOffset ( TInt )
void SetParser ( CFsTextParser *)
void SetScreenHeight ( TInt )
void SetStatusLineLayout ( CAlfAnchorLayout *)
void ShowActionButtonForCurrentHighlightedHotspotL ()
void Sort ()
void UpdateLinesNumbers ()
Private Member Functions
CFsTextViewerVisualizerData ( CAlfControl *, CFsTextParser *, CFsTextViewerSelectsManager *)
void ConstructL ()
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
enum TFsScrollDirection { 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)

void AppendBgL ( TFsPartBgVisual aBg )

Parameters

TFsPartBgVisual aBg

AppendLayoutL(CAlfVisual *, TFsVisRange)

void AppendLayoutL ( CAlfVisual * aVisual,
TFsVisRange aRange
)

Parameters

CAlfVisual * aVisual
TFsVisRange aRange

AppendVisualL(TFsRangedVisual)

void AppendVisualL ( TFsRangedVisual aVisual )

Parameters

TFsRangedVisual aVisual

AppendVisualL(TFsRangedVisual *)

void AppendVisualL ( TFsRangedVisual * aVisual )

Parameters

TFsRangedVisual * aVisual

AppendVisualL(CAlfVisual *, TFsVisRange)

void AppendVisualL ( CAlfVisual * aVisual,
TFsVisRange aRange
)

Parameters

CAlfVisual * aVisual
TFsVisRange aRange

ConstructL()

void ConstructL ( ) [private]

Count()

TInt Count ( )

DimAllHotspotsL()

void DimAllHotspotsL ( )

DisableVisual(TInt, TBool)

void DisableVisual ( TInt aIndex,
TBool aStatus = ETrue
)

Parameters

TInt aIndex
TBool aStatus = ETrue

DisableVisual(CAlfVisual *, TBool)

void DisableVisual ( CAlfVisual * aVisual,
TBool aStatus = ETrue
)

Parameters

CAlfVisual * aVisual
TBool aStatus = ETrue

EnableVisual(TInt, TBool)

void EnableVisual ( TInt aIndex,
TBool aStatus = ETrue
)

Parameters

TInt aIndex
TBool aStatus = ETrue

EnableVisual(CAlfVisual *, TBool)

void EnableVisual ( CAlfVisual * aVisual,
TBool aStatus = ETrue
)

Parameters

CAlfVisual * aVisual
TBool aStatus = ETrue

Find(CAlfVisual *)

TInt Find ( CAlfVisual * aVisual )

Parameters

CAlfVisual * aVisual

Find(TInt)

TInt Find ( TInt aOffset )

Parameters

TInt aOffset

FindAndHighlightHotspotL(TInt)

void FindAndHighlightHotspotL ( TInt aLine )

Parameters

TInt aLine

FindLayout(CAlfVisual *)

TInt FindLayout ( CAlfVisual * aVisual )

Parameters

CAlfVisual * aVisual

FindPrevChar()

TInt FindPrevChar ( )

GetCharLineNumber(TInt)

TInt GetCharLineNumber ( TInt aCharNumber )

Parameters

TInt aCharNumber

GetCursorCharOffset()

TInt GetCursorCharOffset ( )

GetCursorLine()

TInt GetCursorLine ( )

GetCursorRectL()

TRect GetCursorRectL ( )

GetFirstCharInLine(TInt)

TInt GetFirstCharInLine ( TInt aLineNumber )

Parameters

TInt aLineNumber

GetFirstVisible()

TFsRangedVisual * GetFirstVisible ( )

GetLastVisible()

TFsRangedVisual * GetLastVisible ( )

GetLayEndOffset(TInt)

TInt GetLayEndOffset ( TInt aIndex )

Parameters

TInt aIndex

GetLineOffset(TInt)

TInt GetLineOffset ( TInt aLine )

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 ( TInt aIndex )

Parameters

TInt aIndex

GetVisLength(TInt)

TInt GetVisLength ( TInt aIndex )

Parameters

TInt aIndex

GetVisOffsets(TInt)

TFsVisRange GetVisOffsets ( TInt aIndex )

Parameters

TInt aIndex

GetVisStartOffset(TInt)

TInt GetVisStartOffset ( TInt aIndex )

Parameters

TInt aIndex

GetVisual(TInt)

CAlfVisual * GetVisual ( TInt aIndex )

Parameters

TInt aIndex

GetVisualAtIndex(TInt)

TFsRangedVisual * GetVisualAtIndex ( TInt aIndex )

Parameters

TInt aIndex

GetVisualPos(TInt)

TRect GetVisualPos ( TInt aCharIndex )

Parameters

TInt aCharIndex

GetVisualWithChar(TInt)

TFsRangedVisual * GetVisualWithChar ( TInt aCharIndex )

Parameters

TInt aCharIndex

HideActionButtonFromCurrentHighlightedHotspot()

void HideActionButtonFromCurrentHighlightedHotspot ( )

HideAll()

void HideAll ( )

InsertVisualL(TInt, CAlfVisual *, TFsVisRange)

void InsertVisualL ( TInt aIndex,
CAlfVisual * aVisual,
TFsVisRange aRange
)

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()

void PopVisual ( )

RefreshSelectsL()

void RefreshSelectsL ( )

RegisterHotspotsL()

void RegisterHotspotsL ( )

ReloadPicturesL(TInt)

void ReloadPicturesL ( TInt aLine )

Parameters

TInt aLine

RemoveBg(CAlfVisual *)

TBool RemoveBg ( CAlfVisual * aVisual )

Parameters

CAlfVisual * aVisual

RemoveFromLineL(TInt, CFsTextViewerCoordinator *)

TInt RemoveFromLineL ( TInt aLineNumber,
CFsTextViewerCoordinator * aHelper
)

Parameters

TInt aLineNumber
CFsTextViewerCoordinator * aHelper

RemoveVisual(TInt)

void RemoveVisual ( TInt aIndex )

Parameters

TInt aIndex

ResetBgArray()

void ResetBgArray ( )

RestoreL(TFsRangedVisual *)

TInt RestoreL ( TFsRangedVisual * aVisual )

Parameters

TFsRangedVisual * aVisual

RestoreVisibleL()

void RestoreVisibleL ( )

ScrollAllL(TInt, TInt, CAlfLayout *)

void ScrollAllL ( TInt aTrans,
TInt aTime,
CAlfLayout * aRootLayout
)

Parameters

TInt aTrans
TInt aTime
CAlfLayout * aRootLayout

ScrollFromCharL(TInt, TInt, TInt, CAlfLayout *)

void ScrollFromCharL ( TInt aCharIndex,
TInt aTrans,
TInt aTime,
CAlfLayout * aRootLayout
)

Parameters

TInt aCharIndex
TInt aTrans
TInt aTime
CAlfLayout * aRootLayout

SetCursorCharOffset(TInt)

void SetCursorCharOffset ( TInt aOffset )

Parameters

TInt aOffset

SetParser(CFsTextParser *)

void SetParser ( CFsTextParser * aParser )

Parameters

CFsTextParser * aParser

SetScreenHeight(TInt)

void SetScreenHeight ( TInt aScreenHeight )

Parameters

TInt aScreenHeight

SetStatusLineLayout(CAlfAnchorLayout *)

void SetStatusLineLayout ( CAlfAnchorLayout * aLayout )

Parameters

CAlfAnchorLayout * aLayout

ShowActionButtonForCurrentHighlightedHotspotL()

void ShowActionButtonForCurrentHighlightedHotspotL ( )

Sort()

void Sort ( )

UpdateLinesNumbers()

void UpdateLinesNumbers ( )

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]