InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PrintID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michael Easter
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 // Contains IDs used by the printing plug-in
24 //
25 //========================================================================================
26 
27 #ifndef __PRINTID__
28 #define __PRINTID__
29 
30 // ----- Includes -----
31 
32 #include "CrossPlatformTypes.h"
33 #include "IDFactory.h"
34 
35 
36 #define kPrintPrefix RezLong(0x0A00)
37 #define kPrintPrefix2 RezLong(0x17F00)
38 
39 //_______________________________________________________________________________________
40 // <Start IDC>
41 // PluginID
42 //_______________________________________________________________________________________
43 #define kPrintPluginName "Print"
44 
45 
46 //_______________________________________________________________________________________
47 // <Class ID>
48 // ClassIDs
49 //_______________________________________________________________________________________
50 #ifdef MACINTOSH
51 #endif
52 
53 // Export EPS ClassIDs
54 //gap
55 
56 // New for Sherpa
57 //gap
58 //gap
59 
60 // New for Hotaka
61 
62 // New for Anna
63 //gap
64 
65 //gap
66 //gap
67 
68 
69 //gap
70 
71 
72 // For Ink Manager dialog panel
73 //gap
74 
75 
76 
77 
78 // For Ink Manager dialog panel
79 //gap
80 
81 
82 //gap
83 
84 
85 //gap
86 
87 
88 //gap
89 
90 
91 // New for Dragontail
92 
93 
94 
95 
96 // InCopy
97 
98 
99 
100 //For Print Booklet
101 
102 
103 
104 //_______________________________________________________________________________________
105 // <Interface ID>
106 // IIDs
107 //_______________________________________________________________________________________
108 
109 // EPS Export IIDs
110 
111 // New for Sherpa
112 //gap
113 
114 // New For Hotaka
115 
116 // New for Anna
117 //gap
118 
119 
120 // Ink Manager
121 //gap
122 
123 //gap
124 
125 
126 //gap
127 //gap
128 
129 // New for Dragontail
130 
131 
132 
133 //galley
134 //gap
135 
136 
137 
138 //
139 
140 
141 //For Print Booklet
142 
143 
144 // for PDF Passhtrough Mode
145 
146 // For printing master pages
147 
148 
149 //_______________________________________________________________________________________
150 // <Implementation ID>
151 // ImplementationIDs
152 //_______________________________________________________________________________________
153 #ifdef MACINTOSH
154 #endif
155 
156 
157 // EPS Export ImplementationIDs
158 
159 // New for Sherpa
160 
161 // New for Hotaka
162 
163 // Gap left for hotaka expansion (42-49 unused, use for Hotaka conflicts)
164 
165 // New for Anna
166 //gap
167 
168 //gap
169 
170 
171 //gap
172 
173 //gap
174 
175 // For Ink Manager dialog panel
176 //gap
177 
178 
179 
180 
181 
182 
183 
184 //gap
185 
186 //gap
187 
188 //gap
189 
190 
191 //gap
192 
193 //gap
194 
195 
196 // New for Dragontail
197 
198 // gap
199 
200 
201 //InCopy
202 
203 
204 //
205 
206 //For Print Booklet
207 //gap
208 
209 
210 //_______________________________________________________________________________________
211 // <Widget ID>
212 // Widget IDs
213 //_______________________________________________________________________________________
214 //_______________________________________________________________________________________
215 // <Service ID>
216 // Service IDs
217 //_______________________________________________________________________________________
218 
219 //InCopy
220 //
221 
222 
223 
224 //_______________________________________________________________________________________
225 // <Error ID>
226 // Error IDs
227 //_______________________________________________________________________________________
228 
229 
230 
231 
232 
233 
234 
235 
236 //Print Booklet Errors
237 
238 
239 //_______________________________________________________________________________________
240 // <Action ID>
241 // ActionIDs
242 //_______________________________________________________________________________________
243 
244 
245 //_______________________________________________________________________________________
246 // <ViewPortAttr ID>
247 // ViewPortAttrIDs
248 //_______________________________________________________________________________________
249  enum
250  {
251  // The following set up the basic spot/overprint mode. Note that it's the responsibility
252  // of the attribute initializer to examine the front view for OPP on/off when determining
253  // whether the UI entry of "simulate screen" means SimPressCompOnly (OPP on) or
254  // SimScreenNoOPP (OPP off).
255  kSOVP_Mode_Mask = (3L<<0), // Mask used to derive mode:
256  kSOVP_Mode_Legacy = (0L<<0), // - preserve spots, no comp path, eps/pdf preserve
257  kSOVP_Mode_SimPress = (1L<<0), // - simulate spots/ovp in output, dual path on PS
258  kSOVP_Mode_SimPressCompOnly = (2L<<0), // - simulate spots/ovp in output, comp path only
259  kSOVP_Mode_SimScreenNoOPP = (3L<<0) // - simulate screen with OPP OFF: no spots, no ovp
260  };
261 
262  enum
263  {
264  // Viewport Attribute settings for the kPrintLayersVPAttr parameter...
265  // The following set up which layers we are drawing. Normally, the visible layers are
266  // drawn to screen. When printing or exporting to PDF, the user now has the option of
267  // drawing All Layers, Visible Layers or Visible and Printable Layers.
268  kPrintLayers_Mask = (3L<<0), // Mask used to derive mode:
269  kPrintLayers_Unknown = (0L<<0), // - unknown or hasn't been set yet
270  kPrintLayers_AllLayers = (1L<<0), // - print / export all layers
271  kPrintLayers_VisibleLayers = (2L<<0), // - print / export visible layers
272  kPrintLayers_VisiblePrintableLayers = (3L<<0) // - print / export visible & printable layers
273  };
274 
275 //
276 //Script Element IDs
277 //
278 
279 //Events
280 
281 //Objects
282 
283 //Methods
284 //gap
285 
286 //Properties
287 
288 //gap
289 
290 
291 
292 //Enums
293 
294 
295 
296 // InCopy Print Scripting
297 //gap
298 //Print Booklet
299 
300 
301 //Print Booklet Properties
302 
303 // PDF Passthrough mode
304 
305 //GUIDS
306 // {496F0BE3-7834-11d2-AAF0-00C04FA37726}
307 #define kPrintPref_CLSID { 0x496f0be3, 0x7834, 0x11d2, { 0xaa, 0xf0, 0x0, 0xc0, 0x4f, 0xa3, 0x77, 0x26 } }
308 // {DC9C36DD-A297-4c81-85C0-6E203D13ADFC}
309 #define kInk_CLSID { 0xdc9c36dd, 0xa297, 0x4c81, { 0x85, 0xc0, 0x6e, 0x20, 0x3d, 0x13, 0xad, 0xfc } }
310 // {0BA359C1-FF1A-45ed-A999-9476BE2D2A03}
311 #define kInks_CLSID { 0xba359c1, 0xff1a, 0x45ed, { 0xa9, 0x99, 0x94, 0x76, 0xbe, 0x2d, 0x2a, 0x3 } }
312 // {1F276696-EDD9-4a86-9CF1-F23941F0D0A8}
313 #define kTrapStyle_CLSID { 0x1f276696, 0xedd9, 0x4a86, { 0x9c, 0xf1, 0xf2, 0x39, 0x41, 0xf0, 0xd0, 0xa8 } }
314 // {6F31E0A0-1BD2-4f9b-A353-2B4A548D8834}
315 #define kTrapStyles_CLSID { 0x6f31e0a0, 0x1bd2, 0x4f9b, { 0xa3, 0x53, 0x2b, 0x4a, 0x54, 0x8d, 0x88, 0x34 } }
316 // {4034A250-56C9-4cd5-B1D7-EAA1EA932F25}
317 #define kEPSExportPrefs_CLSID {0x4034a250, 0x56c9, 0x4cd5, { 0xb1, 0xd7, 0xea, 0xa1, 0xea, 0x93, 0x2f, 0x25 }}
318 // {DE277C92-AF39-4af9-B103-826C68EFDD76}
319 #define kLayoutPrintPref_CLSID { 0xde277c92, 0xaf39, 0x4af9, { 0xb1, 0x3, 0x82, 0x6c, 0x68, 0xef, 0xdd, 0x76 } }
320 // {D53766C9-07EA-4c9d-9938-EB1F64D6BA34}
321 #define kGalleyPrintPref_CLSID { 0xd53766c9, 0x7ea, 0x4c9d, { 0x99, 0x38, 0xeb, 0x1f, 0x64, 0xd6, 0xba, 0x34 } }
322 // {39323485-72A0-4caa-97C5-43A51572A544}
323 #define kPrintBooklet_CLSID { 0x39323485, 0x72a0, 0x4caa, { 0x97, 0xc5, 0x43, 0xa5, 0x15, 0x72, 0xa5, 0x44 } }
324 // {7D4B7FD7-5763-40bb-A3C4-7F07B52DAE94}
325 #define kPrintBookletPrint_CLSID { 0x7d4b7fd7, 0x5763, 0x40bb, { 0xa3, 0xc4, 0x7f, 0x7, 0xb5, 0x2d, 0xae, 0x94 } }
326 // {8A78B37F-82D3-4d66-8CDD-674006116D32}
327 #define kPrintEvent_CLSID { 0x8a78b37f, 0x82d3, 0x4d66, { 0x8c, 0xdd, 0x67, 0x40, 0x6, 0x11, 0x6d, 0x32 } }
328 
329 //ScriptIDs
330 enum PrintScriptIDs {
331  c_PrintEvent = 'cPEv',
332 
333  e_BeforePrint = 'bfPr',
334  e_AfterPrint = 'afPr',
335 
336  p_DocumentPrintUIOption = 'pdpu',
337 
338  en_DocumentPrintUIOptions = 'dpuo',
339  en_SuppressPrintProgress = 'spps',
340  en_SuppressPrintWarnings = 'spwr',
341  en_SuppressPrintDialog = 'spdg',
342  en_SuppressFileSaveDialog = 'sfad',
343 
344 } ;
345 
346 
347 // Miscellaneous defines
348 #define kPrintDrawEventLinkedItem kPrintPrefix + 1
349 #define kPrintDrawEventContent kPrintPrefix + 2
350 
351 #endif // __PrintID__
352 
353 // End, PrintID.h.