InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAutoLayoutPrefsCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Rich Gartland
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 // Data interface for auto layout preference command.
24 //
25 //========================================================================================
26 
27 #ifndef __IAutoLayoutPrefsCmdData__
28 #define __IAutoLayoutPrefsCmdData__
29 
30 #include "IPMUnknown.h"
31 #include "AutoLayoutID.h"
32 
36 {
37 public:
48  virtual void Set( const UIDRef& doc,
49  bool16 bAutoLayoutOn,
50  bool16 bStretchGraphics,
51  bool16 bMoveGuides,
52  bool16 bLoosenLocks,
53  bool16 bStickyGuides,
54  bool16 bIgnoreGuides,
55  PMReal rAutoSnapZone) = 0;
56 
60  virtual void SetAutoLayoutOn(bool16 val) = 0;
61 
65  virtual void SetStretchGraphics(bool16 val) = 0;
66 
70  virtual void SetMoveGuides(bool16 val) = 0;
71 
75  virtual void SetLoosenLocks(bool16 val) = 0;
76 
80  virtual void SetStickyGuides(bool16 val) = 0;
81 
85  virtual void SetIgnoreGuides(bool16 val) = 0;
86 
90  virtual void SetAutoSnapZone(PMReal val) = 0;
91 
95  virtual const UIDRef& GetDocument() const = 0;
96 
100  virtual const bool16 GetAutoLayoutOn() const = 0;
101 
105  virtual const bool16 GetStretchGraphics() const = 0;
106 
110  virtual const bool16 GetMoveGuides() const = 0;
111 
115  virtual const bool16 GetLoosenLocks() const = 0;
116 
120  virtual const bool16 GetStickyGuides() const = 0;
121 
125  virtual const bool16 GetIgnoreGuides() const = 0;
126 
130  virtual const PMReal GetAutoSnapZone() const = 0;
131 
132 };
133 
134 
135 
136 
137 #endif // __IDocSetupCmdData__