InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PstLstID.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 PstLst plug-in.
24 //
25 //========================================================================================
26 
27 #ifndef __PstLstID_h__
28 #define __PstLstID_h__
29 
30 #include "SDKDef.h"
31 
32 // Company:
33 #define kPstLstCompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
34 #define kPstLstCompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
35 
36 // Plug-in:
37 #define kPstLstPluginName "PersistentList" // Name of this plug-in.
38 #define kPstLstPrefixNumber 0x58100 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
39 #define kPstLstVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
40 #define kPstLstAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
41 
42 // Plug-in Prefix: (please change kPstLstPrefixNumber above to modify the prefix.)
43 #define kPstLstPrefix RezLong(kPstLstPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
44 #define kPstLstStringPrefix SDK_DEF_STRINGIZE(kPstLstPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
45 
46 // Missing plug-in: (see ExtraPluginInfo resource)
47 #define kPstLstMissingPluginURLValue kSDKDefPartnersStandardValue_enUS // URL displayed in Missing Plug-in dialog
48 #define kPstLstMissingPluginAlertValue kSDKDefMissingPluginAlertValue // Message displayed in Missing Plug-in dialog - provide a string that instructs user how to solve their missing plug-in problem
49 
50 START_IDS()
51 
52 // PluginID:
53 
54 // ClassIDs:
55 
56 // InterfaceIDs:
57 
58 // ImplementationIDs:
59 
60 // ActionIDs:
61 
62 // WidgetIDs:
63 
64 // ScriptIDs:
65 
66 // Error codes:
67 
68 END_IDS()
69 
70 // Error string keys:
71 #define kPstLstScriptProviderPreconditionErrorStringKey kPstLstStringPrefix "kPstLstScriptProviderPreconditionErrorStringKey"
72 #define kPstLstUnsupportedObjectRequestedErrorStringKey kPstLstStringPrefix "kPstLstUnsupportedObjectRequestedErrorStringKey"
73 #define kPstLstInternalErrorStringKey kPstLstStringPrefix "kPstLstScriptErrorStringKey"
74 #define kPstLstItemNotFoundInParentErrorStringKey kPstLstStringPrefix "kPstLstItemNotFoundInParentErrorStringKey"
75 #define kPstListParentUIDListHasInsufficientNumberOfItemsErrorStringKey kPstLstStringPrefix "kPstListParentUIDListHasInsufficientNumberOfItemsErrorStringKey"
76 
77 // Other StringKeys:
78 #define kPstLstNewStringKey kPstLstStringPrefix "kPstLstNewStringKey"
79 #define kPstLstModifyStringKey kPstLstStringPrefix "kPstLstModifyStringKey"
80 #define kPstLstDeleteStringKey kPstLstStringPrefix "kPstLstDeleteStringKey"
81 #define kPstLstSelectStringKey kPstLstStringPrefix "kPstLstSelectStringKey"
82 //#define kPstLstStaticTextKey kPstLstStringPrefix "kPstLstStaticTextKey"
83 //#define kPstLstInternalPopupMenuNameKey kPstLstStringPrefix "kPstLstInternalPopupMenuNameKey"
84 //#define kPstLstTargetMenuPath kPstLstInternalPopupMenuNameKey
85 //#define kPstLstDataStaticTextKey kPstLstStringPrefix "kPstLstDataStaticTextKey"
86 #define kPstLstNoValidPageItemsSelectedKey kPstLstStringPrefix "kPstLstNoValidPageItemsSelectedKey"
87 //#define kPstLstNewCmdFailedKey kPstLstStringPrefix "kPstLstNewCmdFailedKey"
88 //#define kPstLstDeleteCmdFailedKey kPstLstStringPrefix "kPstLstDeleteCmdFailedKey"
89 //#define kPstLstModifyCmdFailedKey kPstLstStringPrefix "kPstLstModifyCmdFailedKey"
90 #define kPstLstDeleteItemCmdFailedKey kPstLstStringPrefix "kPstLstDeleteItemCmdFailedKey"
91 //#define kPstLstSelectCmdFailedKey kPstLstStringPrefix "kPstLstSelectCmdFailedKey"
92 //#define kPstLstLabelTextKey kPstLstStringPrefix "kPstLstLabelTextKey"
93 //#define kPstLstNoDataTextKey kPstLstStringPrefix "kPstLstNoDataTextKey"
94 //#define kPstLstListLabelTextKey kPstLstStringPrefix "kPstLstListLabelTextKey"
95 
96 // Initial Data format IDs of the persistent data was first introduced in InDesign 2.0
97 #define kPstLstInitialMajorFormat kSDKDef_20_PersistMajorVersionNumber
98 #define kPstLstInitialMinorFormat kSDKDef_20_PersistMinorVersionNumber
99 
100 // InDesign CS2 format changes
101 // Added back reference(UID) to parent boss in PstLstDataPersist.cpp
102 #define kPstLstAddParentReferenceUIDMajorFormat kSDKDef_40_PersistMajorVersionNumber
103 #define kPstLstAddParentReferenceUIDMinorFormat 1
104 
105 // InDesign CS3 format changes
106 // Remove selectedUID from PstLstUIDList.cpp
107 #define kRemoveSelectedUIDMajorFormat kSDKDef_50_PersistMajorVersionNumber
108 #define kRemoveSelectedUIDMinorFormat 1
109 
110 #define kPstLstStoreWideStringMajorFormat kRemoveSelectedUIDMajorFormat
111 #define kPstLstStoreWideStringMinorFormat 2
112 
113 // Format IDs for the PluginVersion resource
114 #define kPstLstLastMajorFormatChange kPstLstStoreWideStringMajorFormat // Last major format change
115 #define kPstLstLastMinorFormatChange kPstLstStoreWideStringMinorFormat // Last minor format change
116 
117 // Resource IDs for the UserErrorTable resource
118 #define kPstLstErrorStringTableRsrcID kSDKDefErrorStringResourceID
119 
120 // default persistent list data item value
121 #define kPstLstDataItemNameDefault ""
122 
123 #endif // __PstLstID_h__
124 // Generated by Dolly build 17: template "IfPanelMenu".
125 // End, PstLstID.h.
126 
127