InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGuideFacade.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Bob Freeman
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 __IGuideFacade__
25 #define __IGuideFacade__
26 
27 // ----- Interfaces -----
28 #include "Utils.h"
29 #include "IGuideData.h"
30 
31 // ----- ID.h files -----
32 #include "GuideID.h"
33 
34 namespace Facade
35  {
42  class IGuideFacade : public IPMUnknown
43  {
44  public:
45  enum { kDefaultIID = IID_IGUIDEFACADE };
46 
47  static const bool16 kVerticalGuide = kFalse;
48  static const bool16 kHorizontalGuide = kTrue;
49 
57  virtual ErrorCode SetGuideOrientation(const UIDList& guideList, const bool16& orientation) = 0;
58 
66  virtual ErrorCode SetGuideColor(const UIDList& guideList, const UID& colorUID) = 0;
67 
76  virtual ErrorCode SetGuideViewThreshold(const UIDList& guideList, const PMReal& threshold) = 0;
77 
85  virtual ErrorCode SetGuideType(const UIDList& guideList, const IGuideData::GuideType guideType) = 0;
86 
94  virtual ErrorCode SetGuideGrowZone(const UIDList& guideList, const PMReal& zone) = 0;
95 
96 
97 
105  virtual bool16 GetGuideOrientation(const UIDRef& guideRef) const = 0;
106 
112  virtual UID GetGuideColor(const UIDRef& guideRef) const = 0;
113 
119  virtual PMReal GetGuideViewThreshold(const UIDRef& guideRef) const = 0;
120 
126  virtual IGuideData::GuideType GetGuideType(const UIDRef& guideRef) const = 0;
127 
133  virtual PMReal GetGuideGrowZone(const UIDRef& guideRef) const = 0;
134  };
135 }
136 
137 #endif // __IGuideFacade__
138