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

Public Member Functions | |
| virtual IOpenFileDialog * | QueryPlaceFileDialog ()=0 |
| virtual void | MakeUIDFromLinkAssetUID (UID linkAssetUID, UIFlags flags, UIDRef *pImportedItem, IDataBase *db=nil, UID uidPreview=kInvalidUID)=0 |
| virtual void | AddTypesAndExtensions (void *data, AddTypeRoutine *addType, AddExtensionRoutine *addExtension)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface used to import files.
| pure virtual |
Calls the given AddTypeRoutine and AddExtensionRoutine functions with the supported file types and extensions.
| data | IN Pointer to user defined data passed to the AddTypeRoutine and AddExtensionRoutine functions. |
| addType | IN Pointer to the AddTypeRoutine function which is called once for each supported file type. |
| addExtension | IN Pointer to the AddExtensionRoutine function which is called once for each supported extension. |
| pure virtual |
Creates a UIDRef from the file referenced by the given DataLink.
| linkAssetUID | IN link asset identifying the URI to import from. |
| flags | IN UI flags denoting how to handle UI events. (see BaseType.h) |
| pImportedItem | OUT When opening a document, the UIDRef of the document boss of the newly created document (database). When importing a file, the UIDRef of the imported file. |
| db | IN Database to import into. Ignored when opening a document. |
| uidPreview | IN UID of the pre-existing preview image. |
| pure virtual |
Returns the default (API supplied) dialog used to import files.