InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IColumnPrefsCmdData.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 __IColumnPrefsCmdData__
25 #define __IColumnPrefsCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "SpreadID.h"
29 #include "UIDRef.h"
30 #include "PMReal.h"
31 #include "IColumns.h"
32 
33 class IDataBase;
34 
42 {
43 public:
53  virtual void SetColumnPrefsCmdData( const UIDRef& doc, /* which document to affect */
54  int32 numColumns, /* margin rect value */
55  PMReal gutter, /* gutter value */
56  IColumns::ColumnOrientation direction, /* column direction */
57  int32 colorIndex = -1, /* column color */
58  bool16 locked = -1) = 0;/* locked or not for user drag, -1 to leave unchanged. */
59  virtual UIDRef GetDocument_() const = 0;
60  virtual int32 GetNumColumns_() const = 0;
61  virtual PMReal GetGutter_() const = 0;
62  virtual IColumns::ColumnOrientation GetColumnOrientation_1() const = 0;
63  virtual int32 GetColorIndex_() const = 0;
64  virtual bool16 GetLocked_() const = 0;
65 };
66 
67 
68 #endif // __IColumnPrefsCmdData__