InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EPSID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: David Berggren
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 __EPSID_H__
25 #define __EPSID_H__
26 
27 #include "CrossPlatformTypes.h"
28 #include "IDFactory.h"
29 
30 //========================================================================================
31 // Constants for the plug-in
32 //========================================================================================
33 
34 #define kEPSPrefix RezLong( 0x6600 ) // double check with DeveloperPrefix.h
35 
36 // <Start IDC>
37 // PluginID
38 #define kEPSPluginName "EPS Page Item"
39 
40 
41 // <Class ID>
42 // boss ids
43 
44 
45 
46 
47 // EPS import preferences script
48 
49 // Place InDesign Document Scripting
50 
51 // QR Codes
52 
53 // Command for creating QR code.
54 
55 // SVG
56 
57 
58 // <Interface ID>
59 // interface ids
60 
61 
62 
63 // <Implementation ID>
64 // implementation ids
65 
66 
67 // Place InDesign Document Scripting
68 
69 
70 // Barcode suite impl IDs.
71 
72 // QR Codes
73 
74 // Barcode suite impl IDs, contd..
75 
76 //Scripting Impls for QR Codes
77 
78 // SVG
79 
80 
81 
82 
83 // <Ignore>
84 // resource id
85 #define kEPSStringsRsrcID 1100
86 #define kEPSStringsNoTransRsrcID 1200
87 
88 
89 // <Service ID>
90 // Service IDs
91 
92 // <Error ID>
93 // Error Codes
94 
95 //
96 //Script Element IDs
97 //
98 
99 //gap
100 
101 
102 
103 //svg
104 
105 // Gap to be used by SVG
106 
107 // MathML
108 
109 
110 
111 // Inval Handler ID Space
112 
113 
114 //GUIDS
115 // {526B10ED-ADC9-4c8b-AC96-5BE855B16B60}
116 #define kEPSImportPrefs_CLSID {0x526b10ed, 0xadc9, 0x4c8b, { 0xac, 0x96, 0x5b, 0xe8, 0x55, 0xb1, 0x6b, 0x60 }}
117 // {98DC8882-4AE4-42ee-94A8-1B981541546F}
118 #define kEPSText_CLSID { 0x98dc8882, 0x4ae4, 0x42ee, { 0x94, 0xa8, 0x1b, 0x98, 0x15, 0x41, 0x54, 0x6f } }
119 // {97AE2672-B3F4-4e54-9137-D60D1F5F6C1C}
120 #define kEPSTexts_CLSID { 0x97ae2672, 0xb3f4, 0x4e54, { 0x91, 0x37, 0xd6, 0xd, 0x1f, 0x5f, 0x6c, 0x1c } }
121 // {F8CB4D2C-3F31-4edc-A111-9170FCB8248D}
122 #define kINDD_CLSID { 0xf8cb4d2c, 0x3f31, 0x4edc, {0xa1, 0x11, 0x91, 0x70, 0xfc, 0xb8, 0x24, 0x8d } }
123 // {E8F27BBA-95E7-4821-96B3-F274AECB2230}
124 #define kINDDs_CLSID { 0xe8f27bba, 0x95e7, 0x4821, {0x96, 0xb3, 0xf2, 0x74, 0xae, 0xcb, 0x22, 0x30 } }
125 // {8AABBB19-3302-49d2-A68F-56CD12A098C5}
126 #define kINDDPages_CLSID { 0x8aabbb19, 0x3302, 0x49d2, { 0xa6, 0x8f, 0x56, 0xcd, 0x12, 0xa0, 0x98, 0xc5 } }
127 // {5FF31BDF-D60D-4b63-B5BC-ED6427B6D763}
128 #define kINDDPlacePref_CLSID {0x5ff31bdf, 0xd60d, 0x4b63, {0xb5, 0xbc, 0xed, 0x64, 0x27, 0xb6, 0xd7, 0x63 } }
129 // {AE476BF1-0129-4823-A1CF-71F3C4E8E628}
130 #define kINDDAttribute_CLSID {0xae476bf1, 0x129, 0x4823, {0xa1, 0xcf, 0x71, 0xf3, 0xc4, 0xe8, 0xe6, 0x28 } }
131 // {229F927F-28C1-4914-A69F-0117D6EF6299}
132 #define kQRCodeVCardData_CLSID { 0x229f927f, 0x28c1, 0x4914, { 0xa6, 0x9f, 0x1, 0x17, 0xd6, 0xef, 0x62, 0x99 } }
133 // {76C1D126-09A2-4299-B5D5-FE2170587747}
134 #define kQRCodeEmailData_CLSID { 0x76c1d126, 0x9a2, 0x4299, { 0xb5, 0xd5, 0xfe, 0x21, 0x70, 0x58, 0x77, 0x47 } }
135 // {9AC22210-F4E8-416C-8572-F257B80ABC15}
136 #define kQRCodeTextMsgData_CLSID { 0x9ac22210, 0xf4e8, 0x416c, { 0x85, 0x72, 0xf2, 0x57, 0xb8, 0xa, 0xbc, 0x15 } }
137 // {A42A5C64-1EB7-4B99-9BB5-3B7E1C6A9E16}
138 #define kQRCodePlainTextData_CLSID { 0xa42a5c64, 0x1eb7, 0x4b99, { 0x9b, 0xb5, 0x3b, 0x7e, 0x1c, 0x6a, 0x9e, 0x16 } }
139 // {E862E06B-4FEE-4125-B911-C9426B76667A}
140 #define kQRCodeHyperlinkData_CLSID { 0xe862e06b, 0x4fee, 0x4125, { 0xb9, 0x11, 0xc9, 0x42, 0x6b, 0x76, 0x66, 0x7a } }
141 // {8A532630-ADF8-4BB7-B3F1-E25F2C941359}
142 #define kQRCodesDataCollection_CLSID { 0x8a532630, 0xadf8, 0x4bb7, { 0xb3, 0xf1, 0xe2, 0x5f, 0x2c, 0x94, 0x13, 0x59 } }
143 
144 // {FFB554E4-1435-40AC-8AC8-7213CEFAC73D}
145 #define kQRCodesPlainDataCollection_CLSID { 0xffb554e4, 0x1435, 0x40ac, { 0x8a, 0xc8, 0x72, 0x13, 0xce, 0xfa, 0xc7, 0x3d } }
146 // {BC1D3260-A232-4A63-BD31-8F4657D6066D}
147 #define kQRCodesHyperlinkCollection_CLSID { 0xbc1d3260, 0xa232, 0x4a63, { 0xbd, 0x31, 0x8f, 0x46, 0x57, 0xd6, 0x6, 0x6d } }
148 // {650C9EEE-0583-4C1D-9E35-EDAE4BDB38C2}
149 #define kQRCodesEmailCollection_CLSID { 0x650c9eee, 0x583, 0x4c1d, { 0x9e, 0x35, 0xed, 0xae, 0x4b, 0xdb, 0x38, 0xc2 } }
150 // {AE7229CA-12DF-4183-BE20-C23F09F4FC6C}
151 #define kQRCodesTextMsgCollection_CLSID { 0xae7229ca, 0x12df, 0x4183, { 0xbe, 0x20, 0xc2, 0x3f, 0x9, 0xf4, 0xfc, 0x6c } }
152 
153 
154 // TBD -- Not actual generated GUIDs
155 // {C8F27BBA-95E7-4821-92B3-F274AECB2230}
156 #define kSVG_CLSID { 0xC8f27bba, 0x95e7, 0x4821, {0x92, 0xb3, 0xf2, 0x74, 0xae, 0xcb, 0x22, 0x30 } }
157 // {8BABBB19-3302-49d2-A58F-56CD12A098C5}
158 #define kSVGs_CLSID { 0x8babbb19, 0x3302, 0x49d2, { 0xa5, 0x8f, 0x56, 0xcd, 0x12, 0xa0, 0x98, 0xc5 } }
159 
160 // {D8F681D5-51AE-41B0-958E-70DFA76A8482}
161 #define kMATHOBJECT_CLSID { 0xd8f681d5, 0x51ae, 0x41b0, { 0x95, 0x8e, 0x70, 0xdf, 0xa7, 0x6a, 0x84, 0x82 } }
162 // {5CD1F618-481F-4E6F-929A-453989A7EE3F}
163 #define kMATHOBJECTs_CLSID { 0x5cd1f618, 0x481f, 0x4e6f, { 0x92, 0x9a, 0x45, 0x39, 0x89, 0xa7, 0xee, 0x3f } }
164 
165 
166 
167 
168 
169 
170 
171 
172 enum EPSScriptIDs
173 {
174  c_InDesignPageItem = 'InDp',
175  c_InDesignPageItems = 'InDs', //5.0 DOM
176  c_InDesignPages = 'IDPs', //6.0 DOM
177  c_INDDAttribute = 'InDA',
178  p_INDDAttribute = 'pIDA',
179  //c_INDDPlacePref = 'InDP',
180  //p_INDDPlacePref = 'pIDP',
181  p_INDDPlaceCrop = 'pIDc',
182  en_INDDCrop = 'enID',
183 
184  c_EPS = 'EPS ', // typeEPS in AERegistry.h
185  c_EPSs = 'EPSs',
186  c_EPSText = 'EPST',
187  c_EPSTexts = 'EPTs',
188  en_EPS = c_EPS,
189 
190  c_SVG = 'SVG ',
191  c_SVGs = 'SVGs',
192  en_UseSVGAs = 'usve',
193  p_UseSVGAs = 'usvp',
194  en_EmbedCode = 'embc',
195  en_ObjectTags = 'objt',
196  en_ImageTags = 'imtg',
197 
198 
199  //MathML
200  p_IsMathMLObject = 'MmlO',
201  e_createFromMathML = 'crML',
202  p_MathMLParameter = 'pMLp',
203  e_ObtainMathMLString = 'oMLs',
204  e_FilePathToExportmathML = 'fPEm',
205  e_resyncWithData = 'rSwD',
206  p_ResyncData = 'pSyD',
207  e_HandleMathMLMessage = 'HmmM',
208  p_svgByteStreamData = 'sBsD',
209  c_mathObject = 'omML',
210  c_mathObjects = 'cMML',
211  p_appliedMathMLFontSize = 'aMfS',
212  p_appliedMathMLColor = 'aMLc',
213  p_appliedMathMLSwatch = 'aMLs',
214  p_preferMathMLEpubExport = 'pMLe'
215 };
216 enum QRCodeScriptIDs
217 {
218  c_QRCodeVCardData = 'QRvC',
219  c_QRCodeCollection = 'QvCa',
220  p_QRCodeVCardFName = 'QRFN',
221  p_QRCodeVCardLName = 'QRLN',
222  p_QRCodeVCardTitle = 'QRTl',
223  p_QRCodeVCardCellPh = 'QRCP',
224  p_QRCodeVCardPhone = 'QRPh',
225  p_QRCodeVCardEmailId = 'QREm',
226  p_QRCodeVCardOrg = 'QROg',
227  p_QRCodeVCardAddress = 'QRAd',
228  p_QRCodeVCardCity = 'QRCi',
229  p_QRCodeVCardState = 'QRSt',
230  p_QRCodeVCardCountry = 'QRCn',
231  p_QRCodeVCardPostalCode = 'QRPC',
232  p_QRCodeVCardURL = 'QRUr',
233  c_QRCodeEmailData = 'QReM',
234  c_QRCodeEmailDataCollection = 'QRem',
235  p_QRCodeEmailTo = 'QETo',
236  p_QRCodeEmailSub = 'QRSu',
237  p_QRCodeEmailMesg = 'GNbo',
238  c_QRCodeTextMsgData = 'QRTM',
239  c_QRCodeTextMsgDataCollection = 'QRTm',
240  p_QRCodeTextPhone = 'QPhN',
241  p_QRCodeTextMesg = 'QRtM',
242  c_QRCodePlainTextData = 'QRPT',
243  c_QRCodePlainTextDataCollection = 'QRpT',
244  p_QRCodePlainText = 'TYPt',
245  c_QRCodeHyperlinkData = 'QRHy',
246  c_QRCodeHyperlinkCollection = 'QRhy',
247  p_QRCodeURLData = 'QrUr',
248  e_CreateQRVCardCode = 'QrVc',
249  e_CreateQREmailCode = 'Qrem',
250  e_CreateQRSMSCode = 'QrSm',
251  e_CreateQRPlainTextCode = 'QrPt',
252  e_CreateQRURLCode = 'Qurl',
253  p_vCardData = 'vCQR',
254  t_VCardHeaderType = 'QvCt',
255  p_QRCodeSwatch = 'QRsw',
256  p_MathMLINXFixData = 'mIFd',
257 };
258 //_______________________________________________________________________________________
259 // <ViewPortAttr ID>
260 // ViewPortAttrIDs
261 //_______________________________________________________________________________________
262 
263 // boolean attribute: if non-zero, EPSShape will create a wrapper port for your
264 // IGraphicsPort when parsing with MPS; if zero (false), it will attempt to use the port
265 // specified in your IAGMPortData. Default is kFalse.
266 
267 // boolean attribute: if non-zero, EPSShape will enable MPS streaming behavior; zero
268 // disables streaming (images are provided as bands in this case). Default is kTrue.
269 
270 // boolean attribute: if non-zero, we are building a display list for a placed INDD page.
271 #endif