InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGuidePrefsCmdData.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 __IGuidePrefsCmdData__
25 #define __IGuidePrefsCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "SpreadID.h"
29 #include "UIDRef.h"
30 #include "PMRect.h"
31 #include "IGuideData.h"
32 
33 class IDataBase;
34 
48 {
49 public:
50  virtual void Set( const UIDRef& doc, /* which document to affect */
51  const bool16 inBack, /* column, margin and ruler guides drawn in front or back */
52  const bool16 shown, /* column, margin and ruler guides shown or hidden */
53  const bool16 locked, /* column, margin and ruler guides locked or unlocked */
54  const PMReal& threshold = kDefaultViewThreshold, /* view threshold */
55  const UID colorUID = kInvalidUID) = 0;
56  virtual const UIDRef& GetDocument() const = 0;
57  virtual const bool16 GetGuidesInBack() const = 0;
58  virtual const bool16 GetGuidesShown() const = 0;
59  virtual const bool16 GetGuidesLocked() const = 0;
60  virtual const PMReal& GetGuidesViewThreshold() const = 0;
61  virtual const UID GetGuidesColorUID() const = 0;
62 };
63 
64 
65 
66 
67 #endif // __IGuidePrefsCmdData__