InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
JavaScriptID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Jonathan W. Brown
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 __JAVASCRIPTID__
25 #define __JAVASCRIPTID__
26 
27 #include "CrossPlatformTypes.h"
28 #include "IDFactory.h"
29 
30 // Resource IDs
31 #define kjsIconResID 229
32 #define kJavaScriptStringResID 2100
33 #define kJavaScriptStringsNoTransRsrcID 2200
34 #define kJavaScriptErrorStringTableRsrcID 2300
35 //#define kJavaScriptScriptStringsRsrcID 2400 //Strings associated with descriptions in script element resources
36 
37 
38 #define kJavaScriptPrefix RezLong(0x15F00)
39 
40 // PluginID
41 #define kJavaScriptPluginName "JavaScript"
42 
43 // ClassIDs
44 
45 
46 // IIDs
47 // gap
48 
49 
50 // ImplementationIIDs
51 
52 
53 
54 
55 // Error Codes
56 //gap for other "not an error" error codes
57 
58 //
59 //Script Element IDs
60 //
61 
62 //Suites
63 
64 //Objects
65 
66 //Events
67 
68 //Properties
69 
70 //Enums
71 
72 //Metadata
73 
74 
75 enum JavaScriptScriptIDs
76 {
77  s_JavaScriptSuite = 'JSSu',
78  e_IndexOperator = 'OpIn',
79  e_toSource = 'TSrc',
80  e_toString = 'toSt',
81  e_getElements = 'GElm',
82  e_toSpecifier = 'Xpth',
83  p_isValid = 'isVl',
84  p_uid = 'puid',
85  p_packageName = 'pckN',
86  e_Exit = 'Exit',
87  e_Beep = 'Beep',
88  p_isEqual = 'EqAl',
89  p_constructName = 'CnMe',
90 } ;
91 
92 #endif