InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IColumnPrefs.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 __IColumnPrefs__
25 #define __IColumnPrefs__
26 
27 #include "IPMUnknown.h"
28 #include "IColumns.h"
29 #include "SpreadID.h"
30 
41 class IColumnPrefs : public IPMUnknown
42 {
43 public:
44  enum { kDefaultIID = IID_ICOLUMNPREFERENCES };
45 
49  virtual void SetNumColumns(const int32& numColumns) = 0;
50 
54  virtual int32 GetNumColumns() = 0;
55 
59  virtual void SetGutter(const PMReal& gutter) = 0;
60 
65  virtual PMReal GetGutter() = 0;
66 
70  virtual void SetColumnOrientation_2( IColumns::ColumnOrientation direction) = 0;
71 
75  virtual IColumns::ColumnOrientation GetColumnOrientation_2() = 0;
76 
81  virtual void SetColor(const UID uiColorUID) = 0;
82 
87  virtual UIDRef GetColor() = 0;
88 
92  virtual void SetLocked(const bool16 bLocked) = 0;
93 
97  virtual bool16 GetLocked() = 0;
98 
101  virtual bool16 GetLocked_DURING_CONVERSION_ONLY() = 0;
102 
106  virtual int32 GetColorIndex_DURING_CONVERSION_ONLY() = 0;
107 
108 
109 };
110 
111 #endif