InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICJKGridPrefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Heath Lynn
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 __ICJKGridPrefs__
25 #define __ICJKGridPrefs__
26 
27 #include "IPMUnknown.h"
28 #include "ICJKCharCountOptions.h"
29 
33 class ICJKGridPrefs : public IPMUnknown
34 {
35 
36 public:
37 
38  enum { kDefaultIID = IID_ICJKGRIDPREFS };
39 
43  virtual bool16 GetSnapToLayoutGrid() = 0;
44 
48  virtual void SetSnapToLayoutGrid(bool16 status) = 0;
49 
54  virtual void SetLayoutGridColor(const UIDRef uiColorUIDRef, bool16 bTranslateDBToDB = kTrue) = 0;
58  virtual const UIDRef GetLayoutGridColor() = 0;
59 
63  virtual void SetColorEveryNthCell(int16 n) = 0;
64 
68  virtual int16 GetColorEveryNthCell() = 0;
69 
74  virtual void SetSingleLineColorMode(bool16 isSingleLine) = 0;
75 
79  virtual bool16 GetSingleLineColorMode() = 0;
80 
84  virtual void SetICFMode(bool16 useICF) = 0;
85 
89  virtual bool16 GetICFMode() = 0;
90 
94  virtual void SetUseCircularCells(bool16 useCircles) = 0;
95 
99  virtual bool16 GetUseCircularCells() = 0;
100 
105  virtual void SetMinimumScale(const PMReal& minScale) = 0;
106 
111  virtual PMReal GetMinimumScale() = 0;
112 
116  virtual bool16 GetShowAllLayoutGrids() = 0;
117 
121  virtual void SetShowAllLayoutGrids(bool16 show) = 0;
122 
126  virtual bool16 GetShowAllFrameGrids() = 0;
127 
131  virtual void SetShowAllFrameGrids(bool16 show) = 0;
132 
136  virtual bool16 GetShowCharacterCount() = 0;
137 
141  virtual void SetShowCharacterCount(bool16 show) = 0;
142 
148  virtual void CopyFrom(ICJKGridPrefs *source) = 0;
149 
152  virtual bool16 GetSnapToLayoutGrid_DURING_CONVERSION_ONLY() = 0;
153 
157 
160  virtual bool16 GetShowAllFrameGrids_DURING_CONVERSION_ONLY() = 0;
161 
165 
169 
170 };
171 
172 #endif