MApaEmbeddedDocObserver Class Reference

#include <mw/apadoc.h>

Link against: apparc.lib

class MApaEmbeddedDocObserver
Public Member Enumerations
enumTExitMode { EKeepChanges, ERevertToSaved, ENoChanges, EEmpty }
Public Member Functions
pure virtual voidNotifyExit(TExitMode)
Protected Member Functions
MApaEmbeddedDocObserver()

Detailed Description

An interface class for handling the completion of the editing of an embedded document.

See also: CApaDocument::EditL()

Member Enumeration Documentation

Enum TExitMode

Defines the state of the embedded document on completion of editing.

EnumeratorValueDescription
EKeepChanges

Changes to the embedded document must be saved.

ERevertToSaved

Reverts back to the saved version of the embedded document, i.e. reloads the whole document.

ENoChanges

No changes have been made to the embedded document.

EEmpty

The embedded document is empty.

Constructor & Destructor Documentation

MApaEmbeddedDocObserver ( )

IMPORT_CMApaEmbeddedDocObserver()[protected]

Constructor for MApaEmbeddedDocObserver

Member Function Documentation

NotifyExit ( TExitMode )

voidNotifyExit(TExitModeaMode)[pure virtual]

Implements the required behaviour when the editing of an embedded document completes.

ParameterDescription
aModeIndicates the state of the document.