InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SnippetID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Robin_Briggs
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 __SnippetsID__
25 #define __SnippetsID__
26 
27 #include "IDFactory.h"
28 
29 // Resource Defs
30 #define kSnippetsStringsRsrcID 1001
31 #define kSnippetsErrorStringTableRsrcID 1002
32 #define kSnippetsStringsNoTransRsrcID 1101
33 #define kSnippetErrorStringTableRsrcID 1009
34 
35 #define kSnippetPrefix RezLong(0x019500)
36 
37 // PluginID
38 #define kSnippetsPluginName "Snippet"
39 
40 // ClassIDs
41 //gap
42 //gap
43 //gap
44 
45 // IIDs
46 //gap
47 
48 
49 // Implementation IIDs
50 //gap
51 //gap
52 
53 
54 // Messages
55 
56 
57 // Services
58 
59 // Errors
60 // Not a real error. Used to force the SAX parser to stop.
61 
62 
63 //Script Element IDs
64 
65 enum SnippetScriptIDs
66 {
67  p_SnippetFormat = 'psif',
68  en_SnippetFormat = 'esif',
69  en_INXTraditional = 'inTa',
70  en_INXExpanded = 'inEx',
71  c_Snippet = 'cSnp',
72  c_Snippets = 'cSns',
73 };
74 
75 //GUIDS
76 // {229ECC34-B916-4231-8915-72C1009C9305}
77 #define kSnippet_CLSID { 0x229ecc34, 0xb916, 0x4231, { 0x89, 0x15, 0x72, 0xc1, 0x0, 0x9c, 0x93, 0x5 } }
78 // {EAD853E3-9155-4b8f-88ED-A8849AC7EDD1}
79 #define kSnippets_CLSID { 0xead853e3, 0x9155, 0x4b8f, { 0x88, 0xed, 0xa8, 0x84, 0x9a, 0xc7, 0xed, 0xd1 } }
80 
81 #ifndef __ODFRC__
82 static const int32 kSnippetAttributeID = 'SnPa';
83 #endif // __ODFRC__
84 
85 #endif // __SnippetsID__