InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CusDtLnkID.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 __CusDtLnkID_h__
25 #define __CusDtLnkID_h__
26 
27 #include "SDKDef.h"
28 
29 // Company:
30 #define kCusDtLnkCompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
31 #define kCusDtLnkCompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
32 
33 // Plug-in:
34 #define kCusDtLnkPluginName "CustomDataLink" // Name of this plug-in.
35 #define kCusDtLnkPrefixNumber 0xb3300 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
36 #define kCusDtLnkVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
37 #define kCusDtLnkAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
38 
39 // Plug-in Prefix: (please change kCusDtLnkPrefixNumber above to modify the prefix.)
40 #define kCusDtLnkPrefix RezLong(kCusDtLnkPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
41 #define kCusDtLnkStringPrefix SDK_DEF_STRINGIZE(kCusDtLnkPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
42 
43 // PluginID:
44 
45 // ClassIDs:
46 
47 
48 // InterfaceIDs:
49 
50 
51 // ImplementationIDs:
52 
53 
54 
55 
56 //Script Element IDs
57 //Events
58 // Properties
59 // Obj
60 // Prefs
61 // Metadata
62 
63 // StringKeys:
64 //#define kCusDtLnkSwitchLinkCmdBossStringKey kCusDtLnkStringPrefix "kCusDtLnkSwitchLinkCmdBossStringKey"
65 #define kCusDtLnkChangeOptionsCmdKey kCusDtLnkStringPrefix "kCusDtLnkChangeOptionsCmdKey"
66 // These are keys for options on our custom data interface on the workspace,
67 // and aren't going into the stringtable but we follow the same pattern as for other 'keys'
68 #define kCusDtLnkCurrentlyChosenUniqueKeyOption kCusDtLnkStringPrefix "kCusDtLnkCurrentlyChosenUniqueKeyOption"
69 // Initial data format version numbers
70 #define kCusDtLnkFirstMajorFormatNumber RezLong(1)
71 #define kCusDtLnkFirstMinorFormatNumber RezLong(0)
72 
73 // conversion ID
74 #define kCusDtLnkConvertLinksToNewArchitecture kBasilInitialMinorFormatNumber
75 // Data format version numbers for the PluginVersion resource
76 #define kCusDtLnkCurrentMajorFormatNumber kBasilMajorFormatNumber
77 #define kCusDtLnkCurrentMinorFormatNumber kCusDtLnkConvertLinksToNewArchitecture
78 
79 
80 
81 // NOTE: these would be user-customizable options in a 'real' implementation,
82 // but I am hardcoding for now for this sample. These are fields in the 'database'
83 // that have special semantics for this implementation.
84 #define kCusDtLnkAssetDataBaseAssetPathFieldNameKey kCusDtLnkStringPrefix "kCusDtLnkAssetDataBaseAssetPathFieldNameKey"
85 #define kCusDtLnkAssetDataBaseRecordIDFieldNameKey kCusDtLnkStringPrefix "kCusDtLnkAssetDataBaseRecordIDFieldNameKey"
86 #define kCusDtLnkAssetDataBaseDateFieldNameKey kCusDtLnkStringPrefix "kCusDtLnkAssetDataBaseDateFieldNameKey"
87 #define kCusDtLnkAssetDataBaseTimeFieldNameKey kCusDtLnkStringPrefix "kCusDtLnkAssetDataBaseTimeFieldNameKey"
88 #define kCusDtLnkAssetDataBaseLinkInfoNameKey kCusDtLnkStringPrefix "kCusDtLnkAssetDataBaseLinkInfoNameKey"
89 #define kCusDtLnkAssetDataBaseStatusFieldNameKey kCusDtLnkStringPrefix "kCusDtLnkAssetDataBaseStatusFieldNameKey"
90 #define kCusDtLnkAssetDataBaseDescriptionFieldNameKey kCusDtLnkStringPrefix "kCusDtLnkAssetDataBaseDescriptionFieldNameKey"
91 
92 #define kCusDtLnkScheme "CSVLink" // scheme of the uri for our link.
93 
94 #endif // __CusDtLnkID_h__
95 
96 // Code generated by DollyXs code generator