![]() | InDesign SDK 20.5 |
#include <IBatchPlaceTrackerHelper.h>
Public Types | |
| enum | { kDefaultIID = IID_IBATCHPLACETRACKERHELPER } |
Public Member Functions | |
| virtual UIDList | AdjustAlreadyPlacedItems (PMPoint startPnt, IControlView *controlView, const UIDRef &parent, const PMPointList &points, const IEvent &theEvent, IPlaceBehavior::eAfterPlace *afterPlace)=0 |
| virtual UIDRef | ConvertPlacedItemsToInline (ITextTarget *iTextTarget)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Abstract interface for a helper class to assist a tracker in doing "batch place" operations; that is, imports that immediately put potentially many pageitems onto the page, but still need to have the standard place-gun capabilities of positioning where the item(s) should be put, import preview, etc. This class aids in the proper positioning of the items after the user clicks a position for placement.
| pure virtual |
Perform the adjustments needed to properly position the already placed items according to the user's click. Typically this would mean a translation of the items from their import-time locations to the user's click location.
| startPnt | IN where the snippet was initially imported |
| controlView | IN the view clicked in by the user |
| parent | IN the parent item for the pageitem(s) |
| points | IN two points – first button-down location, and if a drag-box, the button-up location |
| theEvent | IN the event record |
| afterPlace | OUT what behavior to take after the place operation |
| pure virtual |
Convert the placed snippet into an inline at the indicated text location. Only succeeds if the snippet contains a single object with IHierarchy.
| iTextTarget | IN is the text location at which to create the inline |