InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGuidePrefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: psorrick
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 __IGuidePrefs__
25 #define __IGuidePrefs__
26 
27 #include "IPMUnknown.h"
28 #include "SpreadID.h"
29 
37 class IGuidePrefs : public IPMUnknown
38 {
39 public:
40  enum { kDefaultIID = IID_IGUIDEPREFERENCES };
45 
46  // Are guides drawn in front or back by default
47  virtual void SetGuidesInBack(const bool16 bBack) = 0;
48  virtual const bool16 GetGuidesInBack() = 0;
49 
50  // Are guides shown or hidden by default
51  virtual void SetGuidesShown(const bool16 bShown) = 0;
52  virtual const bool16 GetGuidesShown() = 0;
53 
54  // Are guides locked or unlocked by default
55  virtual void SetGuidesLocked(const bool16 bLocked) = 0;
56  virtual const bool16 GetGuidesLocked() = 0;
57 
58  // Are guide have threhold
59  virtual void SetGuidesThreshold(const PMReal threshold) = 0;
60  virtual PMReal GetGuidesThreshold() = 0;
61 
62  // Are guide have color
63  virtual void SetGuidesColor(const UID uiColorUID) = 0;
64  virtual UIDRef GetGuidesColor() = 0;
65 
66  virtual const bool16 GetGuidesShown_DURING_CONVERSION_ONLY() = 0;
67  virtual const bool16 GetGuidesLocked_DURING_CONVERSION_ONLY() = 0;
68  virtual int32 GetGuidesColorIndex_DURING_CONVERSION_ONLY() = 0;
69 };
70 
71 #endif