InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CPreviewDialogErrorHandler Class Reference

#include <CPreviewDialogErrorHandler.h>

Inheritance diagram for CPreviewDialogErrorHandler:
CPMUnknown< IPreviewDialogErrorHandler >IPreviewDialogErrorHandlerIPMUnknown

Public Member Functions

 CPreviewDialogErrorHandler (IPMUnknown *boss)
 
virtual void ReportError (const ErrorCode &error)
 
virtual void CleanupDialog (IDialog *)
 
- Public Member Functions inherited from CPMUnknown< IPreviewDialogErrorHandler >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Additional Inherited Members

- Public Types inherited from IPreviewDialogErrorHandler
enum  { kDefaultIID = IID_IPREVIEWDIALOGERRORHANDLER }
 
- Protected Member Functions inherited from CPMUnknown< IPreviewDialogErrorHandler >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IPreviewDialogErrorHandler >
HelperInterface fHelperInterface
 

Detailed Description

Default implementation of the error handler interface used for dialogs with preview capability. Subclasses should derive from CPreviewDialogErrorHandler.

See Also
IPreviewDialogErrorHandler

Member Function Documentation

virtual void CPreviewDialogErrorHandler::CleanupDialog (IDialog)
virtual

Override to clean up the dialog after an error has occurred. Default implementation cancels and closes the dialog.

Implements IPreviewDialogErrorHandler.

virtual void CPreviewDialogErrorHandler::ReportError (const ErrorCode & error)
virtual

Override to report that an error has occurred. Default implementation does nothing.

Implements IPreviewDialogErrorHandler.