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

Public Types | |
| enum | { kDefaultIID = IID_IIMPORTRESOURCECMDDATA } |
Public Member Functions | |
| virtual void | Set (const IImportResourceCmdData *data)=0 |
| virtual void | Set (IDataBase *db, const URI &uri, UIFlags flags, bool16 retainFormat=kFalse, bool16 convertQuotes=kFalse, bool16 applyCJKGrid=kFalse, UID uidPreview=kInvalidUID)=0 |
| virtual void | Set (IDataBase *db, UID linkResourceUID, UIFlags flags, UID oldPageItem=kInvalidUID, bool16 retainFormat=kFalse, bool16 convertQuotes=kFalse, bool16 applyCJKGrid=kFalse)=0 |
| virtual void | SetFlags (UIFlags flags)=0 |
| virtual IDataBase * | GetDataBase () const =0 |
| virtual const URI | GetURI () const =0 |
| virtual UIFlags | GetFlags () const =0 |
| virtual bool16 | GetRetainFormat () const =0 |
| virtual bool16 | GetConvertQuotes () const =0 |
| virtual bool16 | GetApplyCJKGrid () const =0 |
| virtual UID | GetOldPageItem () const =0 |
| virtual UID | GetPreview () const =0 |
| virtual UID | GetLinkResourceUID () const =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 store data for commands that import resources. This is a container class, it can store either a link resource (by UID), or a URI identifying some resource. If the link resource is specified, the URI specified with the link resource is the one returned (in the case where there might be a conflict between the URI retained in the interface, and that in ILinkResource).
| pure virtual |
Get the apply CJK grid flag
| pure virtual |
Get the convert quotes flag
| pure virtual |
Get the database
| pure virtual |
Get the UIFlags
| pure virtual |
Get the link resource uid
| pure virtual |
Get the old pageitem
| pure virtual |
Get the preview object
| pure virtual |
Get the retain text format flag
| pure virtual |
Initialize this object from another object of the same type
| pure virtual |
Initialize this object manually from a URI
| db | IN database to be imported into (required) |
| uri | IN identifying the resource to import. |
| flags | IN specifies how much UI to show during import |
| retainFormat | IN retain text format, applies to text import |
| convertQuotes | IN convert quotation mark types, applies to text import |
| applyCJKGrid | IN apply CJK grid if present, applies to text import |
| uidPreview | IN UID of preview object |
| pure virtual |
Initialize this object manually from a link resource
| db | IN database to be imported into (required) |
| linkResourceUID | IN the link resource to import from (required) |
| flags | IN specifies how much UI to show during import |
| oldPageItem | IN UID of old page item or kInvalidUID when there is none. This page item contains the preference settings used the last time this item was imported and these preferences are used during this import. |
| retainFormat | IN retain text format, applies to text import |
| convertQuotes | IN convert quotation mark types, applies to text import |
| applyCJKGrid | IN apply CJK grid if present, applies to text import |
| uidPreview | IN UID of preview object |
| pure virtual |
Update the UIFlags