InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGuideUIUtils.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Bernd Paradies
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __IGuideUIUtils__
25 #define __IGuideUIUtils__
26 
27 #include "LayoutUIID.h"
28 #include "IPMUnknown.h"
29 #include "Utils.h"
30 #include "PMPoint.h"
31 #include "UIDRef.h"
32 
33 class ICommand;
34 class IGuideData;
35 class IColorData;
36 class IShape;
37 class ColorizedIcon;
38 
39 
46 class IGuideUIUtils : public IPMUnknown
47 {
48 public:
49  enum { kDefaultIID = IID_IGUIDEUIUTILS };
50 
53  virtual void SelectAllGuides() = 0;
54 
59  virtual void ShowGuidesIfHidden() = 0;
60 
65  virtual bool16 IsGuideHidden() = 0;
66 
73  virtual PMRect CalculateGuideAdornmentRect(IShape* guideShape, const PMMatrix& innerToWindowMatrix, ColorizedIcon* pngArt) = 0;
74 
78  virtual UIDRef GetActiveGuideAdornment() const = 0;
79 
84  virtual void SetActiveGuideAdornment(const UIDRef& guideRef) = 0;
85 
86 };
87 
88 
89 #endif // __IGuideUIUtils__