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

Public Types | |
| enum | { kDefaultIID = IID_IOWNEDITEMIBEAMDATA } |
Public Member Functions | |
| virtual bool16 | GetCursor (PBPMPoint &pt, IControlView *controlView, CursorSpec &spec) const =0 |
| virtual ITracker * | CreateTracker (const IEvent *event, IControlView *controlView) const =0 |
| virtual IPlaceBehavior * | QueryPlaceBehavior (PBPMPoint &pt, IControlView *controlView) const =0 |
| virtual ITextFrameColumn * | QueryContainingFrame () 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 |
The IBeam Tool looks for this interface on OwnedItems to help it set the appropriate cursor and spawn the appropriate trackers for the OwnedItem.
The core reason it exists is because the Visitor/Helper mechanism assumes that hit items must be UID based objects and Table Cells do not fall into this category. So, for example, the TableFrame, which is a UID based object, returns itself as being hit and the callee must be smart enough to recognize that what was hit was an OwnedItem and look for this interface on the boss to get further information.
| pure virtual |
Returns a tracker for the Text IBeam Tool which has wandered over the IOwnedItemIBeamData.
| event | The event |
| controlView | The relevant ControlView |
| pure virtual |
Returns a cursor for the Text IBeam Tool which has wandered over the IOwnedItemIBeamData. If the item fails to return a cursor then the appropriate default IBeam is used.
| pt | Point Pasteboard coordinates |
| controlView | Pointer to the relevant ControlView |
| spec | How the cursor is returned |
| pure virtual |
Some callers want to hit the containing MuliColumnTextFrame instead of the sub-objects and this method provides a quick way to getting that context.
| pure virtual |
Returns a pointer to place behavior object for the specified parameters. Tables use this, for example, to support placing into Table cells.
| pt | Point Pasteboard coordinates |
| controlView | Pointer to the relevant ControlView |