InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IOpenCore Class Referenceabstract

#include <IOpenCore.h>

Inheritance diagram for IOpenCore:
IPMUnknown

Public Member Functions

virtual IOpenFileDialogQueryOpenFileDialog ()=0
 
virtual void MakeUIDFromLinkAssetUID (UID linkAssetUID, UIFlags flags, UIDRef *pImportedItem, IDataBase *db=nil, const std::string &assetRef="")=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface used to open files.

Member Function Documentation

virtual void IOpenCore::MakeUIDFromLinkAssetUID (UID linkAssetUID,
UIFlags flags,
UIDRefpImportedItem,
IDataBasedb = nil,
const std::string & assetRef = "" 
)
pure virtual

Creates a UIDRef from the file referenced by the given DataLink.

Parameters
linkAssetUIDIN link asset identifying the URI to import from.
flagsIN UI flags denoting how to handle UI events. (see BaseType.h)
pImportedItemOUT 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.
dbIN Database to import into. Ignored when opening a document.
assetRefIN assetRef for cloud document.
virtual IOpenFileDialog* IOpenCore::QueryOpenFileDialog ()
pure virtual

Returns the dialog used to open files.

Returns
Pointer to the open file dialog used to select files to open.