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

Public Types | |
| enum | { kDefaultIID = IID_IGUIDEUIUTILS } |
Public Member Functions | |
| virtual void | SelectAllGuides ()=0 |
| virtual void | ShowGuidesIfHidden ()=0 |
| virtual bool16 | IsGuideHidden ()=0 |
| virtual PMRect | CalculateGuideAdornmentRect (IShape *guideShape, const PMMatrix &innerToWindowMatrix, ColorizedIcon *pngArt)=0 |
| virtual UIDRef | GetActiveGuideAdornment () const =0 |
| virtual void | SetActiveGuideAdornment (const UIDRef &guideRef)=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 IGuideUIUtils via kUtilsBoss (see Utils.h).
Utils<IGuideUIUtils>()->SelectAllGuides( ... ) ;
| pure virtual |
Given a guide shape, calculate the location of the given adornment rect. Used for guide type adornments.
| IShape*,the | guide item's shape interface |
| PMMatrix,the | inner to window matrix for the item. |
| ColorizedIcon,the | png art for the adornment. |
| pure virtual |
Return the active guide for the guide type adornment the user clicked on.
| pure virtual |
Determines if any guides are currently hidden, either overall with IGuidePrefs (GetGuidesShown), or on the active layer (IDocumentLayer, IsGuideVisible).
| pure virtual |
Select all the visible, unlocked guides on the current spread.
| pure virtual |
Set the active guide for the guide type adornment the user clicked on. Generally for INTERNAL use only.
| a | UIDRef for the guide the user clicked on its guide type adornment. |
| pure virtual |
Helper function to show guides on the page if they are hidden. Guides may be hidden overall (IGuidePrefs, GetGuidesShown) or on the active layer (IDocumentLayer, IsGuideVisible). Useful for a tracker that creates guides.