InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
WLBCmpID.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 WLBCmp plug-in.
24 //
25 //========================================================================================
26 
27 #ifndef __WLBCmpID_h__
28 #define __WLBCmpID_h__
29 
30 #include "SDKDef.h"
31 
32 // Company:
33 #define kWLBCmpCompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
34 #define kWLBCmpCompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
35 
36 // Plug-in:
37 #define kWLBCmpPluginName "WListBoxComposite" // Name of this plug-in.
38 #define kWLBCmpPrefixNumber 0x57240 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
39 #define kWLBCmpVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
40 #define kWLBCmpAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
41 
42 // Plug-in Prefix: (please change kWLBCmpPrefixNumber above to modify the prefix.)
43 #define kWLBCmpPrefix RezLong(kWLBCmpPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
44 #define kWLBCmpStringPrefix SDK_DEF_STRINGIZE(kWLBCmpPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
45 
46 // PluginID:
47 
48 // ClassIDs:
49 // InterfaceIDs:
50 // None in this plug-in.
51 
52 // ImplementationIDs:
53 // ActionIDs:
54 // WidgetIDs:
55 // "About Plug-ins" sub-menu:
56 #define kWLBCmpAboutMenuKey kWLBCmpStringPrefix "kWLBCmpAboutMenuKey"
57 #define kWLBCmpAboutMenuPath kSDKDefStandardAboutMenuPath kWLBCmpCompanyKey
58 
59 // "Plug-ins" sub-menu:
60 #define kWLBCmpPluginsMenuKey kWLBCmpStringPrefix "kWLBCmpPluginsMenuKey"
61 #define kWLBCmpPluginsMenuPath kSDKDefPlugInsStandardMenuPath kWLBCmpCompanyKey kSDKDefDelimitMenuPath kWLBCmpPluginsMenuKey
62 
63 // Menu item keys:
64 #define kWLBCmpAddItemMenuItemKey kWLBCmpStringPrefix "kWLBCmpAddItemMenuItemKey"
65 #define kWLBCmpRemoveItemMenuItemKey kWLBCmpStringPrefix "kWLBCmpRemoveItemMenuItemKey"
66 
67 // Other StringKeys:
68 #define kWLBCmpAboutBoxStringKey kWLBCmpStringPrefix "kWLBCmpAboutBoxStringKey"
69 #define kWLBCmpAddItemStringKey kWLBCmpStringPrefix "kWLBCmpAddItemStringKey"
70 #define kWLBCmpRemoveItemStringKey kWLBCmpStringPrefix "kWLBCmpRemoveItemStringKey"
71 #define kWLBCmpPanelTitleKey kWLBCmpStringPrefix "kWLBCmpPanelTitleKey"
72 #define kWLBCmpInternalPopupMenuNameKey kWLBCmpStringPrefix "kWLBCmpInternalPopupMenuNameKey"
73 #define kWLBCmpTargetMenuPath kWLBCmpInternalPopupMenuNameKey
74 #define kWLBCmpItemBaseKey kWLBCmpStringPrefix "kWLBCmpItemBaseKey"
75 #define kWLBCmpAddedElementKey kWLBCmpStringPrefix"kWLBCmpAddedElementKey"
76 
77 
78 
79 // Menu item positions:
80 #define kWLBCmpAddItemMenuItemPosition 1.0
81 #define kWLBCmpRemoveItemMenuItemPosition 2.0
82 #define kWLBCmpSeparator1MenuItemPosition 10.0
83 #define kWLBCmpAboutThisMenuItemPosition 11.0
84 
85 // Initial data format version numbers
86 #define kWLBCmpFirstMajorFormatNumber kSDKDef_30_PersistMajorVersionNumber
87 #define kWLBCmpFirstMinorFormatNumber kSDKDef_30_PersistMinorVersionNumber
88 
89 // Data format version numbers for the PluginVersion resource
90 #define kWLBCmpCurrentMajorFormatNumber kWLBCmpFirstMajorFormatNumber // most recent major format change
91 #define kWLBCmpCurrentMinorFormatNumber kWLBCmpFirstMinorFormatNumber // most recent minor format change
92 
93 #endif // __WLBCmpID_h__
94 
95 // End, WLBCmpID.h.
96 
97