CFsTextViewerVisualizer Class Reference
class CFsTextViewerVisualizer : public CBase
|
Public Member Functions
|
|
~CFsTextViewerVisualizer
()
|
CAlfLayout
*
|
BackgroundLayout
()
|
TSize
|
CalculateSizeL
(
MFsRichTextObject
*)
|
TInt
|
CalculateWidthL
(const
TDesC
&,
TInt
)
|
void
|
ClickedL
()
|
void
|
CollapseL
(
CAlfLayout
*,
TInt
)
|
CAlfControl
*
|
Control
()
|
void
|
EnableMarkL
(
TBool
)
|
void
|
EnableSmileys
(
TBool
)
|
void
|
ExpandExistingL
(
CAlfLayout
*,
TSize
,
TInt
)
|
CAlfLayout
*
|
ExpandL
(
TInt
,
TInt
,
CAlfVisual
*)
|
void
|
FocusLineL
(
TInt
,
TBool
)
|
TInt
|
GetCurrentHotspotByOrder
()
|
HBufC
*
|
GetCurrentHotspotTextL
()
|
void
|
GetHotspotRangeL
(
TInt
&,
TInt
&)
|
void
|
GetMarkedRange
(
TInt
&,
TInt
&)
|
CAknDoubleSpanScrollBar
*
|
GetScrollBar
()
|
CAlfLayout
*
|
GetStatusLayout
()
|
TInt
|
GetTotalHeight
()
|
TPoint
|
GetViewCenterPosition
()
|
TInt
|
GetViewTopPosition
()
|
TBool
|
GetVisibleFocusedHotspotLine
(
TInt
&)
|
TBool
|
IsHotspotHighlighted
()
|
TSize
|
LayoutVisualsL
(
CAlfLayout
*,
TInt
,
TInt
)
|
TBool
|
MarkEnabled
()
|
void
|
MoveDownL
()
|
void
|
MoveLeftL
()
|
void
|
MoveRightL
()
|
void
|
MoveUpL
()
|
CFsTextViewerVisualizerData
*
|
Navigator
()
|
CFsTextViewerVisualizer
*
|
NewL
(
CFsTextViewerControl
&,
CFsRichText
*,
CFsSmileyDictionary
*,
CFsTextViewerVisualizerSettings
*)
|
TBool
|
NextVisibleHotspotL
(
TBool
&)
|
void
|
NotifyControlVisibilityChange
(
TBool
)
|
void
|
PageDownL
(
TInt
)
|
void
|
PageUpL
(
TInt
)
|
CFsTextParser
*
|
Parser
()
|
TBool
|
PrevVisibleHotspotL
(
TBool
&)
|
void
|
RedrawPartBgsL
()
|
void
|
RefreshPartBgsL
()
|
void
|
ReloadL
()
|
void
|
ReloadPicturesL
(
TInt
)
|
void
|
RemoveEndLinesL
(
TInt
)
|
void
|
RemoveStatusLayout
()
|
void
|
ReplaceTextL
(
CFsRichText
*,
CFsSmileyDictionary
*)
|
void
|
Reset
()
|
CAlfLayout
*
|
RootLayout
()
|
void
|
ScrollDownL
(
TInt
,
TInt
)
|
void
|
ScrollUpL
(
TInt
,
TInt
)
|
void
|
SetBackgroundColorL
(const
TRgb
&)
|
void
|
SetBackgroundImageL
(CAlfTexture &)
|
void
|
SetBackgroundOpacity
()
|
void
|
SetCurrentHotspotByCharL
(
TInt
)
|
void
|
SetCurrentHotspotByOrderL
(
TInt
,
TBool
)
|
void
|
SetCursorDelay
(
TInt
)
|
void
|
SetScrollDelay
(
TInt
)
|
void
|
SetScrollOffsetInLines
(
TInt
)
|
void
|
SetScrollOffsetInPx
(
TInt
)
|
void
|
SetSmileySize
(
TSize
)
|
void
|
SetWatermarkL
(
CFsTextViewerWatermark
*)
|
TBool
|
SmileysEnabled
()
|
CAlfLayout
*
|
StackLayout
()
|
void
|
SwitchMarkL
()
|
void
|
UpdateDisplaySize
()
|
void
|
UpdateStatusLayout
()
|
Constructor & Destructor Documentation
CFsTextViewerVisualizer(CFsTextViewerVisualizerSettings *)
~CFsTextViewerVisualizer()
~CFsTextViewerVisualizer
|
(
|
)
|
|
Member Functions Documentation
CalculateSizeL(MFsRichTextObject *)
CalculateWidthL(const TDesC &, TInt)
CollapseL(CAlfLayout *, TInt)
ConstructL(CFsTextViewerControl &, CFsRichText *, CFsSmileyDictionary *)
ConstructSelfL(CFsRichText *, CFsSmileyDictionary *, TBool)
ConstructVisualsL(TBool)
void
|
ConstructVisualsL
|
(
|
TBool
|
aRefreshBg = ETrue
|
)
|
[private]
|
DrawCursorL(TInt)
void
|
DrawCursorL
|
(
|
TInt
|
aTime
|
)
|
[private]
|
DrawMarkL(TInt)
void
|
DrawMarkL
|
(
|
TInt
|
aTime = 0
|
)
|
[private]
|
EnableMarkL(TBool)
void
|
EnableMarkL
|
(
|
TBool
|
aEnabled = ETrue
|
)
|
|
EnableSmileys(TBool)
void
|
EnableSmileys
|
(
|
TBool
|
aStatus = ETrue
|
)
|
|
ExpandExistingL(CAlfLayout *, TSize, TInt)
ExpandL(TInt, TInt, CAlfVisual *)
FindMaxLengthL(CAlfVisual *)
FindMaxLengthL(MFsRichTextObject *)
FocusLineL(TInt, TBool)
void
|
FocusLineL
|
(
|
TInt
|
aLine,
|
|
TBool
|
aShowAsFirstLine = EFalse
|
|
)
|
|
GetCurrentHotspotByOrder()
TInt
|
GetCurrentHotspotByOrder
|
(
|
)
|
|
GetCurrentHotspotTextL()
HBufC
*
|
GetCurrentHotspotTextL
|
(
|
)
|
|
GetHotspotRangeL(TInt &, TInt &)
void
|
GetHotspotRangeL
|
(
|
TInt
&
|
aBegin,
|
|
TInt
&
|
aEnd
|
|
)
|
|
GetMarkedRange(TInt &, TInt &)
void
|
GetMarkedRange
|
(
|
TInt
&
|
aBegin,
|
|
TInt
&
|
aEnd
|
|
)
|
|
GetViewCenterPosition()
TPoint
|
GetViewCenterPosition
|
(
|
)
|
|
GetViewTopPosition()
TInt
|
GetViewTopPosition
|
(
|
)
|
|
GetVisibleFocusedHotspotLine(TInt &)
TBool
|
GetVisibleFocusedHotspotLine
|
(
|
TInt
&
|
aLineNum
|
)
|
const
|
InitDefaultsL()
void
|
InitDefaultsL
|
(
|
)
|
[private]
|
IsHotspotHighlighted()
TBool
|
IsHotspotHighlighted
|
(
|
)
|
|
LayoutVisualsL(CAlfLayout *, TInt, TInt)
NewL(CFsTextViewerControl &, CFsRichText *, CFsSmileyDictionary *, CFsTextViewerVisualizerSettings *)
NextVisibleHotspotL(TBool &)
NotifyControlVisibilityChange(TBool)
void
|
NotifyControlVisibilityChange
|
(
|
TBool
|
aIsVisible
|
)
|
|
PageDownL(TInt)
void
|
PageDownL
|
(
|
TInt
|
aTime = EUseDefaultScrollTime
|
)
|
|
Parameters
TInt
aTime = EUseDefaultScrollTime
|
|
PageUpL(TInt)
void
|
PageUpL
|
(
|
TInt
|
aTime = EUseDefaultScrollTime
|
)
|
|
Parameters
TInt
aTime = EUseDefaultScrollTime
|
|
PrepareRangedVisL(MFsRichTextObject *, CAlfLayout *)
PrevVisibleHotspotL(TBool &)
ReloadPicturesL(TInt)
void
|
ReloadPicturesL
|
(
|
TInt
|
aLine
|
)
|
|
RemoveEndLinesL(TInt)
void
|
RemoveEndLinesL
|
(
|
TInt
|
aLines
|
)
|
|
RemoveStatusLayout()
void
|
RemoveStatusLayout
|
(
|
)
|
|
ReplaceTextL(CFsRichText *, CFsSmileyDictionary *)
ScrollDownL(TInt, TInt)
void
|
ScrollDownL
|
(
|
TInt
|
aOffset = EUseDefaultScrollOffset,
|
|
TInt
|
aTime = EUseDefaultScrollTime
|
|
)
|
|
Parameters
TInt
aOffset = EUseDefaultScrollOffset
|
|
TInt
aTime = EUseDefaultScrollTime
|
|
ScrollUpL(TInt, TInt)
void
|
ScrollUpL
|
(
|
TInt
|
aOffset = EUseDefaultScrollOffset,
|
|
TInt
|
aTime = EUseDefaultScrollTime
|
|
)
|
|
Parameters
TInt
aOffset = EUseDefaultScrollOffset
|
|
TInt
aTime = EUseDefaultScrollTime
|
|
SetBackgroundColorL(const TRgb &)
void
|
SetBackgroundColorL
|
(
|
const
TRgb
&
|
aColor
|
)
|
|
SetBackgroundImageL(CAlfTexture &)
void
|
SetBackgroundImageL
|
(
|
CAlfTexture &
|
aTexture
|
)
|
|
SetBackgroundOpacity()
void
|
SetBackgroundOpacity
|
(
|
)
|
|
SetColumnsL(TBool)
void
|
SetColumnsL
|
(
|
TBool
|
aShowScrollBar
|
)
|
[private]
|
SetCurrentHotspotByCharL(TInt)
void
|
SetCurrentHotspotByCharL
|
(
|
TInt
|
aIndex
|
)
|
|
SetCurrentHotspotByOrderL(TInt, TBool)
void
|
SetCurrentHotspotByOrderL
|
(
|
TInt
|
aIndex,
|
|
TBool
|
aFocusLine = EFalse
|
|
)
|
|
SetCursorDelay(TInt)
void
|
SetCursorDelay
|
(
|
TInt
|
aDelay
|
)
|
|
SetScrollDelay(TInt)
void
|
SetScrollDelay
|
(
|
TInt
|
aDelay
|
)
|
|
SetScrollOffsetInLines(TInt)
void
|
SetScrollOffsetInLines
|
(
|
TInt
|
aLineOffset
|
)
|
|
SetScrollOffsetInPx(TInt)
void
|
SetScrollOffsetInPx
|
(
|
TInt
|
aPxOffset
|
)
|
|
SetSmileySize(TSize)
void
|
SetSmileySize
|
(
|
TSize
|
aSize
|
)
|
|
SetWatermarkL(CFsTextViewerWatermark *)
UpdateDisplaySize()
void
|
UpdateDisplaySize
|
(
|
)
|
|
UpdateScrollbarL()
void
|
UpdateScrollbarL
|
(
|
)
|
[private]
|
UpdateStatusLayout()
void
|
UpdateStatusLayout
|
(
|
)
|
|
Member Enumerations Documentation
Enum anonymous
Enumerators
EUseDefaultScrollOffset = -10000
|
|
EUseDefaultScrollTime = -1
|
|
Member Data Documentation
CAlfBrush * iBackgroundBrush
CAlfLayout * iBackgroundLayout
CAlfBorderBrush * iBorder
CAlfBorderBrush *
|
iBorder
|
[private]
|
CFsRichText * iCFsRichText
CAlfGridLayout * iComponentLayout
CAlfAnchorLayout * iContentLayout
CFsTextViewerControl * iControl
TInt
iCursorDelay
TInt
|
iCursorDelay
|
[private]
|
TBool
iCursorEnabled
TBool
|
iCursorEnabled
|
[private]
|
CAlfImageVisual * iDummyScrollbar
TAlfTimedValue
iEffectiveOffset
TInt
iExpandDelay
TInt
|
iExpandDelay
|
[private]
|
TFsTextureObserver
iFsTextureObserver
CFsTextViewerCoordinator * iHelper
TBool
iIsLayouted
TBool
|
iIsLayouted
|
[private]
|
CFsTextViewerLayouter * iLayouter
TInt
iLineOffset
TInt
|
iLineOffset
|
[private]
|
CFsTextViewerMarkFacility * iMarkFacility
CAlfLayout * iMarkingLayout
CFsTextViewerVisualizerData * iNavigator
TInt
iRichTextLength
TInt
|
iRichTextLength
|
[private]
|
CAlfDeckLayout * iRootLayout
CWsScreenDevice * iScreenDev
TBool
iScrollByCursor
TBool
|
iScrollByCursor
|
[private]
|
CAknDoubleSpanScrollBar * iScrollbar
TAknDoubleSpanScrollBarModel
iScrollbarModel
TInt
iScrollbarPos
TInt
|
iScrollbarPos
|
[private]
|
TFsScrollbarVisibility
iScrollbarVisibility
TFsScrollbarVisibility
|
iScrollbarVisibility
|
[private]
|
TBool
iScrollbarVisible
TBool
|
iScrollbarVisible
|
[private]
|
TInt
iScrollingDelay
TInt
|
iScrollingDelay
|
[private]
|
TInt
iScrollingOffset
TInt
|
iScrollingOffset
|
[private]
|
CFsTextViewerSelectsManager * iSelector
CFsTextViewerVisualizerSettings * iSettings
CFsTextViewerSkinData * iSkinData
CFsSmileyDictionary * iSmileyDict
TBool
iSmileyEnabled
TBool
|
iSmileyEnabled
|
[private]
|
CAlfAnchorLayout * iStatusLineLayout
CFsTextStyleManager * iTextStyleManager
CFsTextureLoader * iTextureLoader
TInt
iTotalHeight
TInt
|
iTotalHeight
|
[private]
|
CFsTextViewerWatermark * iWatermark
CAlfImageVisual * iWatermarkVisual
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.