InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
XPID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Matt Phillips
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 // Description: IDs for the transparency plugin.
24 //
25 //========================================================================================
26 
27 #ifndef __XPID__
28 #define __XPID__
29 
30 #include "CrossPlatformTypes.h"
31 #include "IDFactory.h"
32 
33 #define kXPPrefix RezLong(0x10800) //Refer also to AdobePrefix.h
34 #define kXPPrefix2 RezLong(0x1EB00) //Refer also to AdobePrefix.h
35 
36 // <Start IDC>
37 // PluginID
38 #define kXPPluginName "Transparency"
39 
40 // Conversion
41 // For pub conversion constants see XPConversionID.h
42 
43 // <Class ID>
44 // ClassIDs (i.e. bosses)
45 //gap
46 //gap
47 
48 
49 //gap
50 // Leave 10-id gap here (129-138) for private purposes.
51 // Back to other stuff now..
52 // Directional feather attributes..
53 // Gradient feather attributes..
54 
55 // <Interface ID>
56 // IIDs
57 
58 
59 
60 
61 
62 
63 // <Implementation ID>
64 // Implementation IIDs (i.e. C++ classes)
65 
66 
67 
68 
69 //gap
70 
71 // <Widget ID>
72 
73 // <ViewPortAttr ID>
74 // ViewPortAttrIDs
75 // When set, this will suppress drop shadows and feathers and any other effects.
76 // It's useful for when you want to generate a mask that doesn't include those effects.
77 
78 //
79 //Script Element IDs
80 //
81 
82 //Suites
83 
84 //Objects
85 //gap
86 
87 //Events
88 
89 //Properties
90 // Note: The following script elements appear to be duplicated below; but these are the *old* script
91 // elements hanging off the page item in INX. The ones below are the *new* ones that reside in the
92 // new effects hierarchy for Cobalt. (The name of the property changed in the rearrangement, thus
93 // we need old and new versions.)
94 // The following are the new elements for Cobalt.
95 //Enums
96 //gap
97 
98 // These point to the nodes in the new hierarchical effects structure.
99 // Back to properties
100 // Gradient feather nodes & properties
101 // Opacity gradient data
102 // Global light
103 // More attributes
104 // Special 'derived' attributes (not real attributes, translated at scripting level)
105 //FC Nodes
106 
107 
108 //GUIDS
109 // {9E955039-6DBC-4988-B7D6-E8E13E700CC1}
110 #define kFlattenerSettings_CLSID { 0x9e955039, 0x6dbc, 0x4988, { 0xb7, 0xd6, 0xe8, 0xe1, 0x3e, 0x70, 0xc, 0xc1 } }
111 // {2841C44D-00CB-4faf-9B61-D889C7FA4F61}
112 #define kFlattenerStyle_CLSID { 0x2841c44d, 0xcb, 0x4faf, { 0x9b, 0x61, 0xd8, 0x89, 0xc7, 0xfa, 0x4f, 0x61 } }
113 // {6EBE0972-2FF7-4c88-B28D-BAC0B02DE562}
114 #define kFlattenerStyles_CLSID { 0x6ebe0972, 0x2ff7, 0x4c88, { 0xb2, 0x8d, 0xba, 0xc0, 0xb0, 0x2d, 0xe5, 0x62 } }
115 // {f42ea18c-cf8b-11d4-8950-00b0d02095de}
116 #define kXPPref_CLSID { 0xf42ea18c, 0xcf8b, 0x11d4, { 0x89, 0x50, 0x0, 0xb0, 0xd0, 0x20, 0x95, 0xde } }
117 // {908CD67F-C8A4-4852-A62A-1A86E7A56C24}
118 #define kXPPageItemSettings_CLSID { 0x908CD67F, 0xC8A4, 0x4852, { 0xA6, 0x2A, 0x1A, 0x86, 0xE7, 0xA5, 0x6C, 0x24}}
119 // {1D2811AD-F7E0-43ef-93B8-8971AA4BDE59}
120 #define kXPStrokeSettings_CLSID { 0x1D2811AD, 0xF7E0, 0x43ef, { 0x93, 0xB8, 0x89, 0x71, 0xAA, 0x4B, 0xDE, 0x59}}
121 // {6C9CF717-6B0C-4e6e-9D36-62B144CE3A2A}
122 #define kXPFillSettings_CLSID { 0x6C9CF717, 0x6B0C, 0x4e6e, { 0x9D, 0x36, 0x62, 0xB1, 0x44, 0xCE, 0x3A, 0x2A}}
123 // {5669E404-E901-4077-8D14-B08C1F2854FE}
124 #define kXPContentSettings_CLSID { 0x5669E404, 0xE901, 0x4077, { 0x8D, 0x14, 0xB0, 0x8C, 0x1F, 0x28, 0x54, 0xFE} }
125 // {65F068E4-DAA2-4276-8402-F0B4E43AE915}
126 #define kXPBlendingSettings_CLSID { 0x65F068E4, 0xDAA2, 0x4276, { 0x84, 0x02, 0xF0, 0xB4, 0xE4, 0x3A, 0xE9, 0x15 } }
127 // {48684C51-29BA-41d7-B97A-A00506A903BB}
128 #define kXPDropShadowSettings_CLSID { 0x48684C51, 0x29BA, 0x41d7, { 0xB9, 0x7A, 0xA0, 0x05, 0x06, 0xA9, 0x03, 0xBB } }
129 // {6572C2FD-37E5-48aa-B45C-A4E7DDCEACC2}
130 #define kXPFeatherSettings_CLSID { 0x6572C2FD, 0x37E5, 0x48aa, { 0xB4, 0x5C, 0xA4, 0xE7, 0xDD, 0xCE, 0xAC, 0xC2 } }
131 // {43094EB8-B4DB-4261-BDEC-911ACB58555D}
132 #define kXPInnerShadowSettings_CLSID { 0x43094EB8, 0xB4DB, 0x4261, { 0xBD, 0xEC, 0x91, 0x1A, 0xCB, 0x58, 0x55, 0x5D } }
133 // {77A0E0E3-AADE-42aa-9928-929D74837039}
134 #define kXPOuterGlowSettings_CLSID { 0x77A0E0E3, 0xAADE, 0x42aa, { 0x99, 0x28, 0x92, 0x9D, 0x74, 0x83, 0x70, 0x39 } }
135 // {8148D6C4-29D3-47e5-870D-749F36E2EC4F}
136 #define kXPInnerGlowSettings_CLSID { 0x8148D6C4, 0x29D3, 0x47e5, { 0x87, 0x0D, 0x74, 0x9F, 0x36, 0xE2, 0xEC, 0x4F } }
137 // {FC0A7913-E840-4b78-9091-F26C59BC9293}
138 #define kXPBevelEmbossSettings_CLSID { 0xFC0A7913, 0xE840, 0x4b78, { 0x90, 0x91, 0xF2, 0x6C, 0x59, 0xBC, 0x92, 0x93 } }
139 // {9249E5FF-5E40-47cc-9713-C0B13C5BABD2}
140 #define kXPSatinSettings_CLSID { 0x9249E5FF, 0x5E40, 0x47cc, { 0x97, 0x13, 0xC0, 0xB1, 0x3C, 0x5B, 0xAB, 0xD2 } }
141 // {93019E4E-1C3E-45f5-9431-5FD511DCCA35}
142 #define kXPDirectionalFeatherSettings_CLSID { 0x93019E4E, 0x1C3E, 0x45f5, { 0x94, 0x31, 0x5F, 0xD5, 0x11, 0xDC, 0xCA, 0x35 } }
143 // {A8CC0B02-28D0-4f82-BACB-AE711B602A1B}
144 #define kXPGradientFeatherSettings_CLSID { 0xA8CC0B02, 0x28D0, 0x4f82, { 0xBA, 0xCB, 0xAE, 0x71, 0x1B, 0x60, 0x2A, 0x1B } }
145 // {C375C23A-C422-4a2e-A8E2-F3C20EACFD46}
146 #define kOpacityGradientStop_CLSID { 0xC375C23A, 0xC422, 0x4a2e, { 0xA8, 0xE2, 0xF3, 0xC2, 0x0E, 0xAC, 0xFD, 0x46} }
147 // {03D5546B-BDB1-488c-BF5C-A622B962B58C}
148 #define kOpacityGradientStops_CLSID { 0x03D5546B, 0xBDB1, 0x488c, { 0xBF, 0x5C, 0xA6, 0x22, 0xB9, 0x62, 0xB5, 0x8C } }
149 // {4CFD4056-2AF2-434e-8D91-15F8A0548BE1}
150 #define kXPDefaultContainer_CLSID { 0x4cfd4056, 0x2af2, 0x434e, { 0x8d, 0x91, 0x15, 0xf8, 0xa0, 0x54, 0x8b, 0xe1 } }
151 
152 // {75D193B7-A3E1-4a9b-8400-A9A4B0E61B72}
153 #define kXPFC_PageItemSettings_CLSID { 0x75d193b7, 0xa3e1, 0x4a9b, { 0x84, 0x0, 0xa9, 0xa4, 0xb0, 0xe6, 0x1b, 0x72 } }
154 // {B1C1C975-8037-4103-B96E-D1C861ECB211}
155 #define kXPFC_StrokeSettings_CLSID { 0xb1c1c975, 0x8037, 0x4103, { 0xb9, 0x6e, 0xd1, 0xc8, 0x61, 0xec, 0xb2, 0x11 } }
156 // {98646CD0-DB2B-41c8-B774-F834E178C29F}
157 #define kXPFC_FillSettings_CLSID { 0x98646cd0, 0xdb2b, 0x41c8, { 0xb7, 0x74, 0xf8, 0x34, 0xe1, 0x78, 0xc2, 0x9f } }
158 // {A75E01D3-62A3-4d01-BC8B-73327CEDE0D3}
159 #define kXPFC_ContentSettings_CLSID { 0xa75e01d3, 0x62a3, 0x4d01, { 0xbc, 0x8b, 0x73, 0x32, 0x7c, 0xed, 0xe0, 0xd3 } }
160 // {D9409068-0D4D-4782-A81C-1CA0D736D283}
161 #define kXPFC_BlendingSettings_CLSID { 0xd9409068, 0xd4d, 0x4782, { 0xa8, 0x1c, 0x1c, 0xa0, 0xd7, 0x36, 0xd2, 0x83 } }
162 // {2703BF04-4585-4d38-93B3-73820FDED4BD}
163 #define kXPFC_DropShadowSettings_CLSID { 0x2703bf04, 0x4585, 0x4d38, { 0x93, 0xb3, 0x73, 0x82, 0xf, 0xde, 0xd4, 0xbd } }
164 // {6F2EE154-4911-4679-B36E-A4CAE0FE2259}
165 #define kXPFC_FeatherSettings_CLSID { 0x6f2ee154, 0x4911, 0x4679, { 0xb3, 0x6e, 0xa4, 0xca, 0xe0, 0xfe, 0x22, 0x59 } }
166 // {F4C0F4B2-964F-43db-A4A7-6BFC7CC09CD2}
167 #define kXPFC_InnerShadowSettings_CLSID { 0xf4c0f4b2, 0x964f, 0x43db, { 0xa4, 0xa7, 0x6b, 0xfc, 0x7c, 0xc0, 0x9c, 0xd2 } }
168 // {C4585392-4B16-4f6a-9191-311619BB989F}
169 #define kXPFC_OuterGlowSettings_CLSID { 0xc4585392, 0x4b16, 0x4f6a, { 0x91, 0x91, 0x31, 0x16, 0x19, 0xbb, 0x98, 0x9f } }
170 // {D3F3A468-B6F1-46b9-B855-7790F14EC052}
171 #define kXPFC_InnerGlowSettings_CLSID { 0xd3f3a468, 0xb6f1, 0x46b9, { 0xb8, 0x55, 0x77, 0x90, 0xf1, 0x4e, 0xc0, 0x52 } }
172 // {371E10A6-BE71-492f-8F35-866D579C9621}
173 #define kXPFC_BevelEmbossSettings_CLSID { 0x371e10a6, 0xbe71, 0x492f, { 0x8f, 0x35, 0x86, 0x6d, 0x57, 0x9c, 0x96, 0x21 } }
174 // {87536138-1998-40be-AFCB-9806846AA126}
175 #define kXPFC_SatinSettings_CLSID { 0x87536138, 0x1998, 0x40be, { 0xaf, 0xcb, 0x98, 0x6, 0x84, 0x6a, 0xa1, 0x26 } }
176 // {6A55918A-5DF6-461e-83E4-E38FA3496463}
177 #define kXPFC_DirectionalFeatherSettings_CLSID { 0x6a55918a, 0x5df6, 0x461e, { 0x83, 0xe4, 0xe3, 0x8f, 0xa3, 0x49, 0x64, 0x63 } }
178 // {7AC3C41B-9150-4dde-982A-4EFB0C68E4E0}
179 #define kXPFC_GradientFeatherSettings_CLSID { 0x7ac3c41b, 0x9150, 0x4dde, { 0x98, 0x2a, 0x4e, 0xfb, 0xc, 0x68, 0xe4, 0xe0 } }
180 
181 enum TransparencyScriptIDs
182 {
183  // Transparency
184  c_BaseFlattenerProperties = 'flBp',
185  c_FlattenerSettings = 'flSe',
186  p_FlattenerSettings = 'fsFS',
187  c_FlattenerStyle = 'flSt',
188  c_FlattenerStyles = 'flSs',
189  c_XPDefaultContainer = 'xpDC',
190  c_OpacityGradientStops = 'xpQo',
191  c_OpacityGradientStop = 'xpQp',
192 
193  c_PageItemTransparencySettings = 'xpQa',
194  c_StrokeTransparencySettings = 'xpQb',
195  c_FillTransparencySettings = 'xpQc',
196  c_ContentTransparencySettings = 'xpQd',
197  c_BlendingSettings = 'xpQe',
198  c_DropShadowSettings = 'xpQf',
199  c_FeatherSettings = 'xpQg',
200  c_InnerShadowSettings = 'xpQh',
201  c_OuterGlowSettings = 'xpQi',
202  c_InnerGlowSettings = 'xpQj',
203  c_BevelEmbossSettings = 'xpQk',
204  c_SatinSettings = 'xpQl',
205  c_DirectionalFeatherSettings = 'xpQm',
206  c_GradientFeatherSettings = 'xpQn',
207 
208  c_FC_PageItemTransparencySettings = 'xfQa',
209  c_FC_StrokeTransparencySettings = 'xfQb',
210  c_FC_FillTransparencySettings = 'xfQc',
211  c_FC_ContentTransparencySettings = 'xfQd',
212  c_FC_BlendingSettings = 'xfQe',
213  c_FC_DropShadowSettings = 'xfQf',
214  c_FC_FeatherSettings = 'xfQg',
215  c_FC_InnerShadowSettings = 'xfQh',
216  c_FC_OuterGlowSettings = 'xfQi',
217  c_FC_InnerGlowSettings = 'xfQj',
218  c_FC_BevelEmbossSettings = 'xfQk',
219  c_FC_SatinSettings = 'xfQl',
220  c_FC_DirectionalFeatherSettings = 'xfQm',
221  c_FC_GradientFeatherSettings = 'xfQn',
222 
223  // Transparency properties
224  // Object properties (linking page item to child prefs)
225  p_XPDefaultContainer = 'xpCP',
226  p_XPPageItemSettings = 'xpSP',
227  p_XPStrokeSettings = 'xpSS',
228  p_XPFillSettings = 'xpSF',
229  p_XPContentSettings = 'xpSC',
230  p_XPBlendingSettings = 'xpS0',
231  p_XPDropShadowSettings = 'xpS1',
232  p_XPFeatherSettings = 'xpS2',
233  p_XPInnerShadowSettings = 'xpS3',
234  p_XPOuterGlowSettings = 'xpS4',
235  p_XPInnerGlowSettings = 'xpS5',
236  p_XPBevelEmbossSettings = 'xpS6',
237  p_XPSatinSettings = 'xpS7',
238  p_XPDirectionalFeatherSettings = 'xpS8',
239  p_XPGradientFeatherSettings = 'xpS9',
240 
241  // Basic
242  p_XPBlendMode = 'xpBm', // uses enum 'enXM'
243  p_XPOpacity = 'xpBo',
244  p_XPKnockoutGroup = 'xpBk',
245  p_XPIsolateBlending = 'xpBi',
246  // DropShadow (legacy)
247  p_XPDSMode = 'xpSm', // uses enum 'enXS'
248  p_XPDSBlendMode = 'xpSb', // uses enum 'enXM'
249  p_XPDSOffsetX = 'xpSx',
250  p_XPDSOffsetY = 'xpSy',
251  p_XPDSBlurRadius = 'xpSr',
252  p_XPDSSpread = 'xpSs',
253  p_XPDSNoise = 'xpSn',
254  p_XPDSColor = 'xpSc',
255  p_XPDSOpacity = 'xpSo',
256  // Feather (Vignette) (legacy)
257  p_XPVGMode = 'xpVm', // uses enum 'enXF'
258  p_XPVGWidth = 'xpVw',
259  p_XPVGCornerType = 'xpVc', // uses enum 'enXC'
260  p_XPVGNoise = 'xpVn',
261 
262  // The following p_XP constants are for the new hierarchical arrangement
263  // of properties where the terms are simpler because they're grouped into
264  // effect categories.
265 
266  p_XPStyle = 'xpUb', // uses enum 'enX2'
267  p_XPDepth = 'xpUc',
268  p_XPDirection = 'xpUd', // uses enum 'enX4'
269  p_XPSoften = 'xpUe',
270  p_XPAltitude = 'xpUf',
271  p_XPHighlightColor = 'e0E4',
272  p_XPHighlightBlendMode = 'xpUh', // uses enum 'enXM'
273  p_XPHighlightOpacity = 'e0E3',
274  p_XPXOffset = 'xpUj',
275  p_XPYOffset = 'xpUk',
276  p_XPDistance = 'e0D8',
277  p_XPNoise = 'e0D5',
278  p_XPApply = 'xpUn',
279  p_XPTechnique = 'xpUo', // uses enum 'enX0' or 'enX3'
280  p_XPMode = 'xpUp', // uses enum 'enXS' or 'enXF'
281  p_XPCornerType = 'xpUq', // uses enum 'enXC'
282  p_XPKnockout = 'xpUr',
283  p_XPUseGlobalLight = 'xpUs',
284  p_XPEffectColor = 'xpUt', // enum/property conflict with "color"
285  p_XPChokeAmount = 'xpUu', // enum/property conflict with "choke"
286  p_XPInvertEffect = 'xpUv', // enum/property conflict with "invert"
287  p_XPFollowShape = 'xpUw', // uses enum 'enX5'
288  p_XPGradientCenter = 'xpUx',
289  p_XPHighlightAngle = 'xpUy',
290  p_XPHighlightLength = 'xpUz',
291  p_XPRadius = 'xpU0',
292  p_XPGlobalLightAngle = 'xpU1',
293  p_XPGlobalLightAltitude = 'xpU2',
294  p_XPWidthLeft = 'xpU3',
295  p_XPWidthRight = 'xpU4',
296  p_XPWidthTop = 'xpU5',
297  p_XPWidthBottom = 'xpU6',
298  p_XPHonorFX = 'xpU7',
299 
300  // borrowed terms (can't have name match but ID discrepancy in AS)
301  p_XPShadowColor = p_XPDSColor,
302  p_XPShadowBlendMode = p_XPDSBlendMode,
303  p_XPShadowOpacity = p_XPDSOpacity,
304 
305  // Preferences
306  p_XPBlendSpace = 'xpPb', // uses enum 'enXB'
307 } ;
308 
309 // User Action Categories
310 
311 #endif // __XPID__