![]() | InDesign SDK 20.5 |
#include <IINXImportValidation.h>

Public Types | |
| enum | { kDefaultIID = IID_IINXIMPORTVALIDATION } |
Public Member Functions | |
| virtual ErrorCode | ValidateINXType (const WideString &type)=0 |
| virtual ErrorCode | ValidateDOMVersion (const ScriptInfo::ScriptVersion &version)=0 |
| virtual ErrorCode | ValidateBuildNumber (int32 buildNumber)=0 |
| virtual ErrorCode | ValidatePI (const WideString &target, const WideString &data)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Allows a client to validate that an INX file can be imported. IINXImportValidation methods are called at various points during INX validation and are used to override default behavior.
| pure virtual |
Called to validate the Build number. NOTE: Production files do not contain build number information. Therefore, this method will only be called for pre-release files.
| The | INX file's build number. |
| pure virtual |
Called to validate the DOM version.
| The | INX file's DOM version. |
| pure virtual |
Called to validate the file type.
| The | INX type as a string. |
| pure virtual |
Called to validate PIs found before the first element.
| The | PI target string. |
| The | PI data (probably a series of name-value pairs). |