1 | /*
|
---|
2 | * Copyright (C) 2005 Mike McCormack
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __XMLDOMDID_H__
|
---|
29 | #define __XMLDOMDID_H__
|
---|
30 |
|
---|
31 | #define DISPID_DOM_BASE 1
|
---|
32 | #define DISPID_DOM_COLLECTION_BASE 1000000
|
---|
33 | #define DISPID_DOM_COLLECTION_MAX 2999999
|
---|
34 |
|
---|
35 | #define DISPID_DOM_NODE 1
|
---|
36 | #define DISPID_DOM_NODE_NODENAME 2
|
---|
37 | #define DISPID_DOM_NODE_NODEVALUE 3
|
---|
38 | #define DISPID_DOM_NODE_NODETYPE 4
|
---|
39 | #define DISPID_DOM_NODE_NODETYPEENUM 5
|
---|
40 | #define DISPID_DOM_NODE_PARENTNODE 6
|
---|
41 | #define DISPID_DOM_NODE_CHILDNODES 7
|
---|
42 | #define DISPID_DOM_NODE_FIRSTCHILD 8
|
---|
43 | #define DISPID_DOM_NODE_LASTCHILD 9
|
---|
44 | #define DISPID_DOM_NODE_PREVIOUSSIBLING 10
|
---|
45 | #define DISPID_DOM_NODE_NEXTSIBLING 11
|
---|
46 | #define DISPID_DOM_NODE_ATTRIBUTES 12
|
---|
47 | #define DISPID_DOM_NODE_INSERTBEFORE 13
|
---|
48 | #define DISPID_DOM_NODE_REPLACECHILD 14
|
---|
49 | #define DISPID_DOM_NODE_REMOVECHILD 15
|
---|
50 | #define DISPID_DOM_NODE_APPENDCHILD 16
|
---|
51 | #define DISPID_DOM_NODE_HASCHILDNODES 17
|
---|
52 | #define DISPID_DOM_NODE_OWNERDOC 18
|
---|
53 | #define DISPID_DOM_NODE_CLONENODE 19
|
---|
54 |
|
---|
55 | #define DISPID_XMLDOM_NODE 20
|
---|
56 | #define DISPID_XMLDOM_NODE_STRINGTYPE 21
|
---|
57 | #define DISPID_XMLDOM_NODE_SPECIFIED 22
|
---|
58 | #define DISPID_XMLDOM_NODE_DEFINITION 23
|
---|
59 | #define DISPID_XMLDOM_NODE_TEXT 24
|
---|
60 | #define DISPID_XMLDOM_NODE_NODETYPEDVALUE 25
|
---|
61 | #define DISPID_XMLDOM_NODE_DATATYPE 26
|
---|
62 | #define DISPID_XMLDOM_NODE_XML 27
|
---|
63 | #define DISPID_XMLDOM_NODE_TRANSFORMNODE 28
|
---|
64 | #define DISPID_XMLDOM_NODE_SELECTNODES 29
|
---|
65 | #define DISPID_XMLDOM_NODE_SELECTSINGLENODE 30
|
---|
66 | #define DISPID_XMLDOM_NODE_PARSED 31
|
---|
67 | #define DISPID_XMLDOM_NODE_NAMESPACE 32
|
---|
68 | #define DISPID_XMLDOM_NODE_PREFIX 33
|
---|
69 | #define DISPID_XMLDOM_NODE_BASENAME 34
|
---|
70 | #define DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT 35
|
---|
71 | #define DISPID_XMLDOM_NODE__TOP 36
|
---|
72 |
|
---|
73 | #define DISPID_DOM_DOCUMENT 37
|
---|
74 | #define DISPID_DOM_DOCUMENT_DOCTYPE 38
|
---|
75 | #define DISPID_DOM_DOCUMENT_IMPLEMENTATION 39
|
---|
76 | #define DISPID_DOM_DOCUMENT_DOCUMENTELEMENT 40
|
---|
77 | #define DISPID_DOM_DOCUMENT_CREATEELEMENT 41
|
---|
78 | #define DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT 42
|
---|
79 | #define DISPID_DOM_DOCUMENT_CREATETEXTNODE 43
|
---|
80 | #define DISPID_DOM_DOCUMENT_CREATECOMMENT 44
|
---|
81 | #define DISPID_DOM_DOCUMENT_CREATECDATASECTION 45
|
---|
82 | #define DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION 46
|
---|
83 | #define DISPID_DOM_DOCUMENT_CREATEATTRIBUTE 47
|
---|
84 | #define DISPID_DOM_DOCUMENT_CREATEENTITY 48
|
---|
85 | #define DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE 49
|
---|
86 | #define DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME 50
|
---|
87 | #define DISPID_DOM_DOCUMENT_TOP 51
|
---|
88 |
|
---|
89 | #define DISPID_XMLDOM_DOCUMENT 52
|
---|
90 | #define DISPID_XMLDOM_DOCUMENT_DOCUMENTNODE 53
|
---|
91 | #define DISPID_XMLDOM_DOCUMENT_CREATENODE 54
|
---|
92 | #define DISPID_XMLDOM_DOCUMENT_CREATENODEEX 55
|
---|
93 | #define DISPID_XMLDOM_DOCUMENT_NODEFROMID 56
|
---|
94 | #define DISPID_XMLDOM_DOCUMENT_DOCUMENTNAMESPACES 57
|
---|
95 | #define DISPID_XMLDOM_DOCUMENT_LOAD 58
|
---|
96 | #define DISPID_XMLDOM_DOCUMENT_PARSEERROR 59
|
---|
97 | #define DISPID_XMLDOM_DOCUMENT_URL 60
|
---|
98 | #define DISPID_XMLDOM_DOCUMENT_ASYNC 61
|
---|
99 | #define DISPID_XMLDOM_DOCUMENT_ABORT 62
|
---|
100 | #define DISPID_XMLDOM_DOCUMENT_LOADXML 63
|
---|
101 | #define DISPID_XMLDOM_DOCUMENT_SAVE 64
|
---|
102 | #define DISPID_XMLDOM_DOCUMENT_VALIDATE 65
|
---|
103 | #define DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE 66
|
---|
104 | #define DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE 67
|
---|
105 | #define DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE 68
|
---|
106 | #define DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE 69
|
---|
107 | #define DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE 70
|
---|
108 | #define DISPID_XMLDOM_DOCUMENT__TOP 71
|
---|
109 |
|
---|
110 | #define DISPID_DOM_NODELIST 72
|
---|
111 | #define DISPID_DOM_NODELIST_ITEM 73
|
---|
112 | #define DISPID_DOM_NODELIST_LENGTH 74
|
---|
113 |
|
---|
114 | #define DISPID_XMLDOM_NODELIST 75
|
---|
115 | #define DISPID_XMLDOM_NODELIST_NEXTNODE 76
|
---|
116 | #define DISPID_XMLDOM_NODELIST_RESET 77
|
---|
117 | #define DISPID_XMLDOM_NODELIST_NEWENUM 78
|
---|
118 | #define DISPID_XMLDOM_NODELIST__TOP 79
|
---|
119 |
|
---|
120 | #define DISPID_DOM_NAMEDNODEMAP 80
|
---|
121 | #define DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM 81
|
---|
122 | #define DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM 82
|
---|
123 | #define DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM 83
|
---|
124 |
|
---|
125 | #define DISPID_XMLDOM_NAMEDNODEMAP 84
|
---|
126 | #define DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM 85
|
---|
127 | #define DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM 86
|
---|
128 | #define DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE 87
|
---|
129 | #define DISPID_XMLDOM_NAMEDNODEMAP_RESET 88
|
---|
130 | #define DISPID_XMLDOM_NAMEDNODEMAP_NEWENUM 89
|
---|
131 | #define DISPID_XMLDOM_NAMEDNODEMAP__TOP 90
|
---|
132 |
|
---|
133 | #define DISPID_DOM_W3CWRAPPERS 91
|
---|
134 |
|
---|
135 | #define DISPID_DOM_DOCUMENTFRAGMENT 92
|
---|
136 | #define DISPID_DOM_DOCUMENTFRAGMENT__TOP 93
|
---|
137 |
|
---|
138 | #define DISPID_DOM_ELEMENT 94
|
---|
139 | #define DISPID_DOM_ELEMENT_GETTAGNAME 95
|
---|
140 | #define DISPID_DOM_ELEMENT_GETATTRIBUTES 96
|
---|
141 | #define DISPID_DOM_ELEMENT_GETATTRIBUTE 97
|
---|
142 | #define DISPID_DOM_ELEMENT_SETATTRIBUTE 98
|
---|
143 | #define DISPID_DOM_ELEMENT_REMOVEATTRIBUTE 99
|
---|
144 | #define DISPID_DOM_ELEMENT_GETATTRIBUTENODE 100
|
---|
145 | #define DISPID_DOM_ELEMENT_SETATTRIBUTENODE 101
|
---|
146 | #define DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE 102
|
---|
147 | #define DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME 103
|
---|
148 | #define DISPID_DOM_ELEMENT_NORMALIZE 104
|
---|
149 | #define DISPID_DOM_ELEMENT__TOP 105
|
---|
150 |
|
---|
151 | #define DISPID_DOM_DATA 106
|
---|
152 | #define DISPID_DOM_DATA_DATA 107
|
---|
153 | #define DISPID_DOM_DATA_LENGTH 108
|
---|
154 | #define DISPID_DOM_DATA_SUBSTRING 109
|
---|
155 | #define DISPID_DOM_DATA_APPEND 110
|
---|
156 | #define DISPID_DOM_DATA_INSERT 111
|
---|
157 | #define DISPID_DOM_DATA_DELETE 112
|
---|
158 | #define DISPID_DOM_DATA_REPLACE 113
|
---|
159 | #define DISPID_DOM_DATA__TOP 114
|
---|
160 |
|
---|
161 | #define DISPID_DOM_ATTRIBUTE 115
|
---|
162 | #define DISPID_DOM_ATTRIBUTE_GETNAME 116
|
---|
163 | #define DISPID_DOM_ATTRIBUTE_SPECIFIED 117
|
---|
164 | #define DISPID_DOM_ATTRIBUTE_VALUE 118
|
---|
165 | #define DISPID_DOM_ATTRIBUTE__TOP 119
|
---|
166 |
|
---|
167 | #define DISPID_DOM_TEXT 120
|
---|
168 | #define DISPID_DOM_TEXT_SPLITTEXT 121
|
---|
169 | #define DISPID_DOM_TEXT_JOINTEXT 122
|
---|
170 | #define DISPID_DOM_TEXT__TOP 123
|
---|
171 |
|
---|
172 | #define DISPID_DOM_PI 124
|
---|
173 | #define DISPID_DOM_PI_TARGET 125
|
---|
174 | #define DISPID_DOM_PI_DATA 126
|
---|
175 | #define DISPID_DOM_PI__TOP 127
|
---|
176 |
|
---|
177 | #define DISPID_DOM_DOCUMENTTYPE 128
|
---|
178 | #define DISPID_DOM_DOCUMENTTYPE_NAME 129
|
---|
179 | #define DISPID_DOM_DOCUMENTTYPE_ENTITIES 130
|
---|
180 | #define DISPID_DOM_DOCUMENTTYPE_NOTATIONS 131
|
---|
181 | #define DISPID_DOM_DOCUMENTTYPE__TOP 132
|
---|
182 |
|
---|
183 | #define DISPID_DOM_NOTATION 133
|
---|
184 | #define DISPID_DOM_NOTATION_PUBLICID 134
|
---|
185 | #define DISPID_DOM_NOTATION_SYSTEMID 135
|
---|
186 | #define DISPID_DOM_NOTATION__TOP 136
|
---|
187 |
|
---|
188 | #define DISPID_DOM_ENTITY 137
|
---|
189 | #define DISPID_DOM_ENTITY_PUBLICID 138
|
---|
190 | #define DISPID_DOM_ENTITY_SYSTEMID 139
|
---|
191 | #define DISPID_DOM_ENTITY_NOTATIONNAME 140
|
---|
192 | #define DISPID_DOM_ENTITY__TOP 141
|
---|
193 |
|
---|
194 | #define DISPID_DOM_IMPLEMENTATION 142
|
---|
195 | #define DISPID_DOM_IMPLEMENTATION_HASFEATURE 143
|
---|
196 | #define DISPID_DOM_IMPLEMENTATION__TOP 144
|
---|
197 |
|
---|
198 |
|
---|
199 | #define DISPID_DOM_ERROR 0x000000b0
|
---|
200 | #define DISPID_DOM_ERROR_ERRORCODE 0x000000b1
|
---|
201 | #define DISPID_DOM_ERROR_URL 0x000000b2
|
---|
202 | #define DISPID_DOM_ERROR_REASON 0x000000b3
|
---|
203 | #define DISPID_DOM_ERROR_SRCTEXT 0x000000b4
|
---|
204 | #define DISPID_DOM_ERROR_LINE 0x000000b5
|
---|
205 | #define DISPID_DOM_ERROR_LINEPOS 0x000000b6
|
---|
206 | #define DISPID_DOM_ERROR_FILEPOS 0x000000b7
|
---|
207 | #define DISPID_DOM_ERROR__TOP 0x000000b8
|
---|
208 |
|
---|
209 | #define DISPID_XMLDOMEVENT 197
|
---|
210 | #define DISPID_XMLDOMEVENT_ONREADYSTATECHANGE DISPID_READYSTATECHANGE
|
---|
211 | #define DISPID_XMLDOMEVENT_ONDATAAVAILABLE 198
|
---|
212 | #define DISPID_XMLDOMEVENT__TOP 199
|
---|
213 |
|
---|
214 | #endif /* __XMLDOMDID_H__ */
|
---|