![]() | InDesign SDK 20.5 |

Public Member Functions | |
| SDKINXErrorHandler (IPMUnknown *boss) | |
| virtual void | ResetINXErrorStatus () |
| virtual IINXErrorHandler::INXErrorStatus | GetINXErrorStatus () const |
| virtual void | BeginExport (const IPMStream *stream, const IDOMElement::ElementList &roots) |
| virtual void | EndExport () |
| virtual void | BeginImport (const IPMStream *stream) |
| virtual void | EndImport () |
| virtual void | UnknownElement (const ScriptID &parent, const WideString &elem) |
| virtual void | UnknownProperty (const ScriptID &parent, const WideString &prop) |
| virtual void | UnresolvedReference (const WideString &selfID) |
| virtual void | ParserError (ErrorCode err, const PMString &errorStr) |
| virtual void | ScriptingError (const IScript *script, const IScriptRequestData *eventData, const ScriptReturnData &returnData) |
Public Member Functions inherited from CPMUnknown< IINXErrorHandler > | |
| IPMUnknown * | QueryInterface (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 | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Additional Inherited Members | |
Public Types inherited from IINXErrorHandler | |
| enum | { kDefaultIID = IID_IINXERRORHANDLER } |
| enum | INXErrorStatus { kINXContinue = 0, kINXCancel } |
Protected Member Functions inherited from CPMUnknown< IINXErrorHandler > | |
| CPMUnknown (IPMUnknown *boss) | |
Protected Attributes inherited from CPMUnknown< IINXErrorHandler > | |
| HelperInterface | fHelperInterface |
| virtual |
Begin export session.
| stream | The stream export to. |
| roots | The list of element to be exported. |
Implements IINXErrorHandler.
| virtual |
| virtual |
End export session.
Implements IINXErrorHandler.
| virtual |
End import session.
Implements IINXErrorHandler.
| virtual |
Get the current INX error status. Set to kINXCancel in one of the callbacks on this implementation to abort further processing.
Implements IINXErrorHandler.
| virtual |
Report parser error. Import only.
| err | The error code |
| errorStr | The error string |
Implements IINXErrorHandler.
| virtual |
Reset the current INX error status to kINXContinue.
Implements IINXErrorHandler.
| virtual |
Report scripting error.
| script | The object on which the scripting request was invoked |
| eventData | The event data for the scripting request |
| returnData | The return data for the scripting request that failed |
if( IsKnownPropertyError(errorCode) ) return;
Implements IINXErrorHandler.
| virtual |
Report an unknown element. Import only.
| parent | The script id of unknown element. |
| elem | The name of unknown element |
Implements IINXErrorHandler.
| virtual |
Report an unknown property on known object. Import only.
| parent | The script id of known object. |
| prop | The name of unknown property |
Implements IINXErrorHandler.
| virtual |
Report an un-resolved reference. Import only. This happens when the value of an attribute refers to an object, but the object is not included in the document.
| selfID | The self ID of referenced object |
Implements IINXErrorHandler.