CNotepadViewerDialog Class Reference

class CNotepadViewerDialog : public CNotepadDialogBase

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

CNotepadDialogBase

Public Member Functions
~CNotepadViewerDialog ()
void DialogDismissedL ( TInt )
void HandleDialogPointerEventL (const TPointerEvent &)
void HandleFindItemEventL (const CItemFinder::CFindItemExt &, MAknItemFinderObserver::TEventFlag , TUint )
void InitDescriptorViewerL ( HBufC **, TInt &, TBool , const TDesC &, const TDesC &, const TDesC &)
IMPORT_C void LoadFileL ()
IMPORT_C void LoadFileL ( RFile &)
IMPORT_C CNotepadViewerDialog * NewL (const TInt , CEikDialog **)
void NotifyCompletedL ( TInt )
IMPORT_C void OpenFileL (const TDesC &, const TDesC *, TBool , TUint )
IMPORT_C void OpenFileL ( RFile &, const TDesC *, TBool , TUint )
void ReadAutoHlCenRepValueAndSetNotifyL ()
void SetAutomaticHighlightL (const TBool )
IMPORT_C void SetFileL (const TDesC &, const TDesC *, TBool , TUint )
IMPORT_C void SetFileL ( RFile &, const TDesC *, TBool , TUint )
Protected Member Functions
void HandleNotifyError ( TUint32 , TInt , CCenRepNotifyHandler *)
void HandleNotifyInt ( TUint32 , TInt )
void HandleResourceChange ( TInt )
TBool OkToExitL ( TInt )
void SizeChanged ()
Private Member Functions
void ActivateL ()
IMPORT_C void CNotepadViewerDialog_Reserved ()
void CleanProgressDialogL ()
void ConstructL ( TResourceReader &)
void DynInitMenuBarL ( TInt , CEikMenuBar *)
void DynInitMenuPaneL ( TInt , CEikMenuPane *)
void ExitDialogOnTimerExpireL ()
void GetHelpContext ( TCoeHelpContext &)
void HandleNumberCallL ()
void LoadFileByStepsL ( RFile &)
TKeyResponse OfferKeyEventL (const TKeyEvent &, TEventCode )
void PostLayoutDynInitL ()
void ProcessCommandL ( TInt )
void ShowConfirmationNoteL ()
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
enum TNotepadViewerFlags { 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()

void ActivateL ( ) [private, virtual]

CNotepadViewerDialog_Reserved()

IMPORT_C void CNotepadViewerDialog_Reserved ( ) [private]

Reserved API entry.

CleanProgressDialogL()

void CleanProgressDialogL ( ) [private]
Clean the progress dialog
Since
5.2

ConstructL(TResourceReader &)

void ConstructL ( TResourceReader & aReader ) [private]

Second phase constructor.

Parameters

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

DialogDismissedL(TInt)

void DialogDismissedL ( TInt aButtonId )

Parameters

TInt aButtonId

DynInitMenuBarL(TInt, CEikMenuBar *)

void DynInitMenuBarL ( TInt aResourceId,
CEikMenuBar * aMenuBar
) [private]

Parameters

TInt aResourceId resource id.
CEikMenuBar * aMenuBar

DynInitMenuPaneL(TInt, CEikMenuPane *)

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

Parameters

TInt aResourceId resource id.
CEikMenuPane * aMenuPane

ExitDialogOnTimerExpireL()

void ExitDialogOnTimerExpireL ( ) [private]

Called in callback function to exit the dialog

GetHelpContext(TCoeHelpContext &)

void GetHelpContext ( TCoeHelpContext & aContext ) const [private, virtual]

Parameters

TCoeHelpContext & aContext TCoeHelpContext.

HandleDialogPointerEventL(const TPointerEvent &)

void HandleDialogPointerEventL ( const TPointerEvent & aPointerEvent )

Parameters

const TPointerEvent & aPointerEvent

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

void HandleFindItemEventL ( const CItemFinder::CFindItemExt & aItem,
MAknItemFinderObserver::TEventFlag aEvent,
TUint aFlags
)

Parameters

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

HandleNotifyError(TUint32, TInt, CCenRepNotifyHandler *)

void HandleNotifyError ( TUint32 aId,
TInt aError,
CCenRepNotifyHandler * aHandler
) [protected]

From MCenRepNotifyHandlerCallback Handles the notifier errors

Parameters

TUint32 aId
TInt aError
CCenRepNotifyHandler * aHandler

HandleNotifyInt(TUint32, TInt)

void HandleNotifyInt ( TUint32 aId,
TInt aNewValue
) [protected]

From MCenRepNotifyHandlerCallback Handles the incoming notifications of key changes

Parameters

TUint32 aId
TInt aNewValue

HandleNumberCallL()

void HandleNumberCallL ( ) [private]

Handle Phone number calls

HandleResourceChange(TInt)

void HandleResourceChange ( TInt aType ) [protected, virtual]

Parameters

TInt aType event type.

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

void InitDescriptorViewerL ( HBufC ** aContentPointer,
TInt & aReturnStatus,
TBool aReadOnly,
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 &)

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

Parameters

RFile & aFile the file object to load

LoadFileL()

IMPORT_C void LoadFileL ( )

Load contents of the file into the viewer.

LoadFileL(RFile &)

IMPORT_C void LoadFileL ( RFile & aFile )

Load contents of the file into the viewer.

Parameters

RFile & aFile file handle.

NewL(const TInt, CEikDialog **)

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

Constructor.

Parameters

const TInt aResId
CEikDialog ** aSelfPtr pointer to pointer of this

NotifyCompletedL(TInt)

void NotifyCompletedL ( TInt aErrCode )
Notify the observer that load file completed.
Since
5.2

Parameters

TInt aErrCode the result of load file completed.

OfferKeyEventL(const TKeyEvent &, TEventCode)

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

Parameters

const TKeyEvent & aKeyEvent key event which includes ScanCode etc.
TEventCode aType event type ( up, in, down...).

OkToExitL(TInt)

TBool OkToExitL ( TInt aButtonId ) [protected, virtual]

Parameters

TInt aButtonId

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

IMPORT_C void OpenFileL ( const TDesC & aFilename,
const TDesC * aTitle = NULL,
TBool aGuessEncoding = EFalse,
TUint aEncoding =  KCharacterSetIdentifierIso88591
)

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

Parameters

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

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

IMPORT_C void OpenFileL ( RFile & aFile,
const TDesC * aTitle = NULL,
TBool aGuessEncoding = EFalse,
TUint aEncoding =  KCharacterSetIdentifierIso88591
)

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

Parameters

RFile & aFile file handle.
const TDesC * aTitle = NULL TitlePane string (if NULL, Title will be FileName).
TBool aGuessEncoding = EFalse guess encoding if ETrue (ignore aEncoding).
TUint aEncoding =  KCharacterSetIdentifierIso88591 encoding of the File

PostLayoutDynInitL()

void PostLayoutDynInitL ( ) [private, virtual]

ProcessCommandL(TInt)

void ProcessCommandL ( TInt aCommandId ) [private, virtual]

Parameters

TInt aCommandId command.

ReadAutoHlCenRepValueAndSetNotifyL()

void ReadAutoHlCenRepValueAndSetNotifyL ( )

Reads the shared data value used to initialize automatic highlighting

SetAutomaticHighlightL(const TBool)

void SetAutomaticHighlightL ( const TBool aSwitchON )

Set the state of automatic highlighting

Parameters

const TBool aSwitchON

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

IMPORT_C void SetFileL ( const TDesC & aFilename,
const TDesC * aTitle = NULL,
TBool aGuessEncoding = EFalse,
TUint aEncoding =  KCharacterSetIdentifierIso88591
)

Execute a dialog.

Parameters

const TDesC & aFilename
const TDesC * aTitle = NULL TitlePane string (if NULL, Title will be FileName).
TBool aGuessEncoding = EFalse guess 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 void SetFileL ( RFile & aFile,
const TDesC * aTitle = NULL,
TBool aGuessEncoding = EFalse,
TUint aEncoding =  KCharacterSetIdentifierIso88591
)

Set information of the file to be shown.

Parameters

RFile & aFile file handle.
const TDesC * aTitle = NULL TitlePane string (if NULL, Title will be FileName).
TBool aGuessEncoding = EFalse guess encoding if ETrue (ignore aEncoding).
TUint aEncoding =  KCharacterSetIdentifierIso88591 encoding of the File.

ShowConfirmationNoteL()

void ShowConfirmationNoteL ( ) [private]

Show "Attachement saved" note.

SizeChanged()

void SizeChanged ( ) [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]