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

Public Types | |
| enum | { kDefaultIID = IID_IDROPDESKTOPFILECMDDATA } |
| enum | eDropBehavior { kPlace, kReplace, kImport, kLoadPlaceGun } |
Public Member Functions | |
| virtual void | Set (const PMPoint &where, const UIDRef &parent, IDFile &file, UIFlags flags, const UIDRef &targetDoc, IPlaceBehavior *targetBehavior, const eDropBehavior dropBehavior=kPlace)=0 |
| virtual void | Set (const PMPoint &where, const UIDRef &parent, IDFile &file, UIFlags flags, const UIDRef &targetDoc, IHierarchy *targetHier, const eDropBehavior dropBehavior=kPlace)=0 |
| virtual const PMPoint & | GetDropPoint () const =0 |
| virtual const UIDRef & | GetParent () const =0 |
| virtual const IDFile & | GetSysFile () const =0 |
| virtual UIFlags | GetUIFlags () const =0 |
| virtual const UIDRef & | GetTargetDocument () const =0 |
| virtual IPlaceBehavior * | GetTargetBehavior () const =0 |
| virtual IHierarchy * | GetTargetHierarchy () const =0 |
| virtual const eDropBehavior | GetDropBehavior () 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 |
Data interface used on command boss used when a desktop file is dropped on a layout window.
| pure virtual |
Get the drop behavior for the drop
| pure virtual |
Get the location where the file was dropped
| pure virtual |
Get the parent pageitem to use for the drop
| pure virtual |
Get the file that was dropped
| pure virtual |
Get the place behavior of the target
| pure virtual |
Get the document the drop occurred over for the drop
| pure virtual |
Get the spread layer of the target
| pure virtual |
Get the UIFlags for the drop
| pure virtual |
Put the IPlaceBehavior version of the data into the interface
| where | IN where di the drop occur in pasteboard coordinates |
| parent | IN object (if any) to be used as the parent for pageitems created by the drop |
| file | IN the file that was dropped |
| flags | IN flags indicating whether UI should be suppressed |
| targetDoc | IN document that the drop occured over |
| targetBehavior | IN Pointer to target place behavior object |
| dropBehavior | IN what type of drop to perform |
| pure virtual |
Put the IHierarchy version of the data into the interface (special for XML)
| where | IN where di the drop occur in pasteboard coordinates |
| parent | IN object (if any) to be used as the parent for pageitems created by the drop |
| file | IN the file that was dropped |
| flags | IN flags indicating whether UI should be suppressed |
| targetDoc | IN document that the drop occured over |
| targetHier | IN Pointer to IHierarchy object |
| dropBehavior | IN what type of drop to perform |