|
| enum | { kSnapNothing = 0x0000, kSnapRulerGuides = 0x0001, kSnapSmartGuides = 0x0002, kSnapMarginGuides = 0x0004, kSnapColumnGuides = 0x0008, kSnapPage = 0x0010, kSnapGrid = 0x0020, kSnapBaselineGrid = 0x0040, kSnapRulerTickmarks = 0x0080, kSnapSelection = 0x0100, kSnapAllGuides = kSnapRulerGuides + kSnapMarginGuides + kSnapColumnGuides + kSnapSmartGuides, kSnapAllGrids = kSnapGrid + kSnapBaselineGrid, kSnapAllPageMarks = kSnapAllGuides + kSnapAllGrids + kSnapPage } |
| |
| enum | { kSnapNone = 0x00000000, kSnapX = 0x00000001, kSnapY = 0x00000002, kSnapXandY = kSnapX + kSnapY, kSnapAnyX = 0x00000004, kSnapAnyY = 0x00000008, kSnapAllX = 0x00000004 + kSnapX, kSnapAllY = 0x00000008 + kSnapY, kSnapAllXandY = kSnapAllX + kSnapAllY, kSnapInvalid = 0x00000010, kSnapSkipCenters = 0x00000020 } |
| |
| enum | eShouldSnap { kShouldSnapDrag_UseDefault = -1, kShouldSnapDrag_No = 0, kShouldSnapDrag_Yes = 1 } |
| |
|
| virtual void | Init (IControlView *theView)=0 |
| |
| virtual const UIDList * | GetItemList () const =0 |
| |
| virtual void | SetItemList (const UIDList &itemList)=0 |
| |
| virtual const PMPoint & | GetInitialPoint () const =0 |
| |
| virtual void | SetInitialPoint (const PMPoint &initialPoint)=0 |
| |
| virtual const PMRect::PointIndex | GetPointIndex () const =0 |
| |
| virtual void | SetPointIndex (const PMRect::PointIndex pointIndex)=0 |
| |
| virtual const PMRect::PointIndex | GetActualPointIndex () const =0 |
| |
| virtual void | SetActualPointIndex (const PMRect::PointIndex pointIndex)=0 |
| |
| virtual bool16 | GetSnappingEnabled () const =0 |
| |
| virtual void | SetSnappingEnabled (bool16 enabled)=0 |
| |
| virtual SnapFlags | GetSnapFlags () const =0 |
| |
| virtual void | SetSnapFlags (IControlView *theView, SnapFlags flags)=0 |
| |
| virtual SnapType | GetSnapType () const =0 |
| |
| virtual void | SetSnapType (SnapType flags)=0 |
| |
| virtual SnapType | DoSnapTo (IControlView *theView, PMPoint &thePoint, PMRect *theRect=nil, SnapType snapType=kSnapXandY)=0 |
| |
| virtual SnapType | DoSnapToPoint (IControlView *theView, PMPoint &thePoint, PMRect *theRect, SnapType snapType=kSnapXandY)=0 |
| |
| virtual SnapType | DoSnapToRect (IControlView *theView, PMPoint &thePoint, PMRect *theRect, SnapType snapType=kSnapXandY)=0 |
| |
| virtual SnapType | SnapToRulerTickmarks (IControlView *theView, PMPoint &thePoint, SnapType snapType=kSnapXandY)=0 |
| |
| virtual SnapType | SnapToRulerGuides (IControlView *theView, PMPoint &thePoint, SnapType snapType=kSnapXandY)=0 |
| |
| virtual SnapType | SnapToMarginGuides (IControlView *theView, PMPoint &thePoint, SnapType snapType=kSnapXandY)=0 |
| |
| virtual SnapType | SnapToColumnGuides (IControlView *theView, PMPoint &thePoint, SnapType snapType=kSnapX)=0 |
| |
| virtual SnapType | SnapToGrid (IControlView *theView, PMPoint &thePoint, SnapType snapType=kSnapXandY)=0 |
| |
| virtual SnapType | SnapToBaselineGrid (IControlView *theView, PMPoint &thePoint, SnapType snapType=kSnapY)=0 |
| |
| virtual SnapType | SnapToPage (IControlView *theView, PMPoint &thePoint, SnapType snapType=kSnapY)=0 |
| |
| virtual void | Add (const PMMatrix &rXform, IHierarchy *pPageItem)=0 |
| |
| virtual bool16 | MouseOverPage (IControlView *theView, PMPoint &thePoint, PMRect &pageRect, int32 &pageIndex)=0 |
| |
| virtual eShouldSnap | ShouldSnapDragOverLayoutView (IControlView *layoutView, const PMPoint &thePoint, const PMPoint &theConstrainedPoint, const PMPoint &thePreviousPoint, const PMReal zoomFactor, const PMRect &theRect) const =0 |
| |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| |
| virtual void | AddRef () const =0 |
| |
| virtual void | Release () const =0 |
| |