![]() | InDesign SDK 20.5 |

Public Member Functions | |
| CGraphicPlaceBehavior (IPMUnknown *boss) | |
| virtual UIDList | ProcessPlace (IPlaceBehavior *targetItem, const UIDRef &parent, const PMPointList &points, ICursorMgr::eCursorModifierState finalModifiers, ICursorMgr::eCursorModifierState startingModifiers, const ISpread *spread, IPlaceBehavior::eAfterPlace *afterPlace, IItemsToPlaceData::ePlaceFrom placeFrom=IItemsToPlaceData::kPlaceGun) |
| virtual void | ProcessReplacePreserveState (IPlaceBehavior *srcRoot, IPlaceBehavior *target) |
| virtual void | AppendScriptObjects (ScriptList &objectList) |
| virtual UID | ProcessReplace (const UIDRef &placedItem, const UIDRef &oldItem, bool16 useClippingFrame, IPlaceBehavior::eAfterPlace *afterPlace, IItemsToPlaceData::ePlaceFrom placeFrom=IItemsToPlaceData::kPlaceGun) |
| virtual bool16 | CanPlaceInto (eFrameKind newPageItemKind) const |
| virtual bool16 | CanPlaceInto (const IPlaceBehavior &sourceItem, const ISpread *spread) const |
| virtual bool16 | CanReplace () const |
| virtual bool16 | CanConvertTo (eFrameKind newPageItemKind) const |
| virtual ErrorCode | ProcessConvertTo (eFrameKind newPageItemKind, IControlView *view) |
| virtual bool16 | IsEmpty () const |
| virtual bool16 | IsFromMaster (const IHierarchy *targetHier, const ISpread *targetSpread) const |
Public Member Functions inherited from CPMUnknown< IPlaceBehavior > | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| CPMUnknown (const CPMUnknown &)=delete | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Protected Member Functions | |
| virtual bool16 | IsItemMasterNotOverrideable (const IHierarchy *hier, const ISpread *spread) const |
| helpers | |
| virtual bool16 | IsItemRoot () const |
| virtual eFrameKind | GetFrameKind () const |
| virtual IPlaceBehavior * | QueryItemRoot () |
| virtual UIDList | ProcessDoPlace (const UIDRef &parent, const PMPointList &points, IItemsToPlaceData::ePlaceFrom placeFrom=IItemsToPlaceData::kPlaceGun) |
| virtual UIDList | ProcessDoPlaceInto (IPlaceBehavior *targetItem, const PMPointList &points, IPlaceBehavior::eAfterPlace &whatToDoAfter, IItemsToPlaceData::ePlaceFrom placeFrom=IItemsToPlaceData::kPlaceGun) |
| virtual UID | ProcessReplaceMe (const UIDRef &placedItem, const UIDRef &oldItem, bool16 usePlaceGunFrame, IPlaceBehavior::eAfterPlace *afterPlace, IItemsToPlaceData::ePlaceFrom placeFrom) |
| virtual UID | ProcessReplaceChildren (const UIDRef &placedItem, const UIDRef &oldItem, bool16 usePlaceGunFrame, IPlaceBehavior::eAfterPlace *afterPlace) |
| virtual void | HandleXMPRotation (IPersistUIDData *uidData, bool16 modifyFrame) |
| virtual bool16 | IsPlaceLoaded (IDataBase *db, IItemsToPlaceData::ePlaceFrom placeFrom) const |
| virtual UID | GetFirstItemToPlaceUID (IDataBase *db, IItemsToPlaceData::ePlaceFrom placeFrom) const |
| virtual ErrorCode | ClearFirstItemToPlace (IDataBase *db, IItemsToPlaceData::ePlaceFrom placeFrom) const |
| virtual ErrorCode | AbortFirstItemToPlace (IDataBase *db, IItemsToPlaceData::ePlaceFrom placeFrom) const |
| virtual ErrorCode | AbortAllItemsToPlace (IDataBase *db, IItemsToPlaceData::ePlaceFrom placeFrom) const |
| virtual int32 | RefPointPositionToAlignContentInFrame (IReferencePointData::ReferencePointPosition pos) const |
Protected Member Functions inherited from CPMUnknown< IPlaceBehavior > | |
| CPMUnknown (IPMUnknown *boss) | |
Additional Inherited Members | |
Public Types inherited from IPlaceBehavior | |
| enum | { kDefaultIID = IID_IPLACEBEHAVIOR } |
| enum | eAfterPlace { kOldBehavior, kLeaveAsIs, kClearPlaceGun, kAbortPlaceGun } |
| enum | ePlaceType { kPlaceSingle, kPlaceCascade, kPlaceMultiple } |
| enum | eFrameKind { kTextFrameKind, kGraphicFrameKind, kInteractiveFrameKind, kContainerFrameKind, kTextInsertionKind, kUnknownFrameKind } |
Protected Attributes inherited from CPMUnknown< IPlaceBehavior > | |
| HelperInterface | fHelperInterface |
| virtual |
Append a list of script objects corresponding to the source content. If this content can be loaded into the place gun, these script objects will be considered children of the place gun.
| the | list to which to append the script objects INOUT |
Implements IPlaceBehavior.
| virtual |
Can the frame corresponding to "this" object be converted to a new type.
| newPageItemKind | IN the new type |
Implements IPlaceBehavior.
| virtual |
Can a source item of a given type be placed into "this" object
| newPageItemKind | IN the type of the source item |
Implements IPlaceBehavior.
| virtual |
Can the source item be placed into "this" object
| sourceItem | IN the place behavior of the object being placed |
| spread | IN the destination spread (used for master spread relationship) |
Implements IPlaceBehavior.
| virtual |
| protectedvirtual |
Get the frame kind of "this" content.
Implements IPlaceBehavior.
| virtual |
Is the frame corresponding to "this" object empty?
Implements IPlaceBehavior.
| virtual |
Is targetHier from a different spread (thus from a master spread)?
| targetHier | IN the target item's hierarchy (might be a master page item) |
| targetSpread | IN target spread |
Implements IPlaceBehavior.
| virtual |
Perform a ConvertTo operation.
| newPageItemKind | IN which frame kind should the object be converted to |
| controlView | IN controlView parameter can be used by implementation if selection changes need to be made. |
Implements IPlaceBehavior.
| virtual |
Perform a Place operation
| targetItem | IN target for the place |
| parent | IN parent of the placed object(s) |
| points | IN location of the place |
| finalModifiers | IN modifier key state |
| startingModifiers | IN modifier key state |
| spread | IN spread where place is to occur |
| afterPlace | INOUT what should happen after the place (optional) |
Implements IPlaceBehavior.
| virtual |
Perform a Replace operation (new item replaces an existing one)
| placedItem | IN new item |
| oldItem | IN exiting item |
| useClippingFrame | IN retain the clipping frame |
| afterPlace | INOUT what should happen after the replace |
Implements IPlaceBehavior.
| protectedvirtual |
Utility routine to replace the children of the target object (Me)
| placedItem | IN item to be placed |
| oldItem | IN item to replace |
| usePlaceGunFrame | IN use or strip off the frame around the item from the place gun |
| afterPlace | INOUT what should happen after the replace |
Implements IPlaceBehavior.
| protectedvirtual |
Utility routine to replace the target object (Me)
| placedItem | IN item to be placed |
| oldItem | IN item to replace |
| usePlaceGunFrame | IN use or strip off the frame around the item from the place gun |
| afterPlace | INOUT what should happen after the replace |
Implements IPlaceBehavior.
| virtual |
ProcessReplacePreserveState gives this a chance to set itself and srcRoot to values from target. Note: newItem may or may not be the same item as "this" interface.
| newItem | IN the source's place behavior |
| target | IN the target's place behavior |
Implements IPlaceBehavior.