InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DynPnID.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 
24 #ifndef __DynPnID_h__
25 #define __DynPnID_h__
26 
27 #include "SDKDef.h"
28 
29 // Company:
30 #define kDynPnCompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
31 #define kDynPnCompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
32 
33 // Plug-in:
34 #define kDynPnPluginName "DynamicPanel" // Name of this plug-in.
35 #define kDynPnPrefixNumber 0x5c2a0 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
36 #define kDynPnVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
37 #define kDynPnAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
38 
39 // Plug-in Prefix: (please change kDynPnPrefixNumber above to modify the prefix.)
40 #define kDynPnPrefix RezLong(kDynPnPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
41 #define kDynPnStringPrefix SDK_DEF_STRINGIZE(kDynPnPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
42 
43 // PluginID:
44 
45 // ClassIDs:
46 
47 // InterfaceIDs:
48 
49 // ImplementationIDs:
50 
51 // ActionIDs:
52 
53 // WidgetIDs:
54 
55 // "About Plug-ins" sub-menu:
56 #define kDynPnAboutMenuKey kDynPnStringPrefix "kDynPnAboutMenuKey"
57 #define kDynPnAboutMenuPath kSDKDefStandardAboutMenuPath kDynPnCompanyKey
58 
59 // "Plug-ins" sub-menu:
60 #define kDynPnPluginsMenuKey kDynPnStringPrefix "kDynPnPluginsMenuKey"
61 #define kDynPnPluginsMenuPath kSDKDefPlugInsStandardMenuPath kDynPnCompanyKey kSDKDefDelimitMenuPath kDynPnPluginsMenuKey
62 
63 // Menu item keys:
64 #define kDynPnSomethingMenuItemKey kDynPnStringPrefix "kDynPnSomethingMenuItemKey"
65 #define kDynPnMgrNewPanelMenuItemKey kDynPnStringPrefix "kDynPnMgrNewPanelMenuItemKey"
66 #define kDynPnMgrClosePanelMenuItemKey kDynPnStringPrefix "kDynPnMgrClosePanelMenuItemKey"
67 
68 // Other StringKeys:
69 #define kDynPnAboutBoxStringKey kDynPnStringPrefix "kDynPnAboutBoxStringKey"
70 #define kDynPnSomethingStringKey kDynPnStringPrefix "kDynPnSomethingStringKey"
71 #define kDynPnPanelTitleKey kDynPnStringPrefix "kDynPnPanelTitleKey"
72 #define kDynPnStaticTextKey kDynPnStringPrefix "kDynPnStaticTextKey"
73 #define kDynPnInternalPopupMenuNameKey kDynPnStringPrefix "kDynPnInternalPopupMenuNameKey"
74 #define kDynPnTargetMenuPath kDynPnInternalPopupMenuNameKey
75 #define kDynPnMgrPluginsMenuPath kSDKDefPlugInsStandardMenuPath kDynPnCompanyKey kSDKDefDelimitMenuPath kDynPnPluginsMenuKey
76 #define kDynPnMgrTargetMenuPath kDynPnMgrPluginsMenuPath
77 
78 // Menu item positions: these are the ones on the Plug-ins menu
79 #define kDynPnSomethingMenuItemPosition 1.0
80 #define kDynPnSeparator1MenuItemPosition 10.0
81 #define kDynPnAboutThisMenuItemPosition 11.0
82 #define kDynPnMgrNewPanelMenuItemPosition 1.0
83 #define kDynPnMgrClosePanelMenuItemPosition 2.0
84 // Positions on the Windows menu
85 #define kDynPnMenuSeparatorPosition kWindowLastPanelMenuPosition + 1.0
86 #define kDynPnMenuPosition kWindowLastPanelMenuPosition + 2.0
87 #define kDynPnDynamicPanelNameStart "DynaPanel "
88 
89 // On Windows menu...
90 
91 // Initial Data format IDs of the persistent data was first introduced in InDesign 2.0
92 #define kDynPnInitialMajorFormat kSDKDef_20_PersistMajorVersionNumber
93 #define kDynPnInitialMinorFormat kSDKDef_20_PersistMinorVersionNumber
94 // Note: The data format has not been changed since InDesign 2.0.
95 
96 // Format IDs for the PluginVersion resource
97 #define kDynPnLastMajorFormatChange kDynPnInitialMajorFormat // Last major format change
98 #define kDynPnLastMinorFormatChange kDynPnInitialMinorFormat // Last minor format change
99 
100 
101 #endif // __DynPnID_h__
102 // Generated by Dolly build 17: template "IfPanelMenu".
103 // End, DynPnID.h.
104 
105 
106