CNotepadViewerDialog Class Reference

class CNotepadViewerDialog : public CNotepadDialogBase

Dialog of viewer mode. CNotepadViewerDialog is a dialog for Notepad viewer.

CNotepadDialogBase

Public Member Functions
~CNotepadViewerDialog()
voidDialogDismissedL(TInt)
voidHandleDialogPointerEventL(const TPointerEvent &)
voidHandleFindItemEventL(const CItemFinder::CFindItemExt &, MAknItemFinderObserver::TEventFlag, TUint)
voidInitDescriptorViewerL(HBufC **, TInt &, TBool, const TDesC &, const TDesC &, const TDesC &)
IMPORT_C voidLoadFileL()
IMPORT_C voidLoadFileL(RFile &)
IMPORT_C CNotepadViewerDialog *NewL(const TInt, CEikDialog **)
voidNotifyCompletedL(TInt)
IMPORT_C voidOpenFileL(const TDesC &, const TDesC *, TBool, TUint)
IMPORT_C voidOpenFileL(RFile &, const TDesC *, TBool, TUint)
voidReadAutoHlCenRepValueAndSetNotifyL()
voidSetAutomaticHighlightL(const TBool)
IMPORT_C voidSetFileL(const TDesC &, const TDesC *, TBool, TUint)
IMPORT_C voidSetFileL(RFile &, const TDesC *, TBool, TUint)
Protected Member Functions
voidHandleNotifyError(TUint32, TInt, CCenRepNotifyHandler *)
voidHandleNotifyInt(TUint32, TInt)
voidHandleResourceChange(TInt)
TBool OkToExitL(TInt)
voidSizeChanged()
Private Member Functions
voidActivateL()
IMPORT_C voidCNotepadViewerDialog_Reserved()
voidCleanProgressDialogL()
voidConstructL(TResourceReader &)
voidDynInitMenuBarL(TInt, CEikMenuBar *)
voidDynInitMenuPaneL(TInt, CEikMenuPane *)
voidExitDialogOnTimerExpireL()
voidGetHelpContext(TCoeHelpContext &)
voidHandleNumberCallL()
voidLoadFileByStepsL(RFile &)
TKeyResponse OfferKeyEventL(const TKeyEvent &, TEventCode)
voidPostLayoutDynInitL()
voidProcessCommandL(TInt)
voidShowConfirmationNoteL()
TInt TimerCallbackL(TAny *)
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::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::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::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()
CNotepadDialogBase::CreateCustomControlL(TInt)
CNotepadDialogBase::ExecuteConfirmationQueryL(TDesC *)
CNotepadDialogBase::ExecuteConfirmationQueryL(TInt)
CNotepadDialogBase::ExecuteLD()
CNotepadDialogBase::InsertSendMenuItemAfterL(CSendUi &,CEikMenuPane &,TInt)
CNotepadDialogBase::IsExitDelayedBySendUi()const
CNotepadDialogBase::IsModeless()
CNotepadDialogBase::IsNoteListDialog()const
CNotepadDialogBase::IsNotepad()const
CNotepadDialogBase::IsTemplateListDialog()const
CNotepadDialogBase::IsTemplates()const
CNotepadDialogBase::IsWaiting()const
CNotepadDialogBase::NONSHARABLE_CLASS(CCreateAndAppendFiles)
CNotepadDialogBase::RefreshTitleL()
CNotepadDialogBase::SendAsL(CSendUi &,TInt,TBool,const TDesC *,const CPlainText *)
CNotepadDialogBase::SendAsL(CSendUi &,TInt,const TDesC *,const CPlainText *,const TDesC *)
CNotepadDialogBase::SendByKeysL(CSendUi &,TInt,CNotepadModel &,const RArray< TInt > &)
CNotepadDialogBase::SetFileHandleL(RFile &)
CNotepadDialogBase::SetTitleL(const TDesC *)
CNotepadDialogBase::~CNotepadDialogBase()
Private Member Enumerations
enumTNotepadViewerFlags { ENotepadMenuByOkKey = 0x02, EMenuByItemActication = 0x04 }
Inherited Enumerations
CCoeControl:TZoomType
CEikDialog:@141
Private Attributes
CItemFinder *iAutoFinder
TBool iAutomaticHlInitialized
TBool iAutomaticHlValue
CRepository *iCenRepSession
TPtrC iContent
HBufC **iContentPointer
TPtrC iDelConfirmation
TBool iDescriptorViewer
TBool iEditable
CNotepadRichTextEditor *iEditor
TUint iEncoding
RFile *iFile
TBool iFileExist
HBufC *iFilename
CFindItemMenu *iFindMenu
TUint16 iFlags
TBool iForwardLocked
TBool iGuessEncoding
CNotepadLoadFileAO *iLoadFileAO
CCenRepNotifyHandler *iNotifier
CPeriodic *iPeriodicTimer
CAknProgressDialog *iProgressDialogLoadfile
TInt *iReturnValue
CSendUi *iSendUi
TInt iStatus
TBool iTaskSwapperFlag
TPtrC iTitle
Inherited Attributes
CAknDialog::iMenuBar
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikBorderedControl::iBorder
CNotepadDialogBase::iCreateFile
CNotepadDialogBase::iMskFlag
CNotepadDialogBase::iResId
CNotepadDialogBase::iSelfPtr

Constructor & Destructor Documentation

~CNotepadViewerDialog()

IMPORT_C~CNotepadViewerDialog()[virtual]

Destructor.

Member Functions Documentation

ActivateL()

voidActivateL()[private, virtual]

From CCoeControl.

CNotepadViewerDialog_Reserved()

IMPORT_C voidCNotepadViewerDialog_Reserved()[private]

Reserved API entry.

CleanProgressDialogL()

voidCleanProgressDialogL()[private]
Clean the progress dialog
Since
5.2

ConstructL(TResourceReader &)

voidConstructL(TResourceReader &aReader)[private]

Second phase constructor.

Parameters

TResourceReader & aReaderresource reader already opened for one of "STRUCT NOTEPAD_LIST_DIALOG", "STRUCT NOTEPAD_EDITOR_DIALOG", or "STRUCT NOTEPAD_VIEWER_DIALOG".

DialogDismissedL(TInt)

voidDialogDismissedL(TIntaButtonId)

Parameters

TInt aButtonId

DynInitMenuBarL(TInt, CEikMenuBar *)

voidDynInitMenuBarL(TIntaResourceId,
CEikMenuBar *aMenuBar
)[private]

Parameters

TInt aResourceIdresource id.
CEikMenuBar * aMenuBar

DynInitMenuPaneL(TInt, CEikMenuPane *)

voidDynInitMenuPaneL(TIntaResourceId,
CEikMenuPane *aMenuPane
)[private, virtual]

Parameters

TInt aResourceIdresource id.
CEikMenuPane * aMenuPane

ExitDialogOnTimerExpireL()

voidExitDialogOnTimerExpireL()[private]

Called in callback function to exit the dialog

GetHelpContext(TCoeHelpContext &)

voidGetHelpContext(TCoeHelpContext &aContext)const [private, virtual]

From CCoeControl.

Parameters

TCoeHelpContext & aContextTCoeHelpContext.

HandleDialogPointerEventL(const TPointerEvent &)

voidHandleDialogPointerEventL(const TPointerEvent &aPointerEvent)

Parameters

const TPointerEvent & aPointerEvent

HandleFindItemEventL(const CItemFinder::CFindItemExt &, MAknItemFinderObserver::TEventFlag, TUint)

voidHandleFindItemEventL(const CItemFinder::CFindItemExt &aItem,
MAknItemFinderObserver::TEventFlagaEvent,
TUintaFlags
)

Parameters

const CItemFinder::CFindItemExt & aItem
MAknItemFinderObserver::TEventFlag aEvent
TUint aFlags

HandleNotifyError(TUint32, TInt, CCenRepNotifyHandler *)

voidHandleNotifyError(TUint32aId,
TIntaError,
CCenRepNotifyHandler *aHandler
)[protected]

From MCenRepNotifyHandlerCallback Handles the notifier errors

Parameters

TUint32 aId
TInt aError
CCenRepNotifyHandler * aHandler

HandleNotifyInt(TUint32, TInt)

voidHandleNotifyInt(TUint32aId,
TIntaNewValue
)[protected]

From MCenRepNotifyHandlerCallback Handles the incoming notifications of key changes

Parameters

TUint32 aId
TInt aNewValue

HandleNumberCallL()

voidHandleNumberCallL()[private]

Handle Phone number calls

HandleResourceChange(TInt)

voidHandleResourceChange(TIntaType)[protected, virtual]

Parameters

TInt aTypeevent type.

InitDescriptorViewerL(HBufC **, TInt &, TBool, const TDesC &, const TDesC &, const TDesC &)

voidInitDescriptorViewerL(HBufC **aContentPointer,
TInt &aReturnStatus,
TBoolaReadOnly,
const TDesC &aText,
const TDesC &aTitle,
const TDesC &aDelConfirmation
)

Set information of the descriptor to be shown.

Parameters

HBufC ** aContentPointer
TInt & aReturnStatus
TBool aReadOnly
const TDesC & aText
const TDesC & aTitle
const TDesC & aDelConfirmation

LoadFileByStepsL(RFile &)

voidLoadFileByStepsL(RFile &aFile)[private]
load the file step by step
Since
5.2

Parameters

RFile & aFilethe file object to load

LoadFileL()

IMPORT_C voidLoadFileL()

Load contents of the file into the viewer.

LoadFileL(RFile &)

IMPORT_C voidLoadFileL(RFile &aFile)

Load contents of the file into the viewer.

Parameters

RFile & aFilefile handle.

NewL(const TInt, CEikDialog **)

IMPORT_C CNotepadViewerDialog *NewL(const TIntaResId,
CEikDialog **aSelfPtr
)[static]

Constructor.

Parameters

const TInt aResId
CEikDialog ** aSelfPtrpointer to pointer of this

NotifyCompletedL(TInt)

voidNotifyCompletedL(TIntaErrCode)
Notify the observer that load file completed.
Since
5.2

Parameters

TInt aErrCodethe result of load file completed.

OfferKeyEventL(const TKeyEvent &, TEventCode)

TKeyResponse OfferKeyEventL(const TKeyEvent &aKeyEvent,
TEventCodeaType
)[private, virtual]

Parameters

const TKeyEvent & aKeyEventkey event which includes ScanCode etc.
TEventCode aTypeevent type ( up, in, down...).

OkToExitL(TInt)

TBool OkToExitL(TIntaButtonId)[protected, virtual]

From CEikDialog.

Parameters

TInt aButtonId

OpenFileL(const TDesC &, const TDesC *, TBool, TUint)

IMPORT_C voidOpenFileL(const TDesC &aFilename,
const TDesC *aTitle = NULL,
TBoolaGuessEncoding = EFalse,
TUintaEncoding =  KCharacterSetIdentifierIso88591
)

Set information of the file to be shown and load it.

Parameters

const TDesC & aFilename
const TDesC * aTitle = NULLTitlePane string (if NULL, Title will be FileName).
TBool aGuessEncoding = EFalseguess encoding if ETrue (ignore aEncoding).
TUint aEncoding =  KCharacterSetIdentifierIso88591 encoding of the File

OpenFileL(RFile &, const TDesC *, TBool, TUint)

IMPORT_C voidOpenFileL(RFile &aFile,
const TDesC *aTitle = NULL,
TBoolaGuessEncoding = EFalse,
TUintaEncoding =  KCharacterSetIdentifierIso88591
)

Set information of the file to be shown and load it.

Parameters

RFile & aFilefile handle.
const TDesC * aTitle = NULLTitlePane string (if NULL, Title will be FileName).
TBool aGuessEncoding = EFalseguess encoding if ETrue (ignore aEncoding).
TUint aEncoding =  KCharacterSetIdentifierIso88591 encoding of the File

PostLayoutDynInitL()

voidPostLayoutDynInitL()[private, virtual]

From CEikDialog.

ProcessCommandL(TInt)

voidProcessCommandL(TIntaCommandId)[private, virtual]

Parameters

TInt aCommandIdcommand.

ReadAutoHlCenRepValueAndSetNotifyL()

voidReadAutoHlCenRepValueAndSetNotifyL()

Reads the shared data value used to initialize automatic highlighting

SetAutomaticHighlightL(const TBool)

voidSetAutomaticHighlightL(const TBoolaSwitchON)

Set the state of automatic highlighting

Parameters

const TBool aSwitchON

SetFileL(const TDesC &, const TDesC *, TBool, TUint)

IMPORT_C voidSetFileL(const TDesC &aFilename,
const TDesC *aTitle = NULL,
TBoolaGuessEncoding = EFalse,
TUintaEncoding =  KCharacterSetIdentifierIso88591
)

Execute a dialog.

Parameters

const TDesC & aFilename
const TDesC * aTitle = NULLTitlePane string (if NULL, Title will be FileName).
TBool aGuessEncoding = EFalseguess encoding if ETrue (ignore aEncoding).
TUint aEncoding =  KCharacterSetIdentifierIso88591 encoding of the File (default ISO-8859-1. This is ignored if aGuessEncoding is ETrue).

SetFileL(RFile &, const TDesC *, TBool, TUint)

IMPORT_C voidSetFileL(RFile &aFile,
const TDesC *aTitle = NULL,
TBoolaGuessEncoding = EFalse,
TUintaEncoding =  KCharacterSetIdentifierIso88591
)

Set information of the file to be shown.

Parameters

RFile & aFilefile handle.
const TDesC * aTitle = NULLTitlePane string (if NULL, Title will be FileName).
TBool aGuessEncoding = EFalseguess encoding if ETrue (ignore aEncoding).
TUint aEncoding =  KCharacterSetIdentifierIso88591 encoding of the File.

ShowConfirmationNoteL()

voidShowConfirmationNoteL()[private]

Show "Attachement saved" note.

SizeChanged()

voidSizeChanged()[protected, virtual]

From CCoeControl. Called when SizeChanged.

TimerCallbackL(TAny *)

TInt TimerCallbackL(TAny *aPtr)[private, static]

Callback function for CPeriodic

Parameters

TAny * aPtr

Member Enumerations Documentation

Enum TNotepadViewerFlags

Enumerators

ENotepadMenuByOkKey = 0x02
EMenuByItemActication = 0x04

Member Data Documentation

CItemFinder * iAutoFinder

CItemFinder *iAutoFinder[private]

TBool iAutomaticHlInitialized

TBool iAutomaticHlInitialized[private]

TBool iAutomaticHlValue

TBool iAutomaticHlValue[private]

CRepository * iCenRepSession

CRepository *iCenRepSession[private]

TPtrC iContent

TPtrC iContent[private]

HBufC ** iContentPointer

HBufC **iContentPointer[private]

TPtrC iDelConfirmation

TPtrC iDelConfirmation[private]

TBool iDescriptorViewer

TBool iDescriptorViewer[private]

TBool iEditable

TBool iEditable[private]

CNotepadRichTextEditor * iEditor

CNotepadRichTextEditor *iEditor[private]

TUint iEncoding

TUint iEncoding[private]

RFile * iFile

RFile *iFile[private]

TBool iFileExist

TBool iFileExist[private]

HBufC * iFilename

HBufC *iFilename[private]

CFindItemMenu * iFindMenu

CFindItemMenu *iFindMenu[private]

TUint16 iFlags

TUint16 iFlags[private]

TBool iForwardLocked

TBool iForwardLocked[private]

TBool iGuessEncoding

TBool iGuessEncoding[private]

CNotepadLoadFileAO * iLoadFileAO

CNotepadLoadFileAO *iLoadFileAO[private]

CCenRepNotifyHandler * iNotifier

CCenRepNotifyHandler *iNotifier[private]

CPeriodic * iPeriodicTimer

CPeriodic *iPeriodicTimer[private]

CAknProgressDialog * iProgressDialogLoadfile

CAknProgressDialog *iProgressDialogLoadfile[private]

TInt * iReturnValue

TInt *iReturnValue[private]

CSendUi * iSendUi

CSendUi *iSendUi[private]

TInt iStatus

TInt iStatus[private]

TBool iTaskSwapperFlag

TBool iTaskSwapperFlag[private]

TPtrC iTitle

TPtrC iTitle[private]