CSVGTUIDialog Class Reference

class CSVGTUIDialog : public CAknDialog
Provides the dialog functionality for viewing SVGT files. SVGTUIControl.lib
Since
3.0
Public Member Functions
~CSVGTUIDialog ()
IMPORT_C void AssignImageData (const TDesC &, HBufC8 *)
TInt ExecuteLD ( RFile &, MSvgtAppObserver *)
void HandleApplicationExitL ( TInt )
void HandleApplicationForegroundEvent ( TBool )
TBool IsLoadingDone ()
TBool IsTextContentChanged ()
IMPORT_C CSVGTUIDialog * NewL ()
IMPORT_C CSVGTUIDialog * NewLC ()
void ProcessCommandL ( TInt )
void SaveComplete ( TInt )
TInt SaveSvgDom (const TDesC &)
void StartUsingContentFileHandle ()
void StopUsingContentFileHandle ()
void VolumeMuted ( TBool )
Protected Member Functions
SEikControlInfo CreateCustomControlL ( TInt )
void DrawProgressBarL ( TUint , TUint )
void DynInitMenuPaneL ( TInt , CEikMenuPane *)
void FormatTimeL (const TUint &, TDes &)
void HandleResourceChange ( TInt )
TBool LaunchSaveQueryDialogL ()
TKeyResponse OfferKeyEventL (const TKeyEvent &, TEventCode )
TBool OkToExitL ( TInt )
TBool SaveNeededL ( TInt )
void SetNaviPaneInfoL ( TBool , const TDesC &)
void SizeChanged ()
void SwitchDialogLayoutL ( TBool )
Private Member Functions
CSVGTUIDialog ()
TInt ButtonContainerTimerCallBack ( TAny *)
void ConstructL ()
void DrawMSKLabelL ( TInt , TInt )
TBool HandleCustControlPointerEventL (const TPointerEvent &)
void RemoveMSKLabel ()
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CAknDialog::CAknDialog()
CAknDialog::ConstructL(TInt)
CAknDialog::CreateMenuBarL(TInt)
CAknDialog::DisplayMenuL()
CAknDialog::Draw(const TRect &)const
CAknDialog::ExecuteLD(TInt)
CAknDialog::FocusChanged(TDrawNow)
CAknDialog::HandlePointerEventL(const TPointerEvent &)
CAknDialog::HideMenu()
CAknDialog::MenuShowing()const
CAknDialog::MopSupplyObject(TTypeUid)
CAknDialog::PrepareLC(TInt)
CAknDialog::RunLD()
CAknDialog::SetEmphasis(CCoeControl *,TBool)
CAknDialog::~CAknDialog()
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()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::ActivateL()
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetGc()const
CCoeControl::GetHelpContext(TCoeHelpContext &)const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MaximumWidth()const
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::PrepareForFocusLossL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetContainerWindowL(const CCoeControl &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetDimmed(TBool)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
CEikBorderedControl::Border()const
CEikBorderedControl::CEikBorderedControl()
CEikBorderedControl::CEikBorderedControl(const TGulBorder &)
CEikBorderedControl::HasBorder()const
CEikBorderedControl::SetAdjacent(TInt)
CEikBorderedControl::SetBorder(TGulBorder::TBorderType)
CEikBorderedControl::SetBorder(TInt)
CEikDialog::ActivateFirstPageL()const
CEikDialog::ActivePageId()const
CEikDialog::ActivePageIndex()const
CEikDialog::AddAutoDateEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TTime *)
CEikDialog::AddAutoDurationEditorL(const TDesC &,TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &,TBool,TTimeIntervalSeconds *)
CEikDialog::AddAutoFixedPointEditorL(const TDesC &,TInt,TInt,TInt,TInt *,TInt)
CEikDialog::AddAutoFloatEditorL(const TDesC &,TInt,const TReal &,const TReal &,TReal *)
CEikDialog::AddAutoGlobalTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TInt,CGlobalText *,TInt,TInt)
CEikDialog::AddAutoNumberEditorL(const TDesC &,TInt,TInt,TInt,TInt *)
CEikDialog::AddAutoRangeEditorL(const TDesC &,TInt,TInt,TInt,HBufC *,SEikRange *)
CEikDialog::AddAutoRichTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TInt,CGlobalText *,TInt,TInt)
CEikDialog::AddAutoSecretEditorL(const TDesC &,TInt,TDes *)
CEikDialog::AddAutoTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TDes *)
CEikDialog::AddAutoTimeAndDateEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TBool,HBufC *,TTime *)
CEikDialog::AddAutoTimeEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TTime *)
CEikDialog::AddAutoTimeOffsetEditorL(const TDesC &,TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &,TBool,TTimeIntervalSeconds *)
CEikDialog::AdjustAllIdsOnPage(TInt,TInt)
CEikDialog::BorderStyle()
CEikDialog::ButtonCommandObserver()const
CEikDialog::ButtonGroupContainer()const
CEikDialog::CEikDialog()
CEikDialog::ComponentControl(TInt)const
CEikDialog::ConstructAutoDialogLC(TInt,TInt)
CEikDialog::ConstructSleepingAlertDialogL(TInt)
CEikDialog::ConstructSleepingDialogL(TInt)
CEikDialog::Control(TInt)const
CEikDialog::ControlCaption(TInt)const
CEikDialog::ControlOrNull(TInt)const
CEikDialog::ControlsOnPage(RArray< CEikCaptionedControl * > &,TInt)const
CEikDialog::ConvertCustomControlTypeToBaseControlType(TInt)const
CEikDialog::CountComponentControls()const
CEikDialog::CreateLineByTypeL(const TDesC &,TInt,TInt,TAny *)
CEikDialog::CreateLineByTypeL(const TDesC &,TInt,TInt,TInt,TAny *)
CEikDialog::CurrentLine()const
CEikDialog::DeclareAutoDateEditor(TInt,TTime *)
CEikDialog::DeclareAutoDurationEditor(TInt,TTimeIntervalSeconds *)
CEikDialog::DeclareAutoFixedPointEditor(TInt,TInt *)
CEikDialog::DeclareAutoNumberEditor(TInt,TInt *)
CEikDialog::DeclareAutoRangeEditor(TInt,SEikRange *)
CEikDialog::DeclareAutoSecretEditor(TInt,TDes *)
CEikDialog::DeclareAutoTextEditorL(TInt,TDes *)
CEikDialog::DeclareAutoTimeAndDateEditor(TInt,TTime *)
CEikDialog::DeclareAutoTimeEditor(TInt,TTime *)
CEikDialog::DeclareAutoTimeOffsetEditor(TInt,TTimeIntervalSeconds *)
CEikDialog::DeclareItemAuto(TInt,TInt,TAny *)
CEikDialog::DeleteLine(TInt,TBool)
CEikDialog::DialogFlags()
CEikDialog::DurationEditorValue(TInt)const
CEikDialog::ExitSleepingDialog()
CEikDialog::Extension()const
CEikDialog::FindLineIndex(const CCoeControl &)const
CEikDialog::FixedPointEditorDecimal(TInt)const
CEikDialog::FixedPointEditorValue(TInt)const
CEikDialog::FloatEditorValue(TInt)const
CEikDialog::FloatingPointEditorValue(TInt)const
CEikDialog::FormFlagsFromActivePage()
CEikDialog::GetAutoValuesFromPage(CEikCapCArray *)
CEikDialog::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CEikDialog::GetCustomAutoValue(TAny *,TInt,const CCoeControl *)
CEikDialog::GetEdwinText(TDes &,TInt)const
CEikDialog::GetFileName(TFileName *,TInt)const
CEikDialog::GetFirstLineOnFirstPageOrNull()
CEikDialog::GetLabelText(TDes &,TInt)const
CEikDialog::GetLineByLineAndPageIndex(TInt,TInt)const
CEikDialog::GetNumberOfLinesOnPage(TInt)const
CEikDialog::GetNumberOfPages()const
CEikDialog::GetSecretEditorText(TDes &,TInt)const
CEikDialog::GetTextEditorText(CGlobalText *&,TInt)
CEikDialog::HandleControlEventL(CCoeControl *,TCoeEvent)
CEikDialog::HandleControlStateChangeL(TInt)
CEikDialog::HandleDialogPageEventL(TInt)
CEikDialog::HandleInteractionRefused(TInt)
CEikDialog::IdOfFocusControl()const
CEikDialog::InputCapabilities()const
CEikDialog::InsertLineL(TInt,TInt,TInt)
CEikDialog::IsEditable()const
CEikDialog::Layout()
CEikDialog::Line(TInt)const
CEikDialog::LineChangedL(TInt)
CEikDialog::ListBoxCurrentItem(TInt)const
CEikDialog::MakeLineVisible(TInt,TBool)
CEikDialog::MakePanelButtonVisible(TInt,TBool)
CEikDialog::MakeVisible(TBool)
CEikDialog::MakeWholeLineVisible(TInt,TBool)
CEikDialog::MappedCommandId(TInt)
CEikDialog::NumberEditorValue(TInt)const
CEikDialog::PageChangedL(TInt)
CEikDialog::PostLayoutDynInitL()
CEikDialog::PreLayoutDynInitL()
CEikDialog::PreferredSize(const TSize &)const
CEikDialog::PrepareContext(CWindowGc &)const
CEikDialog::PrepareForFocusTransitionL()
CEikDialog::PublishDialogL(TInt,TUid)
CEikDialog::RangeEditorValue(TInt)const
CEikDialog::ReadResourceLC(TInt)
CEikDialog::RegisterDialgWithPageSelector()
CEikDialog::ResetLineMinimumSizes()
CEikDialog::ResetSecretEditor(TInt)
CEikDialog::RotateFocusByL(TInt)
CEikDialog::RouseSleepingDialog()
CEikDialog::SetControlCaptionL(TInt,TInt)
CEikDialog::SetControlCaptionL(TInt,const TDesC &)
CEikDialog::SetDurationEditorMinAndMax(TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &)
CEikDialog::SetDurationEditorValue(TInt,const TTimeIntervalSeconds &)
CEikDialog::SetEditableL(TBool)
CEikDialog::SetEdwinTextL(TInt,const TDesC *)
CEikDialog::SetFileNameL(TInt,const TDesC *)
CEikDialog::SetFixedPointEditorDecimal(TInt,TInt)
CEikDialog::SetFixedPointEditorValueL(TInt,TInt)
CEikDialog::SetFloatEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetFloatEditorValueL(TInt,TReal)
CEikDialog::SetFloatingPointEditorValueL(TInt,const TReal *)
CEikDialog::SetInitialCurrentLine()
CEikDialog::SetLabelL(TInt,TInt)
CEikDialog::SetLabelL(TInt,const TDesC &)
CEikDialog::SetLabelReserveLengthL(TInt,TInt)
CEikDialog::SetLineDimmedNow(TInt,TBool)
CEikDialog::SetLineNonFocusing(TInt)
CEikDialog::SetListBoxCurrentItem(TInt,TInt)
CEikDialog::SetMediatorObserver(MAknDialogMediatorObserver *)
CEikDialog::SetMultilineQuery(TBool)
CEikDialog::SetNumberEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetNumberEditorValue(TInt,TInt)
CEikDialog::SetPageDensePacking(TInt,TBool)
CEikDialog::SetPageDimmedNow(TInt,TBool)
CEikDialog::SetRangeEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetRangeEditorValue(TInt,const SEikRange &)
CEikDialog::SetSizeAndPosition(const TSize &)
CEikDialog::SetTTimeEditorMinAndMax(TInt,const TTime &,const TTime &)
CEikDialog::SetTTimeEditorValue(TInt,const TTime &)
CEikDialog::SetTextEditorTextL(TInt,const CGlobalText *)
CEikDialog::SetTimeOffsetEditorMinAndMax(TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &)
CEikDialog::SetTimeOffsetEditorValue(TInt,const TTimeIntervalSeconds &)
CEikDialog::SetTitleL(TInt)
CEikDialog::SetTitleL(const TDesC &)
CEikDialog::SlideDialog()
CEikDialog::SwapButtonGroupContainer(CEikButtonGroupContainer *)
CEikDialog::SwitchLineLatency(TInt,TInt)
CEikDialog::TTimeEditorValue(TInt)const
CEikDialog::TimeOffsetEditorValue(TInt)const
CEikDialog::Title()const
CEikDialog::TryChangeFocusToL(TInt)
CEikDialog::TryExitL(TInt)
CEikDialog::UpdatePageL(TBool)
CEikDialog::WriteInternalStateL(RWriteStream &)const
CEikDialog::~CEikDialog()
Inherited Enumerations
CCoeControl:TZoomType
CEikDialog:@159
Private Attributes
MSvgtAppObserver * iAppObserver
HBufC * iAppTitleText
CPeriodic * iBtnCntrTimer
TPoint iBtnGrpPos
TSize iBtnGrpSize
CEikButtonGroupContainer * iCbaGroup
CSVGTCustControl * iCustControl
RFile * iFileHandlePtr
TBool iIsButtonContainerVisible
TBool iIsFileHandleValid
TBool iIsVolumeMuted
TInt iLastCommandID
CAknNavigationDecorator * iNaviDecorator
TBool iPreview
HBufC * iProgressText
TBool iQuietExitWhenOrientationChange
TInt iResourceOffset
TBool iSaveEnable
HBufC * iTimeFormatLong
HBufC * iTimeFormatShort
Inherited Attributes
CAknDialog::iMenuBar
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikBorderedControl::iBorder

Constructor & Destructor Documentation

CSVGTUIDialog()

CSVGTUIDialog ( ) [private]

C++ default constructor.

~CSVGTUIDialog()

~CSVGTUIDialog ( ) [virtual]

Member Functions Documentation

AssignImageData(const TDesC &, HBufC8 *)

IMPORT_C void AssignImageData ( const TDesC & aUri,
HBufC8 * aData
)

Parameters

const TDesC & aUri
HBufC8 * aData

ButtonContainerTimerCallBack(TAny *)

TInt ButtonContainerTimerCallBack ( TAny * aAny ) [private, static]

Parameters

TAny * aAny

ConstructL()

void ConstructL ( ) [private]

Second Phase constructor.

CreateCustomControlL(TInt)

SEikControlInfo CreateCustomControlL ( TInt aControlType ) [protected, virtual]

From CAknDialog - Called by framework to add custom control to the dialog when specified in resource.

Parameters

TInt aControlType

DrawMSKLabelL(TInt, TInt)

void DrawMSKLabelL ( TInt aResourceID,
TInt aCommandID
) [private]
From MSVGTMSKImpl . This function is called to draw the MSK label by pushing the command to position button's stack.
Since
3.2

Parameters

TInt aResourceID - The MSK label resourceID
TInt aCommandID - The command associated with that label

DrawProgressBarL(TUint, TUint)

void DrawProgressBarL ( TUint aTimeElapsed,
TUint aTotalTime
) [protected]
From MSVGTProgressBarDrawImpl . This function is called in order to render the progress indicator.
Since
3.0

Parameters

TUint aTimeElapsed - Contains the time elapsed in seconds.
TUint aTotalTime - Contains the total time in seconds

DynInitMenuPaneL(TInt, CEikMenuPane *)

void DynInitMenuPaneL ( TInt aResourceId,
CEikMenuPane * aMenuPane
) [protected, virtual]

From CAknDialog - Called by framework to dynamically manipulate the menu for the dialog.

Parameters

TInt aResourceId
CEikMenuPane * aMenuPane

ExecuteLD(RFile &, MSvgtAppObserver *)

TInt ExecuteLD ( RFile & aFileHandle,
MSvgtAppObserver * ptr
) [virtual]
From CAknDialog Executes the dialog and deletes the dialog on exit.
Since
3.0

Parameters

RFile & aFileHandle File handle to the SVGT content.
MSvgtAppObserver * ptr

FormatTimeL(const TUint &, TDes &)

void FormatTimeL ( const TUint & aDuration,
TDes & aBuf
) const [protected]

Convert a time given in milliseconds to a descriptor. The format depends on how big the given duration is. Durations of less than an hour are formatted using the short format (02:24). Longer durations are formatted using the long format (1:02:04). Maximum duration is 10 hours.

Since
3.0

Parameters

const TUint & aDuration duration in seconds
TDes & aBuf descriptor to hold the converted string

HandleApplicationExitL(TInt)

void HandleApplicationExitL ( TInt aExitCommand )

Parameters

TInt aExitCommand

HandleApplicationForegroundEvent(TBool)

void HandleApplicationForegroundEvent ( TBool aForeground ) [virtual]
Function used by the application to handle background/foreground events. When the application goes to background the presentation needs to be paused. When application comes back to foreground, the user would need to start the paused presentation.
Since
3.0

Parameters

TBool aForeground

HandleCustControlPointerEventL(const TPointerEvent &)

TBool HandleCustControlPointerEventL ( const TPointerEvent & aPointerEvent ) [private, virtual]

Parameters

const TPointerEvent & aPointerEvent

HandleResourceChange(TInt)

void HandleResourceChange ( TInt aType ) [protected, virtual]

Parameters

TInt aType

IsLoadingDone()

TBool IsLoadingDone ( ) [virtual]
This function is called by the application to check whether the loading of the svg content is done.
Since
3.0

IsTextContentChanged()

TBool IsTextContentChanged ( ) [virtual]
Function used by the client to check if text in the content was modified, to check if save is needed.
Since
3.1

LaunchSaveQueryDialogL()

TBool LaunchSaveQueryDialogL ( ) const [protected]
This function prompts a save confirmation query to the user
Since
3.0

NewL()

IMPORT_C CSVGTUIDialog * NewL ( ) [static]

Two-phased constructor.

NewLC()

IMPORT_C CSVGTUIDialog * NewLC ( ) [static]

Two-phased constructor.

OfferKeyEventL(const TKeyEvent &, TEventCode)

TKeyResponse OfferKeyEventL ( const TKeyEvent & aKeyEvent,
TEventCode aType
) [protected, virtual]
From CCoeControl Key Handling Method for control.
Since
3.0

Parameters

const TKeyEvent & aKeyEvent Key Event.
TEventCode aType Type of Key Event.

OkToExitL(TInt)

TBool OkToExitL ( TInt aButtonId ) [protected, virtual]

From CAknDialog - Framework method to determine if it OK to exit the dialog.

Parameters

TInt aButtonId

ProcessCommandL(TInt)

void ProcessCommandL ( TInt aCommandId ) [virtual]

From CAknDialog - Called by framework to process commands invoked by the user.

Parameters

TInt aCommandId

RemoveMSKLabel()

void RemoveMSKLabel ( ) [private]
From MSVGTMSKImpl . This function is called to remove MSK label from button group's stack
Since
3.2

SaveComplete(TInt)

void SaveComplete ( TInt aError ) [virtual]
Function used by the client to notify dialog that save is complete
Since
3.1

Parameters

TInt aError

SaveNeededL(TInt)

TBool SaveNeededL ( TInt aButtonId ) [protected]
This function is called when the user presses back or Exit. prompts a confirmation query to the user and then calls DoSaveL
Since
3.0

Parameters

TInt aButtonId

SaveSvgDom(const TDesC &)

TInt SaveSvgDom ( const TDesC & aFileName ) [virtual]
Function used by the client to save the modified svg content
Since
3.1

Parameters

const TDesC & aFileName

SetNaviPaneInfoL(TBool, const TDesC &)

void SetNaviPaneInfoL ( TBool aIsVolumeMuted,
const TDesC & aText
) [protected]
Sets the mute icon & text to the navi pane .
Since
3.2

Parameters

TBool aIsVolumeMuted whether to show the the mute icon.
const TDesC & aText The text show the progress info.

SizeChanged()

void SizeChanged ( ) [protected, virtual]

From CAknDialog - Called by framework to notify resize of dialog.

StartUsingContentFileHandle()

void StartUsingContentFileHandle ( ) [virtual]
Function used by the client to indicate the filehandle is going to be valid now. e.g. In Move operation of the file, client could close old file and open new one after move is over.
Since
3.0

StopUsingContentFileHandle()

void StopUsingContentFileHandle ( ) [virtual]
Function used by the client to indicate the filehandle is no longer going to be valid. e.g. In Move operation of the file, client could close old file and open new one after move is over.
Since
3.0

SwitchDialogLayoutL(TBool)

void SwitchDialogLayoutL ( TBool aIsFullScreen ) [protected]
This function changes the layout of the dialog to full screen mode
Since
3.0

Parameters

TBool aIsFullScreen

VolumeMuted(TBool)

void VolumeMuted ( TBool aIsVolumeMuted )
This method is to remove the muted icon
Since
5.0

Parameters

TBool aIsVolumeMuted

Member Data Documentation

MSvgtAppObserver * iAppObserver

MSvgtAppObserver * iAppObserver [private]

HBufC * iAppTitleText

HBufC * iAppTitleText [private]

CPeriodic * iBtnCntrTimer

CPeriodic * iBtnCntrTimer [private]

TPoint iBtnGrpPos

TPoint iBtnGrpPos [private]

TSize iBtnGrpSize

TSize iBtnGrpSize [private]

CEikButtonGroupContainer * iCbaGroup

CEikButtonGroupContainer * iCbaGroup [private]

CSVGTCustControl * iCustControl

CSVGTCustControl * iCustControl [private]

RFile * iFileHandlePtr

RFile * iFileHandlePtr [private]

TBool iIsButtonContainerVisible

TBool iIsButtonContainerVisible [private]

TBool iIsFileHandleValid

TBool iIsFileHandleValid [private]

TBool iIsVolumeMuted

TBool iIsVolumeMuted [private]

TInt iLastCommandID

TInt iLastCommandID [private]

CAknNavigationDecorator * iNaviDecorator

CAknNavigationDecorator * iNaviDecorator [private]

TBool iPreview

TBool iPreview [private]

HBufC * iProgressText

HBufC * iProgressText [private]

TBool iQuietExitWhenOrientationChange

TBool iQuietExitWhenOrientationChange [private]

TInt iResourceOffset

TInt iResourceOffset [private]

TBool iSaveEnable

TBool iSaveEnable [private]

HBufC * iTimeFormatLong

HBufC * iTimeFormatLong [private]

HBufC * iTimeFormatShort

HBufC * iTimeFormatShort [private]