include: Add IProvideRuntimeContext and a few annotations.
[wine] / include / mshtmcid.h
1 /*
2  * Copyright 2006 Jacek Caban for CodeWeavers
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 #ifndef __mshtmcid_h__
20 #define __mshtmcid_h__
21
22 #define IDM_UNKNOWN                 0
23 #define IDM_ALIGNBOTTOM             1
24 #define IDM_ALIGNHORIZONTALCENTERS  2
25 #define IDM_ALIGNLEFT               3
26 #define IDM_ALIGNRIGHT              4
27 #define IDM_ALIGNTOGRID             5
28 #define IDM_ALIGNTOP                6
29 #define IDM_ALIGNVERTICALCENTERS    7
30 #define IDM_ARRANGEBOTTOM           8
31 #define IDM_ARRANGERIGHT            9
32 #define IDM_BRINGFORWARD            10
33 #define IDM_BRINGTOFRONT            11
34 #define IDM_CENTERHORIZONTALLY      12
35 #define IDM_CENTERVERTICALLY        13
36 #define IDM_CODE                    14
37 #define IDM_COPY                    15
38 #define IDM_CUT                     16
39 #define IDM_DELETE                  17
40 #define IDM_FONTNAME                18
41 #define IDM_FONTSIZE                19
42 #define IDM_GROUP                   20
43 #define IDM_HORIZSPACECONCATENATE   21
44 #define IDM_HORIZSPACEDECREASE      22
45 #define IDM_HORIZSPACEINCREASE      23
46 #define IDM_HORIZSPACEMAKEEQUAL     24
47 #define IDM_INSERTOBJECT            25
48 #define IDM_PASTE                   26
49 #define IDM_PRINT                   27
50 #define IDM_PROPERTIES              28
51 #define IDM_REDO                    29
52 #define IDM_MULTILEVELREDO          30
53 #define IDM_SELECTALL               31
54 #define IDM_SENDBACKWARD            32
55 #define IDM_SENDTOBACK              33
56 #define IDM_SHOWTABLE               34
57 #define IDM_SIZETOCONTROL           35
58 #define IDM_SIZETOCONTROLHEIGHT     36
59 #define IDM_SIZETOCONTROLWIDTH      37
60 #define IDM_SIZETOFIT               38
61 #define IDM_SIZETOGRID              39
62 #define IDM_SNAPTOGRID              40
63 #define IDM_TABORDER                41
64 #define IDM_TOOLBOX                 42
65 #define IDM_UNDO                    43
66 #define IDM_MULTILEVELUNDO          44
67 #define IDM_UNGROUP                 45
68 #define IDM_VERTSPACECONCATENATE    46
69 #define IDM_VERTSPACEDECREASE       47
70 #define IDM_VERTSPACEINCREASE       48
71 #define IDM_VERTSPACEMAKEEQUAL      49
72 #define IDM_JUSTIFYFULL             50
73 #define IDM_ZOOMPERCENT             50
74 #define IDM_BACKCOLOR               51
75 #define IDM_BOLD                    52
76 #define IDM_BORDERCOLOR             53
77 #define IDM_FLAT                    54
78 #define IDM_FORECOLOR               55
79 #define IDM_ITALIC                  56
80 #define IDM_JUSTIFYCENTER           57
81 #define IDM_JUSTIFYGENERAL          58
82 #define IDM_JUSTIFYLEFT             59
83 #define IDM_JUSTIFYRIGHT            60
84 #define IDM_RAISED                  61
85 #define IDM_SUNKEN                  62
86 #define IDM_UNDERLINE               63
87 #define IDM_CHISELED                64
88 #define IDM_ETCHED                  65
89 #define IDM_SHADOWED                66
90 #define IDM_FIND                    67
91 #define IDM_GETZOOM                 68
92 #define IDM_SHOWGRID                69
93 #define IDM_SAVE                    70
94 #define IDM_SAVEAS                  71
95 #define IDM_OBJECTVERBLIST0         72
96 #define IDM_OBJECTVERBLIST1         73
97 #define IDM_OBJECTVERBLIST2         74
98 #define IDM_OBJECTVERBLIST3         75
99 #define IDM_OBJECTVERBLIST4         76
100 #define IDM_OBJECTVERBLIST5         77
101 #define IDM_OBJECTVERBLIST6         78
102 #define IDM_OBJECTVERBLIST7         79
103 #define IDM_OBJECTVERBLIST8         80
104 #define IDM_OBJECTVERBLIST9         81
105
106 #define IDM_OBJECTVERBLISTLAST      IDM_OBJECTVERBLIST9
107
108 #define IDM_CONVERTOBJECT           82
109 #define IDM_CUSTOMCONTROL           83
110 #define IDM_CUSTOMIZEITEM           84
111 #define IDM_RENAME                  85
112 #define IDM_IMPORT                  86
113 #define IDM_NEWPAGE                 87
114 #define IDM_MOVE                    88
115 #define IDM_CANCEL                  89
116 #define IDM_FONT                    90
117 #define IDM_STRIKETHROUGH           91
118 #define IDM_DELETEWORD              92
119 #define IDM_EXECPRINT               93
120 #define IDM_JUSTIFYNONE             94
121 #define IDM_TRISTATEBOLD            95
122 #define IDM_TRISTATEITALIC          96
123 #define IDM_TRISTATEUNDERLINE       97
124
125 #define IDM_OPEN                          2000
126 #define IDM_NEW                           2001
127 #define IDM_SAVECOPYAS                    2002
128 #define IDM_PRINTPREVIEW                  2003
129 #define IDM_PAGESETUP                     2004
130 #define IDM_SPELL                         2005
131 #define IDM_PASTESPECIAL                  2006
132 #define IDM_CLEARSELECTION                2007
133 #define IDM_FOLLOW_ANCHOR                 2008
134
135 #define IDM_SHOWPRINT                     2010
136 #define IDM_SHOWPAGESETUP                 2011
137
138 #define IDM_INSINPUTIMAGE                 2114
139 #define IDM_INSINPUTBUTTON                2115
140 #define IDM_INSINPUTRESET                 2116
141 #define IDM_INSINPUTSUBMIT                2117
142 #define IDM_INSINPUTUPLOAD                2118
143 #define IDM_INSFIELDSET                   2119
144 #define IDM_PASTEINSERT                   2120
145 #define IDM_REPLACE                       2121
146 #define IDM_EDITSOURCE                    2122
147 #define IDM_BOOKMARK                      2123
148 #define IDM_HYPERLINK                     2124
149 #define IDM_UNLINK                        2125
150 #define IDM_BROWSEMODE                    2126
151 #define IDM_EDITMODE                      2127
152 #define IDM_UNBOOKMARK                    2128
153
154 #define IDM_TOOLBARS                      2130
155 #define IDM_STATUSBAR                     2131
156 #define IDM_FORMATMARK                    2132
157 #define IDM_TEXTONLY                      2133
158
159 #define IDM_OPTIONS                       2135
160 #define IDM_FOLLOWLINKC                   2136
161 #define IDM_FOLLOWLINKN                   2137
162 #define IDM_STOP                          2138
163 #define IDM_VIEWSOURCE                    2139
164 #define IDM_ZOOMPOPUP                     2140
165 #define IDM_BASELINEFONT1                 2141
166 #define IDM_BASELINEFONT2                 2142
167 #define IDM_BASELINEFONT3                 2143
168 #define IDM_BASELINEFONT4                 2144
169 #define IDM_BASELINEFONT5                 2145
170
171 #define IDM_HORIZONTALLINE                2150
172 #define IDM_LINEBREAKNORMAL               2151
173 #define IDM_LINEBREAKLEFT                 2152
174 #define IDM_LINEBREAKRIGHT                2153
175 #define IDM_LINEBREAKBOTH                 2154
176 #define IDM_NONBREAK                      2155
177 #define IDM_SPECIALCHAR                   2156
178 #define IDM_HTMLSOURCE                    2157
179 #define IDM_IFRAME                        2158
180 #define IDM_HTMLCONTAIN                   2159
181
182 #define IDM_TEXTBOX                       2161
183 #define IDM_TEXTAREA                      2162
184 #define IDM_CHECKBOX                      2163
185 #define IDM_RADIOBUTTON                   2164
186 #define IDM_DROPDOWNBOX                   2165
187 #define IDM_LISTBOX                       2166
188 #define IDM_BUTTON                        2167
189 #define IDM_IMAGE                         2168
190 #define IDM_OBJECT                        2169
191 #define IDM_1D                            2170
192 #define IDM_IMAGEMAP                      2171
193 #define IDM_FILE                          2172
194 #define IDM_COMMENT                       2173
195 #define IDM_SCRIPT                        2174
196 #define IDM_JAVAAPPLET                    2175
197 #define IDM_PLUGIN                        2176
198 #define IDM_PAGEBREAK                     2177
199 #define IDM_HTMLAREA                      2178
200
201 #define IDM_PARAGRAPH                     2180
202 #define IDM_FORM                          2181
203 #define IDM_MARQUEE                       2182
204 #define IDM_LIST                          2183
205 #define IDM_ORDERLIST                     2184
206 #define IDM_UNORDERLIST                   2185
207 #define IDM_INDENT                        2186
208 #define IDM_OUTDENT                       2187
209 #define IDM_PREFORMATTED                  2188
210 #define IDM_ADDRESS                       2189
211 #define IDM_BLINK                         2190
212 #define IDM_DIV                           2191
213
214 #define IDM_TABLEINSERT                   2200
215 #define IDM_RCINSERT                      2201
216 #define IDM_CELLINSERT                    2202
217 #define IDM_CAPTIONINSERT                 2203
218 #define IDM_CELLMERGE                     2204
219 #define IDM_CELLSPLIT                     2205
220 #define IDM_CELLSELECT                    2206
221 #define IDM_ROWSELECT                     2207
222 #define IDM_COLUMNSELECT                  2208
223 #define IDM_TABLESELECT                   2209
224 #define IDM_TABLEPROPERTIES               2210
225 #define IDM_CELLPROPERTIES                2211
226 #define IDM_ROWINSERT                     2212
227 #define IDM_COLUMNINSERT                  2213
228
229 #define IDM_HELP_CONTENT                  2220
230 #define IDM_HELP_ABOUT                    2221
231 #define IDM_HELP_README                   2222
232
233 #define IDM_REMOVEFORMAT                  2230
234 #define IDM_PAGEINFO                      2231
235 #define IDM_TELETYPE                      2232
236 #define IDM_GETBLOCKFMTS                  2233
237 #define IDM_BLOCKFMT                      2234
238 #define IDM_SHOWHIDE_CODE                 2235
239 #define IDM_TABLE                         2236
240 #define IDM_COPYFORMAT                    2237
241 #define IDM_PASTEFORMAT                   2238
242 #define IDM_GOTO                          2239
243 #define IDM_CHANGEFONT                    2240
244 #define IDM_CHANGEFONTSIZE                2241
245
246 #define IDM_CHANGECASE                    2246
247 #define IDM_SUBSCRIPT                     2247
248 #define IDM_SUPERSCRIPT                   2248
249 #define IDM_SHOWSPECIALCHAR               2249
250 #define IDM_CENTERALIGNPARA               2250
251 #define IDM_LEFTALIGNPARA                 2251
252 #define IDM_RIGHTALIGNPARA                2252
253 #define IDM_REMOVEPARAFORMAT              2253
254 #define IDM_APPLYNORMAL                   2254
255 #define IDM_APPLYHEADING1                 2255
256 #define IDM_APPLYHEADING2                 2256
257 #define IDM_APPLYHEADING3                 2257
258
259 #define IDM_DOCPROPERTIES                 2260
260 #define IDM_ADDFAVORITES                  2261
261 #define IDM_COPYSHORTCUT                  2262
262 #define IDM_SAVEBACKGROUND                2263
263 #define IDM_SETWALLPAPER                  2264
264 #define IDM_COPYBACKGROUND                2265
265 #define IDM_CREATESHORTCUT                2266
266 #define IDM_PAGE                          2267
267 #define IDM_SAVETARGET                    2268
268 #define IDM_SHOWPICTURE                   2269
269 #define IDM_SAVEPICTURE                   2270
270 #define IDM_DYNSRCPLAY                    2271
271 #define IDM_DYNSRCSTOP                    2272
272 #define IDM_PRINTTARGET                   2273
273 #define IDM_IMGARTPLAY                    2274
274 #define IDM_IMGARTSTOP                    2275
275 #define IDM_IMGARTREWIND                  2276
276 #define IDM_PRINTQUERYJOBSPENDING         2277
277 #define IDM_SETDESKTOPITEM                2278
278
279 #define IDM_CONTEXTMENU                   2280
280
281 #define IDM_GOBACKWARD                    2282
282 #define IDM_GOFORWARD                     2283
283 #define IDM_PRESTOP                       2284
284
285 #define IDM_MP_MYPICS                     2287
286 #define IDM_MP_EMAILPICTURE               2288
287 #define IDM_MP_PRINTPICTURE               2289
288 #define IDM_CREATELINK                    2290
289 #define IDM_COPYCONTENT                   2291
290 #define IDM_LANGUAGE                      2292
291  
292 #define IDM_GETPRINTTEMPLATE              2295
293 #define IDM_SETPRINTTEMPLATE              2296
294 #define IDM_TEMPLATE_PAGESETUP            2298
295
296 #define IDM_REFRESH                       2300
297 #define IDM_STOPDOWNLOAD                  2301
298 #define IDM_ENABLE_INTERACTION            2302
299
300 #define IDM_LAUNCHDEBUGGER                2310
301 #define IDM_BREAKATNEXT                   2311
302 #define IDM_INSINPUTHIDDEN                2312
303 #define IDM_INSINPUTPASSWORD              2313
304 #define IDM_OVERWRITE                     2314
305 #define IDM_PARSECOMPLETE                 2315
306 #define IDM_HTMLEDITMODE                  2316
307 #define IDM_REGISTRYREFRESH               2317
308 #define IDM_COMPOSESETTINGS               2318
309
310 #define IDM_SHOWMISCTAGS                  2320
311 #define IDM_SHOWALIGNEDSITETAGS           2321
312 #define IDM_SHOWSCRIPTTAGS                2322
313 #define IDM_SHOWSTYLETAGS                 2323
314 #define IDM_SHOWCOMMENTTAGS               2324
315 #define IDM_SHOWAREATAGS                  2325
316 #define IDM_SHOWUNKNOWNTAGS               2326
317 #define IDM_SHOWALLTAGS                   2327
318 #define IDM_SHOWZEROBORDERATDESIGNTIME    2328
319 #define IDM_AUTODETECT                    2329
320 #define IDM_SCRIPTDEBUGGER                2330
321 #define IDM_GETBYTESDOWNLOADED            2331
322 #define IDM_NOACTIVATENORMALOLECONTROLS   2332
323 #define IDM_NOACTIVATEDESIGNTIMECONTROLS  2333
324 #define IDM_NOACTIVATEJAVAAPPLETS         2334
325 #define IDM_NOFIXUPURLSONPASTE            2335
326 #define IDM_EMPTYGLYPHTABLE               2336
327 #define IDM_ADDTOGLYPHTABLE               2337
328 #define IDM_REMOVEFROMGLYPHTABLE          2338
329 #define IDM_REPLACEGLYPHCONTENTS          2339
330 #define IDM_SHOWWBRTAGS                   2340
331 #define IDM_PERSISTSTREAMSYNC             2341
332 #define IDM_SETDIRTY                      2342
333 #define IDM_RUNURLSCRIPT                  2343
334
335 #ifdef IE5_ZOOM
336 #define IDM_ZOOMRATIO                     2344
337 #define IDM_GETZOOMNUMERATOR              2345
338 #define IDM_GETZOOMDENOMINATOR            2346
339 #endif
340
341 #define IDM_DIRLTR                        2350
342 #define IDM_DIRRTL                        2351
343 #define IDM_BLOCKDIRLTR                   2352
344 #define IDM_BLOCKDIRRTL                   2353
345 #define IDM_INLINEDIRLTR                  2354
346 #define IDM_INLINEDIRRTL                  2355
347 #define IDM_ISTRUSTEDDLG                  2356
348 #define IDM_INSERTSPAN                    2357
349 #define IDM_LOCALIZEEDITOR                2358
350
351 #define IDM_SAVEPRETRANSFORMSOURCE        2370
352 #define IDM_VIEWPRETRANSFORMSOURCE        2371
353
354 #define IDM_SCROLL_HERE                   2380
355 #define IDM_SCROLL_TOP                    2381
356 #define IDM_SCROLL_BOTTOM                 2382
357 #define IDM_SCROLL_PAGEUP                 2383
358 #define IDM_SCROLL_PAGEDOWN               2384
359 #define IDM_SCROLL_UP                     2385
360 #define IDM_SCROLL_DOWN                   2386
361 #define IDM_SCROLL_LEFTEDGE               2387
362 #define IDM_SCROLL_RIGHTEDGE              2388
363 #define IDM_SCROLL_PAGELEFT               2389
364 #define IDM_SCROLL_PAGERIGHT              2390
365 #define IDM_SCROLL_LEFT                   2391
366 #define IDM_SCROLL_RIGHT                  2392
367 #define IDM_MULTIPLESELECTION             2393
368 #define IDM_2D_POSITION                   2394
369 #define IDM_2D_ELEMENT                    2395
370 #define IDM_1D_ELEMENT                    2396
371 #define IDM_ABSOLUTE_POSITION             2397
372 #define IDM_LIVERESIZE                    2398
373 #define IDM_ATOMICSELECTION               2399
374 #define IDM_AUTOURLDETECT_MODE            2400
375 #define IDM_IE50_PASTE                    2401
376 #define IDM_IE50_PASTE_MODE               2402
377 #define IDM_GETIPRINT                     2403
378 #define IDM_DISABLE_EDITFOCUS_UI          2404
379 #define IDM_RESPECTVISIBILITY_INDESIGN    2405
380 #define IDM_CSSEDITING_LEVEL              2406
381 #define IDM_UI_OUTDENT                    2407
382 #define IDM_UPDATEPAGESTATUS              2408
383 #define IDM_IME_ENABLE_RECONVERSION       2409
384 #define IDM_KEEPSELECTION                 2410
385 #define IDM_UNLOADDOCUMENT                2411
386
387 #define IDM_OVERRIDE_CURSOR               2420
388
389 #define IDM_PEERHITTESTSAMEINEDIT         2423
390
391 #define IDM_TRUSTAPPCACHE                 2425
392
393 #define IDM_BACKGROUNDIMAGECACHE          2430
394
395 #define IDM_MIMECSET__FIRST_  3609
396 #define IDM_MIMECSET__LAST__  3699
397
398 #define IDM_MENUEXT_FIRST__  3700
399 #define IDM_MENUEXT_LAST__   3732
400 #define IDM_MENUEXT_COUNT    3733
401
402 #define IDM_DEFAULTBLOCK  6046
403
404 #define IDM_NEW_TOPLEVELWINDOW  7050
405
406 #define IDM_PRESERVEUNDOALWAYS    6049
407 #define IDM_PERSISTDEFAULTVALUES  7100
408 #define IDM_PROTECTMETATAGS       7101
409
410 #define IDM_GETFRAMEZONE  6037
411
412 #define IDM_FIRE_PRINTTEMPLATEUP    15000
413 #define IDM_FIRE_PRINTTEMPLATEDOWN  15001
414 #define IDM_SETPRINTHANDLES         15002
415
416 #define CMD_ZOOM_PAGEWIDTH  -1
417 #define CMD_ZOOM_ONEPAGE    -2
418 #define CMD_ZOOM_TWOPAGES   -3
419 #define CMD_ZOOM_SELECTION  -4
420 #define CMD_ZOOM_FIT -5
421
422 #define IDM_CONTEXT  1
423 #define IDM_HWND     2
424
425 #endif