InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDistributeCmdData.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 // Values for IID_IINTDATA in DistributeCmd
24 //
25 //========================================================================================
26 
27 #ifndef __DISTRIBUTECMDDATA__
28 #define __DISTRIBUTECMDDATA__
29 
30 typedef enum
31 {
32  kFirstDistributeStandard = 0,
33  kHDistributeLeft = kFirstDistributeStandard,
34  kHDistributeCenter = 1,
35  kHDistributeRight = 2,
36  kVDistributeTop = 3,
37  kVDistributeCenter = 4,
38  kVDistributeBottom = 5,
39  kLastDistributeStandard = kVDistributeBottom,
40  kFirstDistributeSpace = 6,
41  kVDistributeSpace = kFirstDistributeSpace,
42  kHDistributeSpace = 7,
43  kLastDistributeSpace = kHDistributeSpace,
44 
45  kFirstDistributeKeyObject = 8,
46  kHDistributeKeyObjectLeft = kFirstDistributeKeyObject,
47  kHDistributeKeyObjectCenter = 9,
48  kHDistributeKeyObjectRight = 10,
49  kVDistributeKeyObjectTop = 11,
50  kVDistributeKeyObjectCenter = 12,
51  kVDistributeKeyObjectBottom = 13,
52  kLastDistributeKeyObject = kVDistributeKeyObjectBottom,
53  kFirstDistributeKeyObjectSpace = 14,
54  kVDistributeKeyObjectSpace = kFirstDistributeKeyObjectSpace,
55  kHDistributeKeyObjectSpace = 15,
56  kLastDistributeKeyObjectSpace = kHDistributeKeyObjectSpace,
57 
58  kFirstDistributeRect = 16,
59  kHPageDistributeLeft = kFirstDistributeRect,
60  kHPageDistributeCenter = 17,
61  kHPageDistributeRight = 18,
62  kVPageDistributeTop = 19,
63  kVPageDistributeCenter = 20,
64  kVPageDistributeBottom = 21,
65  kVPageDistributeSpace = 22,
66  kHPageDistributeSpace = 23,
67 
68  kHSpreadDistributeLeft = 24,
69  kHSpreadDistributeCenter = 25,
70  kHSpreadDistributeRight = 26,
71  kVSpreadDistributeTop = 27,
72  kVSpreadDistributeCenter = 28,
73  kVSpreadDistributeBottom = 29,
74  kVSpreadDistributeSpace = 30,
75  kHSpreadDistributeSpace = 31,
76 
77  kHMarginDistributeLeft = 32,
78  kHMarginDistributeCenter = 33,
79  kHMarginDistributeRight = 34,
80  kVMarginDistributeTop = 35,
81  kVMarginDistributeCenter = 36,
82  kVMarginDistributeBottom = 37,
83  kVMarginDistributeSpace = 38,
84  kHMarginDistributeSpace = 39,
85 
86  kHBleedDistributeLeft = 40,
87  kHBleedDistributeCenter = 41,
88  kHBleedDistributeRight = 42,
89  kVBleedDistributeTop = 43,
90  kVBleedDistributeCenter = 44,
91  kVBleedDistributeBottom = 45,
92  kVBleedDistributeSpace = 46,
93  kHBleedDistributeSpace = 47,
94 
95  kLastDistributeRect = kHBleedDistributeSpace
96 
97 } DistributeType;
98 
99 // The DistributeType values can be used with another PMReal parameter (IID_IDISTRIBUTEREALNUMBERDATA)
100 // to let user distribute objects numerically.
101 
102 // Values for IID_USEDISTRIBUTEVALUEDATA
103 typedef enum
104 {
105  kUseDistributeValue = 0,
106  kSkipDistributeValue = 1
107 } UseDistributeValue;
108 
109 #endif //__DISTRIBUTECMDDATA__
110