![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IIMPORTEXPORTFACADE } |
Public Member Functions | |
| virtual ErrorCode | ReplacePageItem (IDataBase *db, UID oldPageItem, UID newPageItem, bool16 useClippingFrame, UIDList &replaceList) const =0 |
| virtual ErrorCode | PlaceExternalFile (ISpread *spread, const IDFile &filePath, const PBPMPoint &pbPoint) const =0 |
| virtual ErrorCode | PlaceExternalFileWithUIFlags (ISpread *spread, const IDFile &filePath, const PBPMPoint &pbPoint, const UIFlags uiFlags) 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 |
Place Gun command methods | |
| enum | PlaceGunContent { kFirstItem, kAllItems } |
| virtual ErrorCode | LoadPlaceGun (const UIDList &itemList, IPlaceGun::PlaceGunLocation location) const =0 |
| virtual ErrorCode | LoadPlaceGun (ICmdCollection *cmdCollection, IPlaceGun::PlaceGunLocation location) const =0 |
| virtual ErrorCode | ClearPlaceGun (IPlaceGun *placeGun, PlaceGunContent what) const =0 |
| virtual ErrorCode | AbortPlaceGun (IPlaceGun *placeGun, PlaceGunContent what) const =0 |
| virtual ErrorCode | ImportAndLoadPlaceGun (IDataBase *db, const URI &uri, UIFlags flags, bool16 retainFormat, bool16 convertQuotes, bool16 applyCJKGrid, UID uidPreview, IPlaceGun::PlaceGunLocation location) const =0 |
| virtual ErrorCode | ImportAndLoadPlaceGun (IImportResourceCmdData *cmdData, IPlaceGun::PlaceGunLocation location) const =0 |
| virtual ErrorCode | ImportAndLoadPlaceGun (IDataBase *db, const URI &uri, UIFlags flags, bool16 retainFormat, bool16 convertQuotes, bool16 applyCJKGrid, bool16 &useClippingFrame, bool16 &skipPlace) const =0 |
| virtual ErrorCode | ImportAndLoadPlaceGun (IDataBase *db, UID linkResourceUID, UIFlags flags, bool16 retainFormat, bool16 convertQuotes, bool16 applyCJKGrid, bool16 &useClippingFrame, bool16 &skipPlace) const =0 |
| virtual ErrorCode | RotatePlaceGun (IPlaceGun *placeGun, bool16 forward) const =0 |
| pure virtual |
Abort the place gun by clearing one or all items and deleting them.
| placeGun | [IN] The place gun to abort. |
| what | [IN] Whether to abort just the first or all items in the place gun. |
| pure virtual |
Clear one or all items from the place gun. The cleared items are not deleted.
| placeGun | [IN] The place gun to clear. |
| what | [IN] Whether to clear just the first or all items in the place gun. |
| pure virtual |
Load the place gun with one or more items.
| 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 |
| location | [IN] Where to load the items. |
| pure virtual |
Load the place gun with one or more items.
| cmdData | [IN] Existing command data to reuse (required) |
| location | [IN] Where to load the items. |
| pure virtual |
Load the place gun with one or more items.
| 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 |
| useClippingFrame | [OUT] Whether the command indicated to use the clipping frame |
| skipPlace | [OUT] Whether the command indicated to skip place |
| pure virtual |
Load the place gun with one or more items.
| db | [IN] database to be imported into (required) |
| linkResourceUID | [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 |
| useClippingFrame | [OUT] Whether the command indicated to use the clipping frame |
| skipPlace | [OUT] Whether the command indicated to skip place |
| pure virtual |
Load the place gun with one or more items.
| itemList | [IN] The items to load. The items will be loaded into the place gun associated with the items' database. |
| location | [IN] Where to load the items. |
| pure virtual |
Load the place gun with items from a pipeline command. Executes the pipeline command.
| itemList | [IN] The pipeline command that will supply the items to load. The items will be loaded into the place gun associated with the items' database. |
| location | [IN] Where to load the items. |
| pure virtual |
Place an external file on the specified point on pasteboard
| spread | [IN] spread of the document where file has to be placed |
| filePath | [IN] file path of the file to be placed |
| pbPoint | [IN] position to be placed with respect to the pasteboard coordinates |
| pure virtual |
Place an external file on the specified point on pasteboard
| spread | [IN] spread of the document where file has to be placed |
| filePath | [IN] file path of the file to be placed |
| pbPoint | [IN] position to be placed with respect to the pasteboard coordinates |
| uiFlags | [IN] specifies how much UI to show during import |
| pure virtual |
Replace one page item with another.
| db | [IN] database where the replace will occur. |
| oldPageItem | [IN] UID of the page item to be replaced. |
| newPageItem | [IN] UID of the new page item. |
| useClippingFrame | [IN] retain the clipping frame. |
| replaceList | [OUT] the placed item(s) |
| pure virtual |
Rotate the items in theplace gun.
| placeGun | [IN] The place gun to rotate. |
| forward | [IN] Rotate the list forward (i.e. move the front item to end) or backward (move backmost item to front) |