InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CHLID.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 CHL plug-in.
24 //
25 //========================================================================================
26 
27 #ifndef __CHLID_h__
28 #define __CHLID_h__
29 
30 #include "SDKDef.h"
31 
32 // Company:
33 #define kCHLCompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
34 #define kCHLCompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
35 
36 // Plug-in:
37 #define kCHLPluginName "CHLinguistic" // Name of this plug-in.
38 #define kCHLPrefixNumber 0x48C00 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
39 #define kCHLVersion "3.0" // Version of this plug-in (for the About Box).
40 #define kCHLAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
41 
42 // Plug-in Prefix: (please change kCHLPrefixNumber above to modify the prefix.)
43 #define kCHLPrefix RezLong(kCHLPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
44 #define kCHLStringPrefix SDK_DEF_STRINGIZE(kCHLPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
45 
46 // PluginID:
47 
48 // ClassIDs:
49 
50 // InterfaceIDs:
51 
52 
53 // Implementation IDs:
54 
55 
56 //Errors
57 
58 
59 // ActionIDs:
60 
61 // WidgetIDs:
62 
63 // "About Plug-ins" sub-menu:
64 #define kCHLAboutMenuKey kCHLStringPrefix "kCHLAboutMenuKey"
65 #define kCHLAboutMenuPath kSDKDefStandardAboutMenuPath kCHLCompanyKey
66 
67 // Other StringKeys:
68 #define kCHLAboutBoxStringKey kCHLStringPrefix "kCHLAboutBoxStringKey"
69 
70 // Alert StringKeys:
71 #define kCHLSpellingMgrInstallFailedKey kCHLStringPrefix "kCHLSpellingMgrInstallFailed"
72 #define kCHLFileNameTableInstallFailedKey kCHLStringPrefix "kCHLFileNameTableInstallFailed"
73 #define kCHLMissingUserDictionaryInitKey kCHLStringPrefix "kCHLMissingUserDictionaryInitKey"
74 
75 // Linguistic StringsKeys:
76 #define kCHShortName "CodeHawgs"
77 
78 #define kCHPrimaryLanguageNameBulgarian "Bulgarian"
79 #define kCHSubLanguageNameBulgarianNull ""
80 
81 #define kCHLanguageNameBulgarianKey kCHLStringPrefix kCHPrimaryLanguageNameBulgarian
82 
83 #define kCHCoreFileNameBulgarian "BULG.DIC"
84 #define kCHHyphFileNameBulgarian "BULG.HYP"
85 #define kCHUserDictFileNameBulgarian "BULG.UDC"
86 #define kCHThesaurusFileNameBulgarian "BULG.THS"
87 
88 #define kCHPrimaryLanguageNameHungarian "Hungarian"
89 #define kCHSubLanguageNameHungarianNull ""
90 
91 #define kCHLanguageNameHungarianKey kCHLStringPrefix kCHPrimaryLanguageNameHungarian
92 
93 #define kCHCoreFileNameHungarian "HUNG.DIC"
94 #define kCHHyphFileNameHungarian "HUNG.HYP"
95 #define kCHUserDictFileNameHungarian "HUNG.UDC"
96 #define kCHThesaurusFileNameHungarian "HUNG.THS"
97 
98 #define kCHCoreFileNameAramaic "ARAM.DIC"
99 #define kCHHyphFileNameAramaic "ARAM.HYP"
100 #define kCHUserDictFileNameAramaic "ARAM.UDC"
101 #define kCHThesaurusFileNameAramaic "ARAM.THS"
102 
103 #define kCHCoreFileNameEnglishZambia "ENGZAM.DIC"
104 #define kCHHyphFileNameEnglishZambia "ENGZAM.HYP"
105 #define kCHUserDictFileNameEnglishZambia "ENGZAM.UDC"
106 #define kCHThesaurusFileNameEnglishZambia "ENGZAM.THS"
107 
108 #define kCHCoreFileNameBembaZambia "BEMZAM.DIC"
109 #define kCHHyphFileNameBembaZambia "BEMZAM.HYP"
110 #define kCHUserDictFileNameBembaZambia "BEMZAM.UDC"
111 #define kCHThesaurusFileNameBembaZambia "BEMZAM.THS"
112 
113 #define kCHCoreFileNameBembaBotswana "BEMBOT.DIC"
114 #define kCHHyphFileNameBembaBotswana "BEMBOT.HYP"
115 #define kCHUserDictFileNameBembaBotswana "BEMBOT.UDC"
116 #define kCHThesaurusFileNameBembaBotswana "BEMBOT.THS"
117 
118 // Path to our linguistic data files folder that lives under
119 // the application folder.
120 #ifdef MACINTOSH
121 #define kCHLinguisticFilesSubFolder ":Plug-Ins:Dictionaries:codehawgs:"
122 #endif
123 #ifdef WINDOWS
124 #define kCHLinguisticFilesSubFolder "\\Plug-Ins\\Dictionaries\\codehawgs\\"
125 #endif
126 
127 // Initial data format version numbers
128 #define kCHLFirstMajorFormatNumber kSDKDef_30_PersistMajorVersionNumber
129 #define kCHLFirstMinorFormatNumber kSDKDef_30_PersistMinorVersionNumber
130 
131 // Data format version numbers for the PluginVersion resource
132 #define kCHLCurrentMajorFormatNumber kCHLFirstMajorFormatNumber // most recent major format change
133 #define kCHLCurrentMinorFormatNumber kCHLFirstMinorFormatNumber // most recent minor format change
134 
135 #endif // __CHLID_h__
136 
137 // End, CHLID.h.
138 
139