#include <IImportManager.h>
|
| enum | { kDefaultIID = IID_IIMPORTMANAGER } |
| |
Interface used to select and import files.
- See Also
- IImportProvider
- IPrintContentPrefs
| virtual bool16 IImportManager::DoImportDialog | ( | URIList * | importMe, | | | bool16 | multipleItemsOK, | | | IPMUnknown * | dialog | | ) | | |
| pure virtual |
Displays the place file dialog to the user.
- Parameters
| importMe | OUT Files selected to import by the user from the place dialog. |
| multipleItemsOK | IN whether user should be able to select multiple items to import. |
| dialog | IN the dialog to use for the import. |
- Returns
- kFalse if the user cancelled out of the dialog or there was an error, else kTrue.
| virtual void IImportManager::ImportUIDFromLinkAssetUID | ( | IDataBase * | intoDB, | | | UID | linkAssetUID, | | | UIFlags | flags, | | | UIDRef * | pImportedItem, | | | UID | uidPreview = kInvalidUID | | ) | | |
| pure virtual |
Creates a UIDRef from the file referenced by the given URI.
- Parameters
| intoDBb | IN Database to import into. |
| linkAssetUID | IN the link asset to import from. |
| flags | IN UI flags denoting how to handle UI events. (see BaseType.h) |
| pImportedItem | OUT UIDRef of the newly created imported item. This may be a page item or a text story UID. |
| uidPreview | IN UID of the pre-existing preview image. |