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

#include <IPlacePIData.h>

Inheritance diagram for IPlacePIData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IPLACEPIDATA }
 

Public Member Functions

virtual void Set (const UIDRef &parent, const PMPointList *initialPoints, bool16 usePlaceGunContents=kTrue, bool16 usePlaceGunRoute=kTrue)=0
 
virtual const UIDRefGetParent ()=0
 
virtual UID GetNewItem () const =0
 
virtual const PMPointListGrabPointList () const =0
 
virtual bool16 UsePlaceGunContents () const =0
 
virtual bool16 UsePlaceGunRoute () const =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 specify data for a variety of Import and Place commands.

Member Function Documentation

virtual UID IPlacePIData::GetNewItem () const
pure virtual

Get the pageitem to place. Returns either the contents of place gun or command's item list, depending on "usePlaceGunContents" flag.

virtual const UIDRef& IPlacePIData::GetParent ()
pure virtual

Get the target for the command

virtual const PMPointList* IPlacePIData::GrabPointList () const
pure virtual

Get the point list

virtual void IPlacePIData::Set (const UIDRefparent,
const PMPointListinitialPoints,
bool16 usePlaceGunContents = kTrue,
bool16 usePlaceGunRoute = kTrue 
)
pure virtual

Initialize the interface.

Parameters
parentIN specify the target of the command
initialPointsIN where should the item be placed
usePlaceGunContentsIN true to use content of place gun, fasse to use item list from the command
usePlaceGunRouteIN true to use place gun route, false to simply create graphicframe and append items to it
virtual bool16 IPlacePIData::UsePlaceGunContents () const
pure virtual

Should we use the place gun content or lok at the item list on the command?

virtual bool16 IPlacePIData::UsePlaceGunRoute () const
pure virtual

Should we use the place gun route or use for simply creating graphicframe and append items to it