InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ColorSystemID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Jack Kirstein
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 __ColorSystemID__
25 #define __ColorSystemID__
26 
27 #include "CrossPlatformTypes.h"
28 #include "IDFactory.h"
29 #include "IconRsrcDefs.h"
30 
31 #define kColorSystemPrefix RezLong(0x1F00)
32 
33 
34 //_________________________________________________________________________
35 // <Start IDC>
36 // <Class ID>
37 //_________________________________________________________________________
38 // bosses
39 
40 // Gap
41 
42 // GAP
43 
44 
45 
46 
47 
48 // GAP
49 // GAP
50 
51 
52 
53 
54 
55 
56 
57 
58 //_________________________________________________________________________
59 // <Interface ID>
60 //_________________________________________________________________________
61 // IIDs
62 
63 // GAP
64 
65 // GAP
66 
67 
68 // GAP
69 
70 
71 
72 
73 
74 
75 
76 //_________________________________________________________________________
77 // <Implementation ID>
78 //_________________________________________________________________________
79 // Implementation IIDs
80 
81 
82 
83 // GAP
84 
85 
86 
87 //gap
88 
89 
90 
91 
92 
93 // Available
94 
95 
96 
97 
98 //gap
99 
100 
101 
102 
103 
104 
105 
106 
107 // gap
108 
109 
110 //_________________________________________________________________________
111 // <Error ID>
112 //_________________________________________________________________________
113 // Error Codes
114 // NOTE: Internal errorcoes, no associated error strings.
115 
116 // NOTE: public errorcoes.
117 
118 //_________________________________________________________________________
119 // <Script Element ID>
120 //_________________________________________________________________________
121 // Script Element IDs
122 
123 //Suites
124 
125 //Objects
126 
127 //Events
128 
129 //Properties
130 
131 //Enums
132 
133 //_________________________________________________________________________
134 // <Service ID>
135 //_________________________________________________________________________
136 // Service IDs
137 
138 // <Ignore>
139 // Default color space definition
140 // See GraphicTypes.h
141 // Default color value ranges for the following color spaces:
142 // RGB: [0, 1]
143 // CMYK: [0, 1]%
144 // LAB: [-128, 127]
145 
146 // Defines the creator ID for InDesign native swatches
147 #define kInDesignNativeSwatchCreatorID kColorSystemPrefix + 1
148 
149 
150 //_________________________________________________________________________
151 // Other useful global definitions
152 //_________________________________________________________________________
153 #define kDefaultTintPercent 100.0 // Default tint percentage
154 #define kInvalidTintPercent -1.0 // Invalid tint percentage
155 #define kRgbIcon kRGBIcon // Resource ID of RGB icon
156 #define kCmykIcon kCYMKIcon // Resource ID of CMYK icon
157 #define kQuestionMarkIcon kQuestionMarkBigIcon // Resource ID of question mark icon
158 #define kRegistrationIcon kRegistrationMarkIcon // Resource ID of registration icon
159 #define kNoneSwatchIcon kNoneIcon // Resource ID of none swatch icon
160 #define kLabIcon kLabColorIcon // Resource ID of Lab swatch icon
161 #define kMixedInkIcon kMixedInkIconID // Resource ID of mixed ink swatch icon
162 #define kMixedInkParentIcon kMixedInkParentIconID // Resource ID of mixed ink parent swatch icon
163 
164 // Special color swatch edit definition
165 #define kCanNotEditColorName 0x00000001
166 #define kCanNotEditColorMode 0x00000002 // Will remove this for Anna, the name is confusing
167 #define kCanNotEditColorData 0x00000004
168 #define kCanNotEditTintValue 0x00000008
169 #define kCanNotEditColorType kCanNotEditColorMode
170 #define kCanNotEditColorSpace 0x00000010
171 #endif