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

Public Types | |
| enum | { kDefaultIID = IID_IPAGEITEMBOUNDSLIST } |
Public Member Functions | |
| virtual void | Add (IPMUnknown *iUnknown, int32 at)=0 |
| virtual void | Move (IPMUnknown *iUnknown, int32 from, int32 to)=0 |
| virtual void | Remove (IPMUnknown *iUnknown, int32 at)=0 |
| virtual bool16 | Invalidate (IPMUnknown *iUnknown)=0 |
| virtual bool16 | InvalidateAll ()=0 |
| virtual int32 | Length () const =0 |
| virtual PMRect | GetNthBounds (int32 n) const =0 |
| virtual UIDList | GetIntersectingItems (const PMRect &rect, UID uidBelowThis=kInvalidUID) const =0 |
| virtual void | GetIntersectingItems (const PMRect &rect, PageItemIntersectCallback callback, void *data) 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 |
This interface stores the bounds of children in the same order as IHierarchy stores
the UIDs of children
| pure virtual |
Add the page item to the bounds list.
| *iUnknown | - The page item to add (specifically needs an ISpread interface) |
| at | - The location (-1 Adds it at the end) |
| pure virtual |
Returns a list of page items whose bounds intersect with the
passed in rectangle.
| &rect | - The bounds you want to test for intersection with in inner coordinates of the boss holding this implementation. Currently that means layer or group coordinates. |
| uidBelowThis | - Optional UID of the page item that returned items must be below in the z-order |
| pure virtual |
Finds all page items whose bounds intersect with the
passed in rectangle and passes it and the void *data to callback.
| &rect | - The bounds you want to test for intersection with in inner coordinates of the boss holding this implementation. Currently that means layer or group coordinates. |
| callback | - The callback method to use (If this method returns kTrue operation will be aborted. |
| *data | - Additional data to pass to the callback |
| pure virtual |
Return the bounds for the nth page item
| n | - The item whose bounds you want |
| pure virtual |
Tell the bounds list that a page item's bounds have changed.
| *iUnknown | - The page item that has changed (specifically needs an ISpread interface) |
| pure virtual |
Tell the bounds list that all the items have changed.
| pure virtual |
Return the number of page items
| pure virtual |
Move the item in the z-order
| *iUnknown | - The page item to move (specifically needs an ISpread interface) |
| from | - The location to move the item from |
| to | - The location to move the item to (-1 moves it to the end) |
| pure virtual |
Remove the page item to the bounds list.
| *iUnknown | - The page item to remove (specifically needs an ISpread interface) |
| at | - The location of the item to remove (-1 removes it from the end) |