InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
XDocBkID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Adobe Developer Technologies
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 // Defines IDs used by the XDocBk plug-in.
24 //
25 //========================================================================================
26 
27 #ifndef __XDocBkID_h__
28 #define __XDocBkID_h__
29 
30 #include "SDKDef.h"
31 
32 // Company:
33 #define kXDocBkCompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
34 #define kXDocBkCompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
35 
36 // Plug-in:
37 #define kXDocBkPluginName "XDocBookWorkflow" // Name of this plug-in.
38 #define kXDocBkPrefixNumber 0x5c3b0 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
39 #define kXDocBkVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
40 #define kXDocBkAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
41 
42 // Plug-in Prefix: (please change kXDocBkPrefixNumber above to modify the prefix.)
43 #define kXDocBkPrefix RezLong(kXDocBkPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
44 #define kXDocBkStringPrefix SDK_DEF_STRINGIZE(kXDocBkPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
45 
46 START_IDS()
47 
48 // PluginID:
49 
50 // <ClassIDs>:
51 
52 //</ClassIDs>
53 // InterfaceIDs:
54 
55 
56 //<ImplementationIDs>:
57 
58 //<ErrorIDs>:
59 
60 //</ImplementationIDs>
61 // <ActionIDs>:
62 //</ActionIDs>
63 
64 END_IDS()
65 
66 // Other StringKeys:
67 #define kXDocBkImageSizerCmdKey kXDocBkStringPrefix "kXDocBkImageSizerCmdKey"
68 #define kXDocBkChangeOptionsCmdKey kXDocBkStringPrefix "kXDocBkChangeOptionsCmdKey"
69 #define kXDocBkChangeServiceXMLImportPrefsCmdKey kXDocBkStringPrefix "kXDocBkChangeServiceXMLImportPrefsCmdKey"
70 // NB these have to be valid XML element names, hence my switching the order, as element names
71 // can't begin with a number
72 #define kXDocBkXTransXMLImportPrefsKey "kXDocBkXTransXMLImportPrefsKey" kXDocBkStringPrefix
73 #define kXDocBkXPostImpXMLImportPrefsKey "kXDocBkXPostImpXMLImportPrefsKey" kXDocBkStringPrefix
74 #define kXDocBkCALSContentXMLImportPrefsKey "kXDocBkCALSContentXMLImportPrefsKey" kXDocBkStringPrefix
75 #define kXDocBkStrucTableIterXMLImportPrefsKey "kXDocBkStrucTableIterXMLImportPrefsKey" kXDocBkStringPrefix
76 #define kXDocBkTaggingTableIterXMLImportPrefsKey "kXDocBkTaggingTableIterXMLImportPrefsKey" kXDocBkStringPrefix
77 #define kXDocBkXSLSuppliedOverridesPIPrefsKey "kXDocBkXSLSuppliedOverridesPIPrefsKey" kXDocBkStringPrefix
78 
79 const int32 cXDocBkTemplatePathIndex=0;
80 const int32 cXDocBkStylesheetPathIndex = cXDocBkTemplatePathIndex + 1;
81 const int32 cXDocBkLastOption = cXDocBkStylesheetPathIndex;
82 const int32 cXDocBkOptionCardinality = cXDocBkLastOption + 1;
83 // Open provider strings
84 #define kXDocBkFormatKey kXDocBkStringPrefix "kXDocBkFormatKey"
85 #define kXDocBkFileExtensionKey "dcbk"
86 #define kXDocBkFileOSType 'TEXT'
87 #define kXDocBkExportFormatNameKey kXDocBkStringPrefix "kXDocBkExportFormatNameKey"
88 
89 
90 // Initial Data format IDs of the persistent data was first introduced in InDesign 2.0 (XMLWorkflow plug-in)
91 #define kXDocBkInitialMajorFormat kSDKDef_20_PersistMajorVersionNumber
92 #define kXDocBkInitialMinorFormat kSDKDef_20_PersistMinorVersionNumber
93 // Note: The data format has not been changed since InDesign 2.0.
94 
95 // InDesign CS4 format changes
96 #define kXDocBkStoreWideStringMajorFormat kSDKDef_50_PersistMajorVersionNumber
97 #define kXDocBkStoreWideStringMinorFormat RezLong(1)
98 
99 // Error String resource IDs/keys
100 #define kXDocBkErrorStringTableRsrcID 1301
101 #define kXDocBkTemplateUninitializedErrKey kXDocBkStringPrefix "kXDocBkTemplateUninitializedErrKey"
102 #define kXDocBkXMLParseAlreadyInTableElementErrKey kXDocBkStringPrefix "kXDocBkXMLParseAlreadyInTableElementErrKey"
103 #define kXDocBkXMLParseInTableNotInCellElementErrKey kXDocBkStringPrefix "kXDocBkXMLParseInTableNotInCellElementErrKey"
104 #define kXDocBkXMLParseNotInRowElementErrKey kXDocBkStringPrefix "kXDocBkXMLParseNotInRowElementErrKey"
105 #define kXDocBkXMLParseUnknownElementErrKey kXDocBkStringPrefix "kXDocBkXMLParseUnknownElementErrKey"
106 #define kXDocBkXMLParseCantGetTextChunkErrKey kXDocBkStringPrefix "kXDocBkXMLParseCantGetTextChunkErrKey"
107 #define kXDocBkXMLParseHeaderCantGoHereErrKey kXDocBkStringPrefix "kXDocBkXMLParseHeaderCantGoHereErrKey"
108 #define kXDocBkXMLHeaderFirstRowsErrKey kXDocBkStringPrefix "kXDocBkXMLHeaderFirstRowsErrKey"
109 #define kXDocBkXMLParseCantAddRowNotInTableErrKey kXDocBkStringPrefix "kXDocBkXMLParseCantAddRowNotInTableErrKey"
110 #define kXDocBkAlreadyInHeaderOrBodyErrKey kXDocBkStringPrefix "kXDocBkAlreadyInHeaderOrBodyErrKey"
111 #define kXDocBkCantGetTextModelFromContentItemErrKey kXDocBkStringPrefix "kXDocBkCantGetTextModelFromContentItemErrKey"
112 #define kXDocBkXMLParseNotInTableElementErrKey kXDocBkStringPrefix "kXDocBkXMLParseNotInTableElementErrKey"
113 #define kXDocBkXMLParseDontHaveTableErrKey kXDocBkStringPrefix "kXDocBkXMLParseDontHaveTableErrKey"
114 
115 //ScriptInfoIDs:
116 
117 // Format IDs for the PluginVersion resource
118 #define kXDocBkLastMajorFormatChange kXDocBkStoreWideStringMajorFormat // Last major format change
119 #define kXDocBkLastMinorFormatChange kXDocBkStoreWideStringMinorFormat // Last minor format change
120 // TODO sa+ what data format change tests have you done/do you need to do for preferences stored on the session workspace?
121 
122 #endif // __XDocBkID_h__
123 // Generated by Dolly build 17: template "IfPanelMenu".
124 // End, XDocBkID.h.
125 
126 
127 
128