InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
BPIID.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 BPI plug-in.
24 //
25 //========================================================================================
26 
27 #ifndef __BPIID_h__
28 #define __BPIID_h__
29 
30 #include "SDKDef.h"
31 
32 // Company:
33 #define kBPICompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
34 #define kBPICompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
35 
36 // Plug-in:
37 #define kBPIPluginName "BasicPersistInterface" // Name of this plug-in.
38 #define kBPIPrefixNumber 0x58000 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
39 #define kBPIVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
40 #define kBPIAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
41 
42 // Plug-in Prefix: (please change kBPIPrefixNumber above to modify the prefix.)
43 #define kBPIPrefix RezLong(kBPIPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
44 #define kBPIStringPrefix SDK_DEF_STRINGIZE(kBPIPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
45 
46 // PluginID:
47 
48 // ClassIDs:
49 
50 // InterfaceIDs:
51 
52 // ImplementationIDs:
53 
54 //ScriptInfoIDs:
55 
56 // ErrorIDs:
57 
58 // Error string keys:
59 #define kBPIFailureErrorCodeErrorCodeStringKey kBPIStringPrefix "kBPIFailureErrorCodeErrorCodeStringKey"
60 #define kBPIDataAccessErrorCodeStringKey kBPIStringPrefix "kBPIDataAccessErrorCodeStringKey"
61 
62 // "About Plug-ins" sub-menu:
63 #define kBPIAboutMenuKey kBPIStringPrefix "kBPIAboutMenuKey"
64 #define kBPIAboutMenuPath kSDKDefStandardAboutMenuPath kBPICompanyKey
65 
66 #define kBPICommandStringKey kBPIStringPrefix "kBPICommandStringKey"
67 
68 // Other StringKeys:
69 #define kBPIAboutBoxStringKey kBPIStringPrefix "kBPIAboutBoxStringKey"
70 #define kBPIInternalPopupMenuNameKey kBPIStringPrefix "kBPIInternalPopupMenuNameKey"
71 #define kBPINoValidPageItemsSelectedKey kBPIStringPrefix "kBPINoValidPageItemsSelectedKey"
72 #define kBPISetBPIDataCmdFailedKey kBPIStringPrefix "kBPISetBPIDataCmdFailedKey"
73 #define kBPIDefaultStringKey kBPIStringPrefix "kBPISetBPIDefaultStringKey"
74 
75 // Initial data format version numbers: the persistent data for this plug-in
76 // introduced in pre-release versions of the InDesign 2.0 SDK
77 #define kBPIInitialMajorFormat 2
78 #define kBPIInitialMinorFormat 1
79 
80 // InDesign CS4 format changes
81 #define kBPIStoreWideStringMajorFormat kSDKDef_50_PersistMajorVersionNumber
82 #define kBPIStoreWideStringMinorFormat 1
83 
84 // Data format version numbers for the PluginVersion resource
85 #define kBPILastMajorFormatChange kBPIStoreWideStringMajorFormat // Most recent major format change
86 #define kBPILastMinorFormatChange kBPIStoreWideStringMinorFormat // Most recent minor format change
87 
88 // Schema field IDs:
89 #define kBPIPersistentVersion 0
90 #define kBPIData 1
91 
92 // other constants
93 #define kBPIDefaultPersistentVersion 1
94 #define kBPIDefaultData ""
95 
96 #endif // __BPIID_h__
97 
98 // End, BPIID.h.
99 
100 
101 
102