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

Public Types | |
| enum | { kDefaultIID = IID_ISELECTIONDATASUITE } |
Public Member Functions | |
| virtual PBPMRect | CalculatePBSelectionBounds (IControlView *iLayoutControlView) const =0 |
| virtual PMRect | CalculateViewSelectionBounds (IControlView *iLayoutControlView) const =0 |
| virtual SysRgn | GetSelectionRgn (IControlView *iLayoutControlView) const =0 |
| virtual PBPMPoint | CalculatePBCenterPoint (IControlView *iLayoutControlView) const =0 |
| virtual PMPoint | CalculateViewCenterPoint (IControlView *iLayoutControlView) const =0 |
| virtual bool16 | IsItemSelected (IPMUnknown *theItem) const =0 |
| virtual bool16 | HasItemSelected () const =0 |
| virtual int32 | GetSelectionCount () 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 |
Provides interface to return information about any type of selection.
| pure virtual |
Calculate the center point of the selection in Pasteboard coordinates. Note: This returns the actual center of the selection, not necessarily the center of the PMRect returned above
| iLayoutControlView | IControlView to calculate. |
| pure virtual |
Calculate the bounds of the selection in Pasteboard coordinates
| iLayoutControlView | The IControlView to calculate. |
| pure virtual |
Calculate the center point of the selection in View coordinates
| iLayoutControlView | The IControlView to calculate. |
| pure virtual |
Calculate the bounds of the selection in View coordinates
| iLayoutControlView | The IControlView to calculate. |
| pure virtual |
Return a count for the selection.
| pure virtual |
Calculate the SysRgn of the selection (view coordinates)
| iLayoutControlView | The IControlView to calculate. |
| pure virtual |
Determine whether there's a selection associated with it.
| pure virtual |
For the pageitem passed in, determine whether there's a selection associated with it. This routine is used more or less privately by the hit-test code, which needs (in SelectionHitTestHandler) to know whether an item hit is also selected. NOT MEANT TO REPLACE A PROPERLY- WRITTEN SUITE for handling selection tasks or queries.
| theItem |