InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PstLstUIID.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 PstLstUI plug-in.
24 //
25 //========================================================================================
26 
27 #ifndef __PstLstUIID_h__
28 #define __PstLstUIID_h__
29 
30 #include "SDKDef.h"
31 
32 // Company:
33 #define kPstLstUICompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
34 #define kPstLstUICompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
35 
36 // Plug-in:
37 #define kPstLstUIPluginName "PersistentListUI" // Name of this plug-in.
38 #define kPstLstUIPrefixNumber 0xB3100 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
39 #define kPstLstUIVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
40 #define kPstLstUIAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
41 
42 // Plug-in Prefix: (please change kPstLstUIPrefixNumber above to modify the prefix.)
43 #define kPstLstUIPrefix RezLong(kPstLstUIPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
44 #define kPstLstUIStringPrefix SDK_DEF_STRINGIZE(kPstLstUIPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
45 
46 START_IDS()
47 
48 // PluginID:
49 
50 // ClassIDs:
51 
52 // InterfaceIDs:
53 // NONE.
54 
55 // ImplementationIDs:
56 
57 // ActionIDs:
58 
59 // WidgetIDs:
60 
61 #define kPstLstUIListElementRsrcID (kSDKDefPanelResourceID + 751)
62 
63 
64 // ScriptIDs:
65 // NONE.
66 
67 // Error codes:
68 // NONE.
69 
70 END_IDS()
71 
72 // "About Plug-ins" sub-menu:
73 #define kPstLstUIAboutMenuKey kPstLstUIStringPrefix "kPstLstUIAboutMenuKey"
74 #define kPstLstUIAboutMenuPath kSDKDefStandardAboutMenuPath kPstLstUICompanyKey
75 
76 // "Plug-ins" sub-menu:
77 #define kPstLstUIPluginsMenuKey kPstLstUIStringPrefix "kPstLstUIPluginsMenuKey"
78 #define kPstLstUIPluginsMenuPath kSDKDefPlugInsStandardMenuPath kPstLstUICompanyKey kSDKDefDelimitMenuPath kPstLstUIPluginsMenuKey
79 
80 // Menu item keys:
81 #define kPstLstUINewMenuItemKey kPstLstUIStringPrefix "kPstLstUINewMenuItemKey"
82 #define kPstLstUINewAllMenuItemKey kPstLstUIStringPrefix "kPstLstUINewAllMenuItemKey"
83 #define kPstLstUIModifyMenuItemKey kPstLstUIStringPrefix "kPstLstUIModifyMenuItemKey"
84 #define kPstLstUIDeleteMenuItemKey kPstLstUIStringPrefix "kPstLstUIDeleteMenuItemKey"
85 
86 // Panel item keys:
87 #define kPstLstUIPanelTitleKey kPstLstUIStringPrefix "kPstLstUIPanelTitleKey"
88 
89 // Dialog item keys:
90 #define kPstLstUIDlgTitleKey kPstLstUIStringPrefix "kPstLstUIDlgTitleKey"
91 
92 // Error string keys:
93 // NONE.
94 
95 // Other StringKeys:
96 // TODO - eliminate the ones that we don't need.
97 #define kPstLstUIAboutBoxStringKey kPstLstUIStringPrefix "kPstLstUIAboutBoxStringKey"
98 //#define kPstLstUINewStringKey kPstLstUIStringPrefix "kPstLstUINewStringKey"
99 //#define kPstLstUIModifyStringKey kPstLstUIStringPrefix "kPstLstUIModifyStringKey"
100 //#define kPstLstUIDeleteStringKey kPstLstUIStringPrefix "kPstLstUIDeleteStringKey"
101 //#define kPstLstUISelectStringKey kPstLstUIStringPrefix "kPstLstUISelectStringKey"
102 #define kPstLstUIStaticTextKey kPstLstUIStringPrefix "kPstLstUIStaticTextKey"
103 #define kPstLstUIInternalPopupMenuNameKey kPstLstUIStringPrefix "kPstLstUIInternalPopupMenuNameKey"
104 #define kPstLstUITargetMenuPath kPstLstUIInternalPopupMenuNameKey
105 #define kPstLstUIDataStaticTextKey kPstLstUIStringPrefix "kPstLstUIDataStaticTextKey"
106 //#define kPstLstUINoValidPageItemsSelectedKey kPstLstUIStringPrefix "kPstLstUINoValidPageItemsSelectedKey"
107 #define kPstLstUINewCmdFailedKey kPstLstUIStringPrefix "kPstLstUINewCmdFailedKey"
108 #define kPstLstUIDeleteCmdFailedKey kPstLstUIStringPrefix "kPstLstUIDeleteCmdFailedKey"
109 #define kPstLstUIModifyCmdFailedKey kPstLstUIStringPrefix "kPstLstUIModifyCmdFailedKey"
110 #define kPstLstUIDeleteItemCmdFailedKey kPstLstUIStringPrefix "kPstLstUIDeleteItemCmdFailedKey"
111 #define kPstLstUISelectCmdFailedKey kPstLstUIStringPrefix "kPstLstUISelectCmdFailedKey"
112 #define kPstLstUINoDataTextKey kPstLstUIStringPrefix "kPstLstUINoDataTextKey"
113 #define kPstLstUIListLabelTextKey kPstLstUIStringPrefix "kPstLstUIListLabelTextKey"
114 
115 // Menu item positions:
116 #define kPstLstUINewMenuItemPosition 1.0
117 #define kPstLstUIModifyMenuItemPosition 2.0
118 #define kPstLstUIDeleteMenuItemPosition 3.0
119 #define kPstLstUISeparator1MenuItemPosition 10.0
120 #define kPstLstUIAboutThisMenuItemPosition 11.0
121 
122 // Initial Data format IDs of the persistent data was first introduced in InDesign CS 2
123 // we will arbitrarily call the format number "1.0"
124 #define kPstLstUIInitialMajorFormat 1
125 #define kPstLstUIInitialMinorFormat 0
126 // Note: The data format has not been changed since InDesign CS2
127 
128 // Format IDs for the PluginVersion resource
129 #define kPstLstUILastMajorFormatChange kPstLstUIInitialMajorFormat // Last major format change
130 #define kPstLstUILastMinorFormatChange kPstLstUIInitialMinorFormat // Last minor format change
131 
132 #endif // __PstLstUIID_h__
133 // Generated by Dolly build 17: template "IfPanelMenu".
134 // End, PstLstUIID.h.
135 
136