InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PackageAndPreflightID.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 
24 #ifndef __PackageAndPreflightID__
25 #define __PackageAndPreflightID__
26 
27 #include "CrossPlatformTypes.h"
28 #include "IDFactory.h"
29 
30 #define kPackageAndPreflightPlugIn_obsolete RezLong(0x40C80)
31 #define kPackageAndPreflightPrefix RezLong(0x13A00)
32 
33 // PluginID
34 #define kPackageAndPreflightPlugInName "Package and Preflight"
35 #define kPackageAndPreflightPlugInID_obsolete kPackageAndPreflightPlugIn_obsolete + 1
36 #define kPackageAndPreflightPlugInID kPackageAndPreflightPrefix + 1
37 
38 
39 //------------------------------------------------------------------------------------------------
40 //
41 // NOTE ON LEGACY VS CS4, PREFLIGHT VS INVENTORY TERMINOLOGY
42 //
43 // The IDs below represent both legacy package implementation and the new preflight implementation
44 // introduced in CS4. The legacy package behavior consisted of something called "preflight" which
45 // was a somewhat accurate term; what it really was, was "inventory" with a few specific checks
46 // added in. In CS4 we now call this "inventory" in the UI, but in the ID files we left the
47 // "preflight" term in place mainly to avoid making changes for change's sake. We have marked the
48 // specific IDs below that may be confusing with extra comments referring to this explanation.
49 //
50 //------------------------------------------------------------------------------------------------
51 
52 
53 //------------------------------------------------------------------------------------------------
54 // ClassIDs (bosses)
55 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
56 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
57 //gap
58 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
59 
60 // Basil Preflighting classes
61 
62 // Basil script-based rule and scripting related classes
63 
64 
65 
66 // Rule bosses
67 
68 // a few more to come, probably
69 
70 // Boss class IDs continue here..
71 
72 
73 // Messages (these are not bosses; they're used for subjects in nonpersistent changes).
74 // See IPreflightUtils to obtain the necessary subjects to observe.
75 
76 // Meaning: A process timestamp was updated.
77 // Broadcast on: IPreflightUtils::QueryAppMessageSubject, IID_IPREFLIGHTPROCESSMANAGER
78 // changedBy: the IPreflightProcess being updated
79 
80 // Meaning: The list of processes was updated (additions/deletions)
81 // Broadcast on: IPreflightUtils::QueryAppMessageSubject, IID_IPREFLIGHTPROCESSMANAGER
82 // changedBy: nil
83 
84 // Meaning: Preflight was initiated/changed on a book.
85 // Broadcast on: book->ISubject, IID_IPREFLIGHTBOOKREF
86 // changedBy: nil
87 
88 // Meaning: The data in the book changed (status changes, new chapter shadows, deletions, etc).
89 // Broadcast on: IPreflightBookUtils::QueryActivePreflight->ISubject, IID_IPREFLIGHTBOOKDATA
90 // changedBy: nil
91 
92 // Meaning: The process changed from complete to incomplete or vice-versa.
93 // Broadcast on: IPreflightUtils::QueryAppMessageSubject, IID_IPREFLIGHTPROCESSMANAGER
94 // changedBy: the IPreflightProcess (in its new state)
95 
96 // Meaning: The InvalHandler-backed observer saw a change and is rebroadcasting it. The message ID
97 // indicates whether this is a first-time do, an undo, or a redo.
98 // Broadcast on: IPreflightUtils::QueryDocumentSubject, IID_IPREFLIGHTSETTINGSCHANGEINFO
99 // changedBy: IPreflightSettingsChangeInfo
100 
101 // Meaning: The application has switched back in (ie has regained focus).
102 // Broadcast on: IPreflightUtils::QueryAppMessageSubject, IID_IPREFLIGHTEVENTWATCHER
103 // changedBy: nil
104 
105 
106 // Selectors (CassIDs but not really; just unique IDs)
107 
108 
109 //------------------------------------------------------------------------------------------------
110 // InterfaceIDs
111 
112 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
113 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
114 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
115 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
116 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
117 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
118 
119 //___________________________________________________________________________________
120 // Basil Preflighting IIDs
121 //gap
122 
123 //_______________________________________________________________________________________________
124 // Message ID for non-persistent changes
125 //_______________________________________________________________________________________________
126 
127 //------------------------------------------------------------------------------------------------
128 // ImplementationIDs
129 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
130 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
131 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
132 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
133 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
134 // Note: This "preflight" ID is LEGACY preflight, aka Inventory; see note at top of file.
135 
136 //______________________________________________________________________________________________
137 // Basil Preflighting implementations
138 
139 
140 
141 
142 // Rule implementations (keep these in a separate range for now)
143 
144 // a few more to come, probably, so leave a nice gap here please
145 
146 // Do not use ID 187. This was an implementation that was removed.
147 // Will generate implemenation removed but no persist data if this is use for anything.
148 
149 //------------------------------------------------------------------------------------------------
150 // Widget IDs
151 
152 
153 //------------------------------------------------------------------------------------------------
154 // Service IDs
155 
156 // Basil Preflighting Service IDs
157 
158 // New signals at the document level when packaging a book
159 
160 // Signal after preflight manager has finished startup up (including all other preflight managers)
161 
162 //__________________________________________________________________________________________________
163 // Obsolete ClassIDs
164 //__________________________________________________________________________________________________
165 //gap
166 
167 
168 // Obsolete ImplementationIDs
169 //__________________________________________________________________________________________________
170 // End Obsolete definitions
171 //__________________________________________________________________________________________________
172 
173 //_________________________________________________________________________
174 // <Error ID>
175 //_________________________________________________________________________
176 // Error Codes
177 
178 
179 // Resource IDs
180 #define kPackageAndPreflightStringsID 230
181 #define kPackageAndPreflightStringsNoTransRsrcID 330
182 #define kPackageAndPreflightErrorStringTableRsrcID 340
183 
184 // Basil Preflight Script Element definitions
185 // Script Element IDs
186 //
187 
188 
189 
190 
191 
192 
193 
194 
195 
196 //Events
197 
198 #ifdef DEBUG
199 #endif
200 
201 // Viewport attributes
202 
203 // Inval handlers
204 
205 // Object Model Class IDs
206 
207 
208 // Object subpart IDs
209 // Note: kPreflightOSP_None means "no subpart; the whole thing."
210 
211 // Criteria IDs
212 // kPrelightRC_Default is available for any rule that doesn't require multiple criteria.
213 
214 //CLSIDs
215 
216 // {AB351BD0-F382-4be3-AA6D-2E14317C2319}
217 #define kPreflightRule_CLSID { 0xab351bd0, 0xf382, 0x4be3, { 0xaa, 0x6d, 0x2e, 0x14, 0x31, 0x7c, 0x23, 0x19 }}
218 // {D9E7B47C-A830-4ea5-812A-7D79E0322552}
219 #define kPreflightRules_CLSID { 0xd9e7b47c, 0xa830, 0x4ea5, { 0x81, 0x2a, 0x7d, 0x79, 0xe0, 0x32, 0x25, 0x52 }}
220 // {AEA2AA36-D3E8-46c1-9D44-4633885E893E}
221 #define kScriptPreflightRule_CLSID { 0xaea2aa36, 0xd3e8, 0x46c1, {0x9d, 0x44, 0x46, 0x33, 0x88, 0x5e, 0x89, 0x3e }}
222 // {34CB369E-6144-4658-AD14-428D449AE3A9}
223 #define kScriptPreflightRules_CLSID { 0x34cb369e, 0x6144, 0x4658, { 0xad, 0x14, 0x42, 0x8d, 0x44, 0x9a, 0xe3, 0xa9 }}
224 // {99405403-996F-421f-BE71-180862DB3DFA}
225 #define kPreflightProfileRule_CLSID { 0x99405403, 0x996f, 0x421f, { 0xbe, 0x71, 0x18, 0x8, 0x62, 0xdb, 0x3d, 0xfa }}
226 // {4C49C78D-BE71-44ec-ADC9-1885D2F74C9E}
227 #define kPreflightProfileRules_CLSID { 0x4c49c78d, 0xbe71, 0x44ec, { 0xad, 0xc9, 0x18, 0x85, 0xd2, 0xf7, 0x4c, 0x9e }}
228 // {B8B56D43-A12A-46ed-8973-41FB78399AE1}
229 #define kPreflightRuleInstance_CLSID { 0xb8b56d43, 0xa12a, 0x46ed, {0x89, 0x73, 0x41, 0xfb, 0x78, 0x39, 0x9a, 0xe1}}
230 // {5E0D82A8-0A3F-4421-B8C8-2CE48F6642C2}
231 #define kPreflightRuleInstances_CLSID { 0x5e0d82a8, 0xa3f, 0x4421, {0xb8, 0xc8, 0x2c, 0xe4, 0x8f, 0x66, 0x42, 0xc2}}
232 // {9D7C5DB4-163A-45de-9E92-BEC82D080145}
233 #define kPreflightScriptRuleInstance_CLSID { 0x9d7c5db4, 0x163a, 0x45de, {0x9e, 0x92, 0xbe, 0xc8, 0x2d, 0x8, 0x1, 0x45}}
234 // {386C3076-5C26-41ca-864A-4B26F25419F1}
235 #define kPreflightScriptRuleInstances_CLSID { 0x386c3076, 0x5c26, 0x41ca, {0x86, 0x4a, 0x4b, 0x26, 0xf2, 0x54, 0x19, 0xf1}}
236 // {6A61125E-F75F-4b40-A987-846C18D82DB4}
237 #define kPreflightProfile_CLSID { 0x6a61125e, 0xf75f, 0x4b40, {0xa9, 0x87, 0x84, 0x6c, 0x18, 0xd8, 0x2d, 0xb4}}
238 // {D70FBB1B-B7E4-4ed8-982E-DBA0FCA64E22}
239 #define kPreflightProfiles_CLSID { 0xd70fbb1b, 0xb7e4, 0x4ed8, {0x98, 0x2e, 0xdb, 0xa0, 0xfc, 0xa6, 0x4e, 0x22}}
240 // {FED458F5-51C2-4046-B14F-924967F8ABE0}
241 #define kPreflightProcess_CLSID { 0xFED458F5, 0x51C2, 0x4046, {0xB1, 0x4F, 0x92, 0x49, 0x67, 0xF8, 0xAB, 0xE0 }}
242 // {9DF9D22D-42BD-44b5-ADCC-C42FD947E769}
243 #define kPreflightProcesses_CLSID { 0x9DF9D22D, 0x42BD, 0x44b5, {0xAD, 0xCC, 0xC4, 0x2F, 0xD9, 0x47, 0xE7, 0x69 }}
244 // {0A09280F-E204-4b28-AACE-7194DD98E57D}
245 #define kPreflightRuleDataObject_CLSID { 0x0A09280F, 0xE204, 0x4b28, {0xAA, 0xCE, 0x71, 0x94, 0xDD, 0x98, 0xE5, 0x7D}}
246 // {A11D6C83-0371-4a1c-A4B9-AB188846E15C}
247 #define kPreflightRuleDataObjects_CLSID { 0xA11D6C83, 0x0371, 0x4a1c, {0xA4, 0xB9, 0xAB, 0x18, 0x88, 0x46, 0xE1, 0x5C}}
248 // {9B035563-FAA5-4dd8-9A26-BB44FBA27599}
249 #define kPreflightRuleResultObject_CLSID { 0x9B035563, 0xFAA5, 0x4dd8, {0x9A, 0x26, 0xBB, 0x44, 0xFB, 0xA2, 0x75, 0x99}}
250 // {DA059773-68F3-4d85-AE97-5590A3821E34}
251 #define kPreflightOptions_CLSID { 0xDA059773, 0x68F3, 0x4d85, {0xAE, 0x97, 0x55, 0x90, 0xA3, 0x82, 0x1E, 0x34}}
252 // {6E47BA45-8E01-4877-81D8-1ED9A1585F25}
253 #define kPreflightBookOptions_CLSID { 0x6E47BA45, 0x8E01, 0x4877, {0x81, 0xD8, 0x1E, 0xD9, 0xA1, 0x58, 0x5F, 0x25}}
254 
255 // More GUIDs pre-formatted via macros for later.. help yourself..
256 // {C9638E9F-C982-469d-8BA0-8B137C801328}
257 //#define kXXXXX_CLSID { 0xC9638E9F, 0xC982, 0x469d, {0x8B, 0xA0, 0x8B, 0x13, 0x7C, 0x80, 0x13, 0x28}}
258 // {BAD1F38B-3ABF-4c2d-81E0-62B5DB3C8024}
259 //#define kXXXXX_CLSID { 0xBAD1F38B, 0x3ABF, 0x4c2d, {0x81, 0xE0, 0x62, 0xB5, 0xDB, 0x3C, 0x80, 0x24}}
260 // {0AED5639-3433-494d-9E14-69A0DEF4B96F}
261 //#define kXXXXX_CLSID { 0x0AED5639, 0x3433, 0x494d, {0x9E, 0x14, 0x69, 0xA0, 0xDE, 0xF4, 0xB9, 0x6F}}
262 // {E1918EFA-95CB-46a1-AD3B-D4D92F0B8C01}
263 //#define kXXXXX_CLSID { 0xE1918EFA, 0x95CB, 0x46a1, {0xAD, 0x3B, 0xD4, 0xD9, 0x2F, 0x0B, 0x8C, 0x01}}
264 // {DBFA9FEF-A06B-4eb0-8905-64EBDBC78AD0}
265 //#define kXXXXX_CLSID { 0xDBFA9FEF, 0xA06B, 0x4eb0, {0x89, 0x05, 0x64, 0xEB, 0xDB, 0xC7, 0x8A, 0xD0}}
266 // {E51803BD-FFA8-4da0-BFCF-0F45298452FF}
267 //#define kXXXXX_CLSID { 0xE51803BD, 0xFFA8, 0x4da0, {0xBF, 0xCF, 0x0F, 0x45, 0x29, 0x84, 0x52, 0xFF}}
268 // {CE08CC81-8ABC-4e5f-8C02-BEAFFD691004}
269 //#define kXXXXX_CLSID { 0xCE08CC81, 0x8ABC, 0x4e5f, {0x8C, 0x02, 0xBE, 0xAF, 0xFD, 0x69, 0x10, 0x04}}
270 // {DA2E6783-B40A-4b66-89DE-B99F4334E66A}
271 //#define kXXXXX_CLSID { 0xDA2E6783, 0xB40A, 0x4b66, {0x89, 0xDE, 0xB9, 0x9F, 0x43, 0x34, 0xE6, 0x6A}}
272 // {8D22F697-C7D0-4379-9015-7D7768999BBF}
273 //#define kXXXXX_CLSID { 0x8D22F697, 0xC7D0, 0x4379, {0x90, 0x15, 0x7D, 0x77, 0x68, 0x99, 0x9B, 0xBF}}
274 // {5904761F-AB39-4982-AA25-9883E13E29E2}
275 //#define kXXXXX_CLSID { 0x5904761F, 0xAB39, 0x4982, {0xAA, 0x25, 0x98, 0x83, 0xE1, 0x3E, 0x29, 0xE2}}
276 // {6851F321-3A86-49ee-8E21-6FDD2C5B4B78}
277 //#define kXXXXX_CLSID { 0x6851F321, 0x3A86, 0x49ee, {0x8E, 0x21, 0x6F, 0xDD, 0x2C, 0x5B, 0x4B, 0x78}}
278 // {A9441188-0D19-4a2d-9223-8ED597814527}
279 //#define kXXXXX_CLSID { 0xA9441188, 0x0D19, 0x4a2d, {0x92, 0x23, 0x8E, 0xD5, 0x97, 0x81, 0x45, 0x27}}
280 
281 #endif // __PackageAndPreflightID__