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

Public Types | |
| enum | { kDefaultIID = IID_IPLACEGUN } |
| enum | PlaceGunLocation { kAddToFront, kAddToBack } |
Public Member Functions | |
| virtual bool16 | IsLoaded () const =0 |
| virtual uint32 | CountPlaceGunUIDs () const =0 |
| virtual void | LoadPlaceGun (UID uid, PlaceGunLocation where=kAddToBack)=0 |
| virtual void | EmptyFirstPlaceGunItem ()=0 |
| virtual UID | GetFirstPlaceGunItemUID () const =0 |
| virtual UID | GetNthPlaceGunItemUID (uint32 n) const =0 |
| virtual UID | GetAbortingItemUID () const =0 |
| virtual void | SetAbortingItemUID (UID uid)=0 |
| virtual bool16 | ContainsUID (UID uid)=0 |
| virtual bool16 | OwnsAnyPageItemsOnLayer (UID spreadLayerUID) const =0 |
| virtual bool16 | OwnsAnyPageItemsOnSpread (UID spreadUID) const =0 |
| virtual void | RotateList (bool16 forward)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This class deals with placing images/text onto the page once they have been imported into the document
| pure virtual |
Returns whether a given UID is currently in the place gun.
| uid | - The UID to search for |
| pure virtual |
Count how many UIDs are loaded in the place gun
| pure virtual |
Clears the uid stored in this interface, but does not delete the uid from the database.
| pure virtual |
During abort place gun, this is the UID of the item being aborted, previously in GetFirstPlaceGunItemUID()
| pure virtual |
Returns UID of the current contents of the place gun.
| pure virtual |
Returns UID of the current contents of the place gun.
| pure virtual |
Is the place gun loaded
| pure virtual |
Load the place gun with this uid.
| uid | - The UID of the item to be placed. The uid must be of a page item. |
| where | - Whether to add the item to the front or back of the list Note: The LoadPlaceGunCmd will accept a story uid and call this method with the uid of a newly created frame on the story. |
| pure virtual |
Returns whether any pageitems in the placegun are on a documentLayer.
| uid | - The document layer UID |
| pure virtual |
Returns whether any pageitems in the placegun are on a spread.
| uid | - The spread UID |
| pure virtual |
Rotates the list of UIDs.
| forward | - Rotate the list forward(i.e. move the front UID to end) or backwards(move backmost UID to front) |
| pure virtual |
Set the UID of the item being aborted
| uid | - The UID to abort the placing of |