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

Public Types | |
| enum | { kDefaultIID = IID_IPAGEUIUTILS } |
Public Member Functions | |
| virtual void | CalculatePageHandleAdornmentRects (IShape *pageShape, const PMMatrix &innerToWindowMatrix, PMRectCollection &outRectList)=0 |
| virtual Flow::ConstraintIndex | MapPointIndexToConstraintIndex (int32 pointIndex)=0 |
| virtual int32 | MapConstraintIndexToHandleIndex (Flow::ConstraintIndex i, Flow::Constraint constraint)=0 |
| virtual void | DrawItemConstraints (GraphicsData *gd, const UIDRef &pageItem)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Utilites for answering questions about ruler guides when there is an open document window. Please use the IPageUIUtils via kUtilsBoss (see Utils.h).
Utils<IPageUIUtils>()->CalculatePageAdornmentRect( ... ) ;
| pure virtual |
Given a page item shape, calculate the location of the given adornment rects. Used for page adornments.
| IShape*,the | page's shape interface |
| PMMatrix,the | inner to window matrix for the item. |
| PMRectCollection& | [OUT] outRectList, rects for each of the six constraints for the current key item |
| pure virtual |
Draw object-based page item constraints for the Object-based page layout policy
| gd | [IN] The graphics port to draw into |