InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
BscTAID.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 BasicTextAdornment plug-in.
24 //
25 //========================================================================================
26 
27 #ifndef __BscTAID_h__
28 #define __BscTAID_h__
29 
30 #include "SDKDef.h"
31 
32 // Company:
33 #define kBscTACompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
34 #define kBscTACompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
35 
36 // Plug-in:
37 #define kBscTAPluginName "BasicTextAdornment" // Name of this plug-in.
38 #define kBscTAPrefixNumber 0x55100 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
39 #define kBscTAVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
40 #define kBscTAAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
41 
42 // Plug-in Prefix: (please change kBscTAPrefixNumber above to modify the prefix.)
43 #define kBscTAPrefix RezLong(kBscTAPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
44 #define kBscTAStringPrefix SDK_DEF_STRINGIZE(kBscTAPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
45 
46 // Missing plug-in: (see ExtraPluginInfo resource)
47 #define kBscTAMissingPluginURLValue kSDKDefPartnersStandardValue_enUS // URL displayed in Missing Plug-in dialog
48 #define kBscTAMissingPluginAlertValue kSDKDefMissingPluginAlertValue // Message displayed in Missing Plug-in dialog - provide a string that instructs user how to solve their missing plug-in problem
49 
50 // PluginID:
51 
52 // ClassIDs:
53 
54 
55 // InterfaceIDs:
56 // None in this plug-in.
57 
58 // ImplementationIDs:
59 
60 
61 // ActionIDs:
62 
63 // WidgetIDs:
64 //none
65 
66 //ScriptInfoIDs:
67 
68 // ErrorIDs:
69 
70 // Error string keys:
71 #define kBscTAFailureErrorCodeStringKey kBscTAStringPrefix "kBscTAFailureErrorCodeStringKey"
72 #define kBscTADataAccessErrorCodeStringKey kBscTAStringPrefix "kBscTADataAccessErrorCodeStringKey"
73 
74 // "About Plug-ins" sub-menu:
75 #define kBscTAAboutMenuKey kBscTAStringPrefix "kBscTAAboutMenuKey"
76 #define kBscTAAboutMenuPath kSDKDefStandardAboutMenuPath kBscTACompanyKey
77 
78 // "Plug-ins" sub-menu:
79 #define kBscTAPluginsMenuKey kBscTAStringPrefix "kBscTAPluginsMenuKey"
80 #define kBscTAPluginsMenuPath kSDKDefPlugInsStandardMenuPath kBscTACompanyKey kSDKDefDelimitMenuPath kBscTAPluginsMenuKey
81 
82 // Menu item keys:
83 #define kBscTAAddTextAdornmentMenuItemKey kBscTAStringPrefix "kBscTAAddTextAdornmentMenuItemKey"
84 #define kBscTARemoveTextAdornmentMenuItemKey kBscTAStringPrefix "kBscTARemoveTextAdornmentMenuItemKey"
85 
86 // Other StringKeys:
87 #define kBscTAAboutBoxStringKey kBscTAStringPrefix "kBscTAAboutBoxStringKey"
88 #define kBscTAAddTextAdornmentStringKey kBscTAStringPrefix "kBscTAAddTextAdornmentStringKey"
89 #define kBscTARemoveTextAdornmentStringKey kBscTAStringPrefix "kBscTARemoveTextAdornmentStringKey"
90 #define kBscTACharAttrDescrStringKey kBscTAStringPrefix "kBscTACharAttrDescrString"
91 
92 #define kBscTATargetMenuPath kBscTAPluginsMenuPath
93 
94 // Menu item positions:
95 #define kBscTAAddTextAdornmentMenuItemPosition 1.0
96 #define kBscTARemoveTextAdornmentMenuItemPosition 2.0
97 
98 // Initial Data format IDs of the persistent data was first introduced in InDesign 2.0
99 #define kBscTAInitialMajorFormat kSDKDef_20_PersistMajorVersionNumber
100 #define kBscTAInitialMinorFormat kSDKDef_20_PersistMinorVersionNumber
101 // Note: The data format has not been changed since InDesign 2.0.
102 
103 // Format IDs for the PluginVersion resource
104 #define kBscTALastMajorFormatChange kBscTAInitialMajorFormat // Last major format change
105 #define kBscTALastMinorFormatChange kBscTAInitialMinorFormat // Last minor format change
106 
107 
108 #endif // __BscTAID_h__
109 // Generated by Dolly build 17: template "IfPanelMenu".
110 // End, BscTAID.h.
111 
112