InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DocFrameworkID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Bernd Paradies
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 __DocFrameworkID__
25 #define __DocFrameworkID__
26 
27 #include "CrossPlatformTypes.h"
28 #include "IDFactory.h"
29 
30 #define kDocFrameworkPrefix RezLong(0x16300) // see AdobePrefix.h
31 
32 // PluginID
33 #define kDocFrameworkPluginName "DocFramework"
34 
35 // Rsrc IDs
36 #define kDocFrameworkStringsRsrcID 3000
37 #define kDocFrameworkStringsNoTransRsrcID 3100
38 #define kDocFrameworkErrorStringTableRsrcID 3300
39 
40 // <Class ID>
41 // ClassIDs
42 //gap
43 
44 //Watermark Class IDs:
45 
46 
47 // <Interface ID>
48 // IIDs
49 //gap
50 #ifdef DEBUG
51 #endif
52 
53 
54 // <Widget ID>
55 
56 // <Implementation ID>
57 // ImplementationIDs
58 //gap
59 #ifdef DEBUG
60 #endif
61 
62 
63 
64 // <Message ID>
65 
66 
67 // <Service ID>
68 // Service IDs
69 
70 
71 
72 // <Error ID>
73 // Error Codes
74 
75 // NOTE: The offset is used to find the corresponding error string
76 // <Ignore>
77 
78 
79 // <Global ID>
80 // ActionIDs
81 
82 // <Performance Metric IDs>
83 
84 //
85 //Script Element IDs
86 //
87 //Events
88 
89 //Suites
90 
91 //Objects
92 
93 //Methods
94 //gap
95 
96 //Properties
97 
98 
99 //Enums
100 
101 
102 
103 
104 
105 // moved from now defunct ExportManager plugin
106 #define kOldExportManagerPrefix RezLong(0x7800)
107 
108 //GUIDS
109 // {1A5E8DB4-3443-11d1-803C-0060B03C02E4}
110 #define kDocument_CLSID { 0x1a5e8db4, 0x3443, 0x11d1, { 0x80, 0x3c, 0x0, 0x60, 0xb0, 0x3c, 0x2, 0xe4 } }
111 // {1A5E8DB5-3443-11d1-803C-0060B03C02E4}
112 #define kDocuments_CLSID { 0x1a5e8db5, 0x3443, 0x11d1, { 0x80, 0x3c, 0x0, 0x60, 0xb0, 0x3c, 0x2, 0xe4 } }
113 // {1A5E8DB6-3443-11d1-803C-0060B03C02E4}
114 #define kWindow_CLSID { 0x1a5e8db6, 0x3443, 0x11d1, { 0x80, 0x3c, 0x0, 0x60, 0xb0, 0x3c, 0x2, 0xe4 } }
115 // {1A5E8DB7-3443-11d1-803C-0060B03C02E4}
116 #define kWindows_CLSID { 0x1a5e8db7, 0x3443, 0x11d1, { 0x80, 0x3c, 0x0, 0x60, 0xb0, 0x3c, 0x2, 0xe4 } }
117 // {240D537B-9336-4501-99A2-14812D15A9D3}
118 #define kLayoutWindow_CLSID { 0x240d537b, 0x9336, 0x4501, { 0x99, 0xa2, 0x14, 0x81, 0x2d, 0x15, 0xa9, 0xd3 } }
119 // {D15B28BF-5610-4ee3-A5B4-B4E2133BFC0B}
120 #define kLayoutWindows_CLSID { 0xd15b28bf, 0x5610, 0x4ee3, { 0xa5, 0xb4, 0xb4, 0xe2, 0x13, 0x3b, 0xfc, 0xb } }
121 // {1C1923C1-E259-4a36-9C1F-BDF5AA1E1F86}
122 #define kStoryWindow_CLSID { 0x1c1923c1, 0xe259, 0x4a36, { 0x9c, 0x1f, 0xbd, 0xf5, 0xaa, 0x1e, 0x1f, 0x86 } }
123 // {AA226D3C-0BA4-4248-9DE1-F603131AF465}
124 #define kStoryWindows_CLSID { 0xaa226d3c, 0xba4, 0x4248, { 0x9d, 0xe1, 0xf6, 0x3, 0x13, 0x1a, 0xf4, 0x65 } }
125 // {A373654F-4F5C-11d2-AB07-00C04FA349C7}
126 #define kSwatch_CLSID { 0xa373654f, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
127 // {A3736550-4F5C-11d2-AB07-00C04FA349C7}
128 #define kSwatches_CLSID { 0xa3736550, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
129 // {2256FBE8-5584-11d1-804A-0060B03C02E4}
130 #define kColor_CLSID { 0x2256fbe8, 0x5584, 0x11d1, { 0x80, 0x4a, 0x0, 0x60, 0xb0, 0x3c, 0x2, 0xe4 } }
131 // {2256FBE9-5584-11d1-804A-0060B03C02E4}
132 #define kColors_CLSID { 0x2256fbe9, 0x5584, 0x11d1, { 0x80, 0x4a, 0x0, 0x60, 0xb0, 0x3c, 0x2, 0xe4 } }
133 // {A3736551-4F5C-11d2-AB07-00C04FA349C7}
134 #define kGradient_CLSID { 0xa3736551, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
135 // {385ed624-252a-4fb5-9cb2-b3a99eb80823}
136 #define kAGMBlackBox_CLSID { 0x385ed624, 0x252a, 0x4fb5, {0x9c, 0xb2, 0xb3, 0xa9, 0x9e, 0xb8, 0x08, 0x23} }
137 // {6e3baa1f-a817-4fab-8c20-2ef5e6635597}
138 #define kAGMBlackBoxes_CLSID { 0x6e3baa1f, 0xa817, 0x4fab, {0x8c, 0x20, 0x2e, 0xf5, 0xe6, 0x63, 0x55, 0x97} }
139 // {A3736552-4F5C-11d2-AB07-00C04FA349C7}
140 #define kGradients_CLSID { 0xa3736552, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
141 // {496F0BD4-7834-11d2-AAF0-00C04FA37726}
142 #define kGradStop_CLSID { 0x496f0bd4, 0x7834, 0x11d2, { 0xaa, 0xf0, 0x0, 0xc0, 0x4f, 0xa3, 0x77, 0x26 } }
143 // {496F0BD5-7834-11d2-AAF0-00C04FA37726}
144 #define kGradStops_CLSID { 0x496f0bd5, 0x7834, 0x11d2, { 0xaa, 0xf0, 0x0, 0xc0, 0x4f, 0xa3, 0x77, 0x26 } }
145 // {A373654D-4F5C-11d2-AB07-00C04FA349C7}
146 #define kTint_CLSID { 0xa373654d, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
147 // {A373654E-4F5C-11d2-AB07-00C04FA349C7}
148 #define kTints_CLSID { 0xa373654e, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
149 // {7EB3B437-5D14-410c-94E4-7FB721D22C30}
150 #define kMixedInk_CLSID { 0x7eb3b437, 0x5d14, 0x410c, { 0x94, 0xe4, 0x7f, 0xb7, 0x21, 0xd2, 0x2c, 0x30 } }
151 // {A50BD6D8-6F1A-4cae-A05E-19B219AE5338}
152 #define kMixedInks_CLSID { 0xa50bd6d8, 0x6f1a, 0x4cae, { 0xa0, 0x5e, 0x19, 0xb2, 0x19, 0xae, 0x53, 0x38 } }
153 // {EAD3C699-166B-43f4-814E-2379FD129185}
154 #define kMixedInkGroup_CLSID { 0xead3c699, 0x166b, 0x43f4, { 0x81, 0x4e, 0x23, 0x79, 0xfd, 0x12, 0x91, 0x85 } }
155 // {7B49364B-B15E-4119-9AB2-FD88D6D4C3BC}
156 #define kMixedInkGroups_CLSID { 0x7b49364b, 0xb15e, 0x4119, { 0x9a, 0xb2, 0xfd, 0x88, 0xd6, 0xd4, 0xc3, 0xbc } }
157 // {3CD4BFBC-34A9-4bf0-8E36-F84C135A2D5D}
158 #define kDocumentEvent_CLSID { 0x3cd4bfbc, 0x34a9, 0x4bf0, { 0x8e, 0x36, 0xf8, 0x4c, 0x13, 0x5a, 0x2d, 0x5d } }
159 // {9123D596-C038-4296-8003-258CB4E6D6A6}
160 #define kImportExportEvent_CLSID { 0x9123d596, 0xc038, 0x4296, { 0x80, 0x3, 0x25, 0x8c, 0xb4, 0xe6, 0xd6, 0xa6 } }
161 #define kWatermarkPref_CLSID { 0x74dd09e5, 0x8658, 0x4c1b, { 0xa4, 0x18, 0x7, 0x3e, 0xcf, 0x95, 0x53, 0x93 } }
162 
163 // {BBA05B9D-6328-4275-94E5-06A491E67F5D}
164 #define kColorGroup_CLSID { 0xbba05b9d, 0x6328, 0x4275, { 0x94, 0xe5, 0x6, 0xa4, 0x91, 0xe6, 0x7f, 0x5d } }
165 // {B29B5C06-8E74-4A3E-AB4E-9DDB0E8AF419}
166 #define kColorGroups_CLSID { 0xb29b5c06, 0x8e74, 0x4a3e, { 0xab, 0x4e, 0x9d, 0xdb, 0xe, 0x8a, 0xf4, 0x19 } }
167 // {248D90EE-BD6A-42D9-B7DC-79BCFADDF727}
168 #define kColorGroupMember_CLSID { 0x248d90ee, 0xbd6a, 0x42d9, { 0xb7, 0xdc, 0x79, 0xbc, 0xfa, 0xdd, 0xf7, 0x27 } }
169 // {B79A00A7-0245-40B1-9620-543FE05DD84D}
170 #define kColorGroupMembers_CLSID { 0xb79a00a7, 0x245, 0x40b1, { 0x96, 0x20, 0x54, 0x3f, 0xe0, 0x5d, 0xd8, 0x4d } }
171 
172 //ScriptIDs
173 enum DocFrameworkScriptIDs
174 {
175  c_DocumentEvent = 'cDEv',
176  c_ImportExportEvent = 'cIEv',
177 
178  e_BeforeOpen = 'bfOp',
179  e_AfterOpen = 'afOp',
180  e_BeforeSave = 'bfSv',
181  e_AfterSave = 'afSv',
182  e_BeforeSaveAs = 'bfSA',
183  e_AfterSaveAs = 'afSA',
184  e_BeforeSaveACopy = 'bSAC',
185  e_AfterSaveACopy = 'aSAC',
186  e_BeforeRevert = 'bfRv',
187  e_AfterRevert = 'afRv',
188  e_BeforeClose = 'bfCl',
189  e_AfterClose = 'afCl',
190  e_BeforeExport = 'bfEx',
191  e_AfterExport = 'afEx',
192  e_FailedExport = 'flEx',
193  e_BeforeImport = 'bfIm',
194  e_AfterImport = 'afIm',
195 
196  p_Converted = 'pCnv',
197  p_Recovered = 'pRcv',
198  p_ReadOnly = 'pROy',
199  p_MissingPlugins = 'pMPl',
200  p_UntitledDocCount = 'pUDC',
201 
202  en_ExportFormat = 'eXft',
203  en_TaggedText = 'Tgtx',
204  en_HTML = 'HTML',
205  en_RTF = 'RTF ',
206  en_SVG = 'SVG ',
207  en_SVGCompressed = 'SVGC',
208  en_XML = 'XML ',
209  en_JPEG = 'JPG ',
210  en_InDesignInterchange = 'INX ', // Now used for Generic interchange export
211  en_InDesignMarkup = 'idml',
212  en_InCopyCSStory = 'incd',
213  en_InCopyInterchange = 'incx',
214  en_InCopyCSDocument = 'etcd',
215  en_InCopyDocument = 'etcx',
216  en_InCopyMarkup = 'icml',
217  en_Snippet = 'snpt',
218  en_PNG = 'ePNG',
219  en_EPUB = 'epub',
220  en_EPUBFXL = 'epfx',
221  en_HTMLFXL = 'HTfx',
222  en_LastMile = 'Lsfx',
223 
224  e_GetUntitledDocCount = 'GUDC',
225  e_SetUntitledDocCount = 'SUDC',
226  p_UntitledDocumentCount = 'PUDC',
227  p_IsCloudDocument = 'PICD',
228  p_CloudPath = 'PCLP'
229 } ;
230 
231 // User Action Categories
232 
233 #endif //__DocFrameworkID__