InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICJKLayoutGridData.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 // Purpose: Drawing data like color, fill, etc.
24 //
25 //========================================================================================
26 
27 #ifndef __ICJKLayoutGridData__
28 #define __ICJKLayoutGridData__
29 
30 #include "IPMUnknown.h"
31 #include "IColumns.h"
32 
33 #include "K2Vector.h"
34 #include "CJKGridID.h"
35 
36 class PMRect;
37 
39 
43 {
44 
45 public:
46  enum { kDefaultIID = IID_ICJKLAYOUTGRIDDATA };
47 
48  //---------------------------------------
49  // enumerations
50  //---------------------------------------
51 
52  enum GridStartingPoint
53  {
54  kTopOutside,
55  kTopInside,
56  kBottomOutside,
57  kBottomInside,
58  kCenterVertical,
59  kCenterHorizontal,
60  kCenter
61  };
62 
63  //---------------------------------------
64  // Get and Set Methods
65  //---------------------------------------
66 
67  // Grid starting point - which corner the grid will flow from
68 
72  virtual void SetGridStartingPoint(GridStartingPoint choice) = 0;
73 
77  virtual GridStartingPoint GetGridStartingPoint() = 0;
78 
82  virtual void SetUseMaster(const bool16 useMaster) = 0;
83 
87  virtual bool16 GetUseMaster() = 0;
88 
93  virtual void CopyFrom(ICJKLayoutGridData * source, bool16 doDirty = kTrue) = 0;
94 
95 };
96 
97 
98 #endif