InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGuidePreferencesFacade.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: nmccully
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 __IGuidePreferencesFacade__
25 #define __IGuidePreferencesFacade__
26 
27 // ----- Interfaces -----
28 
29 #include "IPMUnknown.h"
30 #include "SpreadUIID.h"
31 
32 // ----- Includes -----
33 
34 
40 namespace Facade
41 {
43  {
44  public:
45  enum { kDefaultIID = IID_IGUIDEPREFERENCESFACADE };
46 
47  //------------------------------------------------------
48  // Smart Guide Options
49  //------------------------------------------------------
53  virtual bool GetShowSmartGuides() const = 0;
54 
59  virtual ErrorCode ShowSmartGuides(bool bShow) const = 0;
60 
64  virtual bool GetSmartAlignToObjectCenter() const = 0;
65 
70  virtual ErrorCode SetSmartAlignToObjectCenter(bool bEnable) const = 0;
71 
75  virtual bool GetSmartAlignToObjectEdges() const = 0;
76 
81  virtual ErrorCode SetSmartAlignToObjectEdges(bool bEnable) const = 0;
82 
86  virtual bool GetSmartDimensionsEnabled() const = 0;
87 
92  virtual ErrorCode SetSmartDimensionsEnabled (bool bEnable) const = 0;
93 
97  virtual bool GetSmartSpacingEnabled() const = 0;
98 
103  virtual ErrorCode SetSmartSpacingEnabled(bool bEnable) const = 0;
104 
111  virtual UIDRef GetSmartGuidesColor() const = 0;
112 
117  virtual ErrorCode SetSmartGuidesColor(UID color) const = 0;
118 
119  //------------------------------------------------------
120  // Standard Guide Options
121  //------------------------------------------------------
122 
123  };
124 }
125 #endif // __IGuidePreferencesFacade__