Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_svtools / htmltokn.h
blobe1972857ea184db1ffcd347a21bdfa39e3b40d8f
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: htmltokn.h,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _HTMLTOKN_H
32 #define _HTMLTOKN_H
34 #ifndef INCLUDED_SVTDLLAPI_H
35 #include "bf_svtools/svtdllapi.h"
36 #endif
38 #ifndef _SAL_TYPES_H_
39 #include <sal/types.h>
40 #endif
41 #ifndef _SOLAR_h
42 #include <tools/solar.h>
43 #endif
45 class String;
47 namespace binfilter
50 // suche das Char zu dem CharNamen
51 sal_Unicode GetHTMLCharName( const String& rName );
53 // suche die TokenID zu dem Token
54 int GetHTMLToken( const String& rName );
56 // beginnen immer ab 256, groesser als ein char
57 const int HTML_TOKEN_START = 0x100;
58 const int HTML_TOKEN_ONOFF = 0x200;
59 const int HTML_TOKEN_MICROSOFT = 0x1000;
61 enum HTML_TOKEN_IDS
63 HTML_TEXTTOKEN = HTML_TOKEN_START,
64 HTML_SINGLECHAR,
65 HTML_NEWPARA,
66 HTML_TABCHAR,
67 HTML_RAWDATA,
68 HTML_LINEFEEDCHAR,
70 // diese werden nur eingeschaltet
71 HTML_AREA, // Netscape 2.0
72 HTML_BASE, // HTML 3.0
73 HTML_COMMENT,
74 HTML_DOCTYPE,
75 HTML_EMBED, // Netscape 2.0 </EMBED> ignorieren
76 HTML_FIGUREOVERLAY, // HTML 3.0
77 HTML_HORZRULE, // </HR> ignorieren
78 HTML_HORZTAB, // HTML 3.0
79 HTML_IMAGE, // </IMG> ignorieren
80 HTML_INPUT, // </INPUT> ignorieren
81 HTML_ISINDEX, // HTML 3.0
82 HTML_LINEBREAK, // </BR> -> <BR>
83 HTML_LINK, // HTML 3.0
84 HTML_META, // HTML 3.0 </META> ignorieren
85 HTML_NEXTID, // HTML 3.0
86 HTML_OF, // HTML 3.0
87 HTML_OPTION, // </OPTION> ignorieren
88 HTML_PARAM, // HotJava
89 HTML_RANGE, // HTML 3.0
90 HTML_SPACER, // Netscape 3.0b5 // </SPACER> ignorieren
91 HTML_WBR, // Netscape
93 // Tokens, die ueber HTML-Charakter erkannt werden
94 HTML_NONBREAKSPACE,
95 HTML_SOFTHYPH,
97 // diese werden wieder abgeschaltet,
98 // der off-Wert liegt immer dahinter (+1) !!
99 HTML_ABBREVIATION_ON = HTML_TOKEN_ONOFF, // HTML 3.0
100 HTML_ABBREVIATION_OFF, // HTML 3.0
101 HTML_ABOVE_ON, // HTML 3.0
102 HTML_ABOVE_OFF, // HTML 3.0
103 HTML_ACRONYM_ON, // HTML 3.0
104 HTML_ACRONYM_OFF, // HTML 3.0
105 HTML_ADDRESS_ON,
106 HTML_ADDRESS_OFF,
107 HTML_ANCHOR_ON,
108 HTML_ANCHOR_OFF,
109 HTML_APPLET_ON, // HotJava
110 HTML_APPLET_OFF, // HotJava
111 HTML_ARRAY_ON, // HTML 3.0
112 HTML_ARRAY_OFF, // HTML 3.0
113 HTML_AUTHOR_ON, // HTML 3.0
114 HTML_AUTHOR_OFF, // HTML 3.0
115 HTML_BANNER_ON, // HTML 3.0
116 HTML_BANNER_OFF, // HTML 3.0
117 HTML_BAR_ON, // HTML 3.0
118 HTML_BAR_OFF, // HTML 3.0
119 HTML_BASEFONT_ON, // Netscape
120 HTML_BASEFONT_OFF, // Netscape
121 HTML_BELOW_ON, // HTML 3.0
122 HTML_BELOW_OFF, // HTML 3.0
123 HTML_BIGPRINT_ON, // HTML 3.0
124 HTML_BIGPRINT_OFF, // HTML 3.0
125 HTML_BLINK_ON, // Netscape
126 HTML_BLINK_OFF, // Netscape
127 HTML_BLOCKQUOTE30_ON, // HTML 3.0
128 HTML_BLOCKQUOTE30_OFF, // HTML 3.0
129 HTML_BLOCKQUOTE_ON,
130 HTML_BLOCKQUOTE_OFF,
131 HTML_BODY_ON,
132 HTML_BODY_OFF,
133 HTML_BOLDTEXT_ON, // HTML 3.0
134 HTML_BOLDTEXT_OFF, // HTML 3.0
135 HTML_BOLD_ON,
136 HTML_BOLD_OFF,
137 HTML_BOX_ON, // HTML 3.0
138 HTML_BOX_OFF, // HTML 3.0
139 HTML_CAPTION_ON, // HTML 3.0
140 HTML_CAPTION_OFF, // HTML 3.0
141 HTML_CENTER_ON, // Netscape
142 HTML_CENTER_OFF, // Netscape
143 HTML_CITIATION_ON,
144 HTML_CITIATION_OFF,
145 HTML_CODE_ON,
146 HTML_CODE_OFF,
147 HTML_COL_ON, // HTML3 Table Model Draft
148 HTML_COL_OFF, // HTML3 Table Model Draft
149 HTML_COLGROUP_ON, // HTML3 Table Model Draft
150 HTML_COLGROUP_OFF, // HTML3 Table Model Draft
151 HTML_CREDIT_ON, // HTML 3.0
152 HTML_CREDIT_OFF, // HTML 3.0
153 HTML_DD_ON,
154 HTML_DD_OFF,
155 HTML_DEFLIST_ON,
156 HTML_DEFLIST_OFF,
157 HTML_DELETEDTEXT_ON, // HTML 3.0
158 HTML_DELETEDTEXT_OFF, // HTML 3.0
159 HTML_DIRLIST_ON,
160 HTML_DIRLIST_OFF,
161 HTML_DIVISION_ON, // HTML 3.0
162 HTML_DIVISION_OFF, // HTML 3.0
163 HTML_DOT_ON, // HTML 3.0
164 HTML_DOT_OFF, // HTML 3.0
165 HTML_DOUBLEDOT_ON, // HTML 3.0
166 HTML_DOUBLEDOT_OFF, // HTML 3.0
167 HTML_DT_ON,
168 HTML_DT_OFF,
169 HTML_EMPHASIS_ON,
170 HTML_EMPHASIS_OFF,
171 HTML_FIGURE_ON, // HTML 3.0
172 HTML_FIGURE_OFF, // HTML 3.0
173 HTML_FONT_ON, // Netscape
174 HTML_FONT_OFF, // Netscape
175 HTML_FOOTNOTE_ON, // HTML 3.0
176 HTML_FOOTNOTE_OFF, // HTML 3.0
177 HTML_FORM_ON,
178 HTML_FORM_OFF,
179 HTML_FRAME_ON, // Netscape 2.0
180 HTML_FRAME_OFF, // Netscape 2.0
181 HTML_FRAMESET_ON, // Netscape 2.0
182 HTML_FRAMESET_OFF, // Netscape 2.0
183 HTML_HAT_ON, // HTML 3.0
184 HTML_HAT_OFF, // HTML 3.0
185 HTML_HEAD1_ON,
186 HTML_HEAD1_OFF,
187 HTML_HEAD2_ON,
188 HTML_HEAD2_OFF,
189 HTML_HEAD3_ON,
190 HTML_HEAD3_OFF,
191 HTML_HEAD4_ON,
192 HTML_HEAD4_OFF,
193 HTML_HEAD5_ON,
194 HTML_HEAD5_OFF,
195 HTML_HEAD6_ON,
196 HTML_HEAD6_OFF,
197 HTML_HEAD_ON,
198 HTML_HEAD_OFF,
199 HTML_HTML_ON,
200 HTML_HTML_OFF,
201 HTML_IFRAME_ON, // IE 3.0b2
202 HTML_IFRAME_OFF, // IE 3.0b2
203 HTML_ILAYER_ON,
204 HTML_ILAYER_OFF,
205 HTML_INSERTEDTEXT_ON, // HTML 3.0
206 HTML_INSERTEDTEXT_OFF, // HTML 3.0
207 HTML_ITALIC_ON,
208 HTML_ITALIC_OFF,
209 HTML_ITEM_ON, // HTML 3.0
210 HTML_ITEM_OFF, // HTML 3.0
211 HTML_KEYBOARD_ON,
212 HTML_KEYBOARD_OFF,
213 HTML_LAYER_ON,
214 HTML_LAYER_OFF,
215 HTML_LANGUAGE_ON, // HTML 3.0
216 HTML_LANGUAGE_OFF, // HTML 3.0
217 HTML_LISTHEADER_ON, // HTML 3.0
218 HTML_LISTHEADER_OFF, // HTML 3.0
219 HTML_LI_ON,
220 HTML_LI_OFF,
221 HTML_MAP_ON, // Netscape 2.0
222 HTML_MAP_OFF, // Netscape 2.0
223 HTML_MATH_ON, // HTML 3.0
224 HTML_MATH_OFF, // HTML 3.0
225 HTML_MENULIST_ON,
226 HTML_MENULIST_OFF,
227 HTML_MULTICOL_ON, // Netscape 3.0b5
228 HTML_MULTICOL_OFF, // Netscape 3.0b5
229 HTML_NOBR_ON, // Netscape
230 HTML_NOBR_OFF, // Netscape
231 HTML_NOEMBED_ON, // Netscape 2.0
232 HTML_NOEMBED_OFF, // Netscape 2.0
233 HTML_NOFRAMES_ON, // Netscape 2.0
234 HTML_NOFRAMES_OFF, // Netscape 2.0
235 HTML_NOSCRIPT_ON, // Netscape 2.0
236 HTML_NOSCRIPT_OFF, // Netscape 3.0
237 HTML_NOTE_ON, // HTML 3.0
238 HTML_NOTE_OFF, // HTML 3.0
239 HTML_OBJECT_ON, // HotJava
240 HTML_OBJECT_OFF, // HotJava
241 HTML_ORDERLIST_ON,
242 HTML_ORDERLIST_OFF,
243 HTML_PARABREAK_ON,
244 HTML_PARABREAK_OFF,
245 HTML_PERSON_ON, // HTML 3.0
246 HTML_PERSON_OFF, // HTML 3.0
247 HTML_PLAINTEXT_ON, // HTML 3.0
248 HTML_PLAINTEXT_OFF, // HTML 3.0
249 HTML_PREFORMTXT_ON,
250 HTML_PREFORMTXT_OFF,
251 HTML_ROOT_ON, // HTML 3.0
252 HTML_ROOT_OFF, // HTML 3.0
253 HTML_ROW_ON, // HTML 3.0
254 HTML_ROW_OFF, // HTML 3.0
255 HTML_SAMPLE_ON,
256 HTML_SAMPLE_OFF,
257 HTML_SCRIPT_ON, // HTML 3.2
258 HTML_SCRIPT_OFF, // HTML 3.2
259 HTML_SELECT_ON,
260 HTML_SELECT_OFF,
261 HTML_SHORTQUOTE_ON, // HTML 3.0
262 HTML_SHORTQUOTE_OFF, // HTML 3.0
263 HTML_SMALLPRINT_ON, // HTML 3.0
264 HTML_SMALLPRINT_OFF, // HTML 3.0
265 HTML_SPAN_ON, // Style Sheets
266 HTML_SPAN_OFF, // Style Sheets
267 HTML_SQUAREROOT_ON, // HTML 3.0
268 HTML_SQUAREROOT_OFF, // HTML 3.0
269 HTML_STRIKETHROUGH_ON, // HTML 3.0
270 HTML_STRIKETHROUGH_OFF, // HTML 3.0
271 HTML_STRONG_ON,
272 HTML_STRONG_OFF,
273 HTML_STYLE_ON, // HTML 3.0
274 HTML_STYLE_OFF, // HTML 3.0
275 HTML_SUBSCRIPT_ON, // HTML 3.0
276 HTML_SUBSCRIPT_OFF, // HTML 3.0
277 HTML_SUPERSCRIPT_ON, // HTML 3.0
278 HTML_SUPERSCRIPT_OFF, // HTML 3.0
279 HTML_TABLE_ON, // HTML 3.0
280 HTML_TABLE_OFF, // HTML 3.0
281 HTML_TABLEDATA_ON, // HTML 3.0
282 HTML_TABLEDATA_OFF, // HTML 3.0
283 HTML_TABLEHEADER_ON, // HTML 3.0
284 HTML_TABLEHEADER_OFF, // HTML 3.0
285 HTML_TABLEROW_ON, // HTML 3.0
286 HTML_TABLEROW_OFF, // HTML 3.0
287 HTML_TBODY_ON, // HTML3 Table Model Draft
288 HTML_TBODY_OFF, // HTML3 Table Model Draft
289 HTML_TELETYPE_ON,
290 HTML_TELETYPE_OFF,
291 HTML_TEXTAREA_ON,
292 HTML_TEXTAREA_OFF,
293 HTML_TEXTFLOW_ON, // HTML 3.2
294 HTML_TEXTFLOW_OFF, // HTML 3.2
295 HTML_TEXT_ON, // HTML 3.0
296 HTML_TEXT_OFF, // HTML 3.0
297 HTML_TFOOT_ON, // HTML3 Table Model Draft
298 HTML_TFOOT_OFF, // HTML3 Table Model Draft
299 HTML_THEAD_ON, // HTML3 Table Model Draft
300 HTML_THEAD_OFF, // HTML3 Table Model Draft
301 HTML_TILDE_ON, // HTML 3.0
302 HTML_TILDE_OFF, // HTML 3.0
303 HTML_TITLE_ON,
304 HTML_TITLE_OFF,
305 HTML_UNDERLINE_ON,
306 HTML_UNDERLINE_OFF,
307 HTML_UNORDERLIST_ON,
308 HTML_UNORDERLIST_OFF,
309 HTML_VARIABLE_ON,
310 HTML_VARIABLE_OFF,
311 HTML_VECTOR_ON, // HTML 3.0
312 HTML_VECTOR_OFF, // HTML 3.0
314 // obsolete features
315 HTML_XMP_ON,
316 HTML_XMP_OFF,
317 HTML_LISTING_ON,
318 HTML_LISTING_OFF,
320 // proposed features
321 HTML_DEFINSTANCE_ON,
322 HTML_DEFINSTANCE_OFF,
323 HTML_STRIKE_ON,
324 HTML_STRIKE_OFF,
326 HTML_UNKNOWNCONTROL_ON,
327 HTML_UNKNOWNCONTROL_OFF,
329 HTML_BGSOUND = HTML_TOKEN_MICROSOFT|HTML_TOKEN_START,
331 HTML_COMMENT2_ON = HTML_TOKEN_MICROSOFT|HTML_TOKEN_ONOFF, // HTML 2.0 ?
332 HTML_COMMENT2_OFF, // HTML 2.0 ?
333 HTML_MARQUEE_ON,
334 HTML_MARQUEE_OFF,
335 HTML_PLAINTEXT2_ON, // HTML 2.0 ?
336 HTML_PLAINTEXT2_OFF, // HTML 2.0 ?
338 HTML_SDFIELD_ON,
339 HTML_SDFIELD_OFF
342 // HTML Attribut-Token (=Optionen)
344 // beginnen immer ab 256, groesser als ein char
345 const int HTML_OPTION_START = 0x100;
347 enum HTML_OPTION_IDS
349 HTML_OPTION_BOOL_START = HTML_OPTION_START,
351 // Attribute ohne Wert
352 HTML_O_BOX = HTML_OPTION_BOOL_START,
353 HTML_O_CHECKED,
354 HTML_O_COMPACT,
355 HTML_O_CONTINUE,
356 HTML_O_CONTROLS, // IExplorer 2.0
357 HTML_O_DECLARE, // IExplorer 3.0b5
358 HTML_O_DISABLED,
359 HTML_O_FOLDED, // Netscape internal
360 HTML_O_ISMAP,
361 HTML_O_MAYSCRIPT, // Netcape 3.0
362 HTML_O_MULTIPLE,
363 HTML_O_NOFLOW,
364 HTML_O_NOHREF, // Netscape
365 HTML_O_NORESIZE, // Netscape 2.0
366 HTML_O_NOSHADE, // Netscape
367 HTML_O_NOWRAP,
368 HTML_O_PLAIN,
369 HTML_O_SDFIXED,
370 HTML_O_SELECTED,
371 HTML_O_SHAPES, // IExplorer 3.0b5
372 HTML_OPTION_BOOL_END,
374 // Attribute mit einem String als Wert
375 HTML_OPTION_STRING_START = HTML_OPTION_BOOL_END,
376 HTML_O_ABOVE = HTML_OPTION_STRING_START,
377 HTML_O_ACCEPT,
378 HTML_O_ACCESSKEY,
379 HTML_O_ADD_DATE, // Netscape internal
380 HTML_O_ALT,
381 HTML_O_AXES,
382 HTML_O_AXIS,
383 HTML_O_BELOW,
384 HTML_O_CHAR, // HTML3 Table Model Draft
385 HTML_O_CLASS,
386 HTML_O_CLIP,
387 HTML_O_CODE, // HotJava
388 HTML_O_CODETYPE,
389 HTML_O_COLSPEC,
390 HTML_O_CONTENT,
391 HTML_O_COORDS, // Netscape 2.0
392 HTML_O_DP,
393 HTML_O_ENCTYPE,
394 HTML_O_ERROR,
395 HTML_O_FACE, // IExplorer 2.0
396 HTML_O_FRAMEBORDER, // IExplorer 3.0
397 HTML_O_HTTPEQUIV,
398 HTML_O_LANGUAGE, // JavaScript
399 HTML_O_LAST_MODIFIED, // Netscape internal
400 HTML_O_LAST_VISIT, // Netscape internal
401 HTML_O_MD,
402 HTML_O_N,
403 HTML_O_NAME,
404 HTML_O_NOTATION,
405 HTML_O_PROMPT,
406 HTML_O_SHAPE,
407 HTML_O_STANDBY,
408 HTML_O_STYLE, // Style Sheets
409 HTML_O_TITLE,
410 HTML_O_VALUE,
411 HTML_O_SDVAL, // StarDiv NumberValue
412 HTML_O_SDNUM, // StarDiv NumberFormat
413 HTML_O_SDLIBRARY,
414 HTML_O_SDMODULE,
415 HTML_OPTION_STRING_END,
417 // Attribute mit einem SGML-Identifier als Wert
418 HTML_OPTION_SGMLID_START = HTML_OPTION_STRING_END,
419 HTML_O_FROM = HTML_OPTION_SGMLID_START,
420 HTML_O_ID,
421 HTML_O_TARGET, // Netscape 2.0
422 HTML_O_TO,
423 HTML_O_UNTIL,
424 HTML_OPTION_SGMLID_END,
426 // Attribute mit einem URI als Wert
427 HTML_OPTION_URI_START = HTML_OPTION_SGMLID_END,
428 HTML_O_ACTION = HTML_OPTION_URI_START,
429 HTML_O_ARCHIVE,
430 HTML_O_BACKGROUND,
431 HTML_O_CLASSID,
432 HTML_O_CODEBASE, // HotJava
433 HTML_O_DATA,
434 HTML_O_DYNSRC, // IExplorer 3.0
435 HTML_O_DYNSYNC, // IExplorer 2.0
436 HTML_O_IMAGEMAP,
437 HTML_O_HREF,
438 HTML_O_LOWSRC, // Netscape 3.0
439 HTML_O_SCRIPT,
440 HTML_O_SRC,
441 HTML_O_USEMAP, // Netscape 2.0
442 HTML_OPTION_URI_END,
444 // Attribute mit Entity-Namen als Wert
445 HTML_OPTION_ENTITY_START = HTML_OPTION_URI_END,
446 HTML_O_DINGBAT = HTML_OPTION_ENTITY_START,
447 HTML_O_SYM,
448 HTML_OPTION_ENTITY_END,
450 // Attribute mit einer Farbe als Wert (alle Netscape)
451 HTML_OPTION_COLOR_START = HTML_OPTION_ENTITY_END,
452 HTML_O_ALINK = HTML_OPTION_COLOR_START,
453 HTML_O_BGCOLOR,
454 HTML_O_BORDERCOLOR, // IExplorer 2.0
455 HTML_O_BORDERCOLORLIGHT, // IExplorer 2.0
456 HTML_O_BORDERCOLORDARK, // IExplorer 2.0
457 HTML_O_COLOR,
458 HTML_O_LINK,
459 HTML_O_TEXT,
460 HTML_O_VLINK,
461 HTML_OPTION_COLOR_END,
463 // Attribute mit einem numerischen Wert
464 HTML_OPTION_NUMBER_START = HTML_OPTION_COLOR_END,
465 HTML_O_BORDER = HTML_OPTION_NUMBER_START,
466 HTML_O_CELLSPACING, // HTML3 Table Model Draft
467 HTML_O_CELLPADDING, // HTML3 Table Model Draft
468 HTML_O_CHAROFF, // HTML3 Table Model Draft
469 HTML_O_COLSPAN,
470 HTML_O_FRAMESPACING, // IExplorer 3.0
471 HTML_O_GUTTER, // Netscape 3.0b5
472 HTML_O_INDENT,
473 HTML_O_HEIGHT,
474 HTML_O_HSPACE, // Netscape
475 HTML_O_LEFT,
476 HTML_O_LEFTMARGIN, // IExplorer 2.0
477 HTML_O_LOOP, // IExplorer 2.0
478 HTML_O_MARGINWIDTH, // Netscape 2.0
479 HTML_O_MARGINHEIGHT, // Netscape 2.0
480 HTML_O_MAX,
481 HTML_O_MAXLENGTH,
482 HTML_O_MIN,
483 HTML_O_PAGEX,
484 HTML_O_PAGEY,
485 HTML_O_POINTSIZE,
486 HTML_O_ROWSPAN,
487 HTML_O_SCROLLAMOUNT, // IExplorer 2.0
488 HTML_O_SCROLLDELAY, // IExplorer 2.0
489 HTML_O_SEQNUM,
490 HTML_O_SKIP,
491 HTML_O_SPAN, // HTML3 Table Model Draft
492 HTML_O_TABINDEX,
493 HTML_O_TOP,
494 HTML_O_TOPMARGIN, // IExplorer 2.0
495 HTML_O_VSPACE, // Netscape
496 HTML_O_WEIGHT,
497 HTML_O_WIDTH,
498 HTML_O_X,
499 HTML_O_Y,
500 HTML_O_ZINDEX,
501 HTML_OPTION_NUMBER_END,
503 // Attribute mit Enum-Werten
504 HTML_OPTION_ENUM_START = HTML_OPTION_NUMBER_END,
505 HTML_O_BEHAVIOR = HTML_OPTION_ENUM_START, // IExplorer 2.0
506 HTML_O_BGPROPERTIES, // IExplorer 2.0
507 HTML_O_CLEAR,
508 HTML_O_DIR,
509 HTML_O_DIRECTION, // IExplorer 2.0
510 HTML_O_FORMAT,
511 HTML_O_FRAME, // HTML3 Table Model Draft
512 HTML_O_LANG,
513 HTML_O_METHOD,
514 HTML_O_PALETTE,
515 HTML_O_REL,
516 HTML_O_REV,
517 HTML_O_RULES, // HTML3 Table Model Draft
518 HTML_O_SCROLLING, // Netscape 2.0
519 HTML_O_SDREADONLY,
520 HTML_O_SUBTYPE,
521 HTML_O_TYPE,
522 HTML_O_VALIGN,
523 HTML_O_VALUETYPE,
524 HTML_O_VISIBILITY,
525 HTML_O_WRAP,
526 HTML_OPTION_ENUM_END,
528 // Attribute mit Script-Code als Wert
529 HTML_OPTION_SCRIPT_START = HTML_OPTION_ENUM_END,
530 HTML_O_ONABORT = HTML_OPTION_SCRIPT_START, // JavaScaript
531 HTML_O_ONBLUR, // JavaScript
532 HTML_O_ONCHANGE, // JavaScript
533 HTML_O_ONCLICK, // JavaScript
534 HTML_O_ONERROR, // JavaScript
535 HTML_O_ONFOCUS, // JavaScript
536 HTML_O_ONLOAD, // JavaScript
537 HTML_O_ONMOUSEOUT, // JavaScript
538 HTML_O_ONMOUSEOVER, // JavaScript
539 HTML_O_ONRESET, // JavaScript
540 HTML_O_ONSELECT, // JavaScript
541 HTML_O_ONSUBMIT, // JavaScript
542 HTML_O_ONUNLOAD, // JavaScript
544 HTML_O_SDONABORT, // StarBasic
545 HTML_O_SDONBLUR, // StarBasic
546 HTML_O_SDONCHANGE, // StarBasic
547 HTML_O_SDONCLICK, // StarBasic
548 HTML_O_SDONERROR, // StarBasic
549 HTML_O_SDONFOCUS, // StarBasic
550 HTML_O_SDONLOAD, // StarBasic
551 HTML_O_SDONMOUSEOUT, // StarBasic
552 HTML_O_SDONMOUSEOVER, // StarBasic
553 HTML_O_SDONRESET, // StarBasic
554 HTML_O_SDONSELECT, // StarBasic
555 HTML_O_SDONSUBMIT, // StarBasic
556 HTML_O_SDONUNLOAD, // StarBasic
557 HTML_OPTION_SCRIPT_END,
559 // Attribute mit Kontext-abhaengigen Werten
560 HTML_OPTION_CONTEXT_START = HTML_OPTION_SCRIPT_END,
561 HTML_O_ALIGN = HTML_OPTION_CONTEXT_START,
562 HTML_O_COLS, // Netscape 2.0 vs HTML 2.0
563 HTML_O_ROWS, // Netscape 2.0 vs HTML 2.0
564 HTML_O_SIZE,
565 HTML_O_START,
566 HTML_O_UNITS,
567 HTML_OPTION_CONTEXT_END,
569 // eine unbekannte Option
570 HTML_O_UNKNOWN = HTML_OPTION_CONTEXT_END,
571 HTML_OPTION_END
576 #endif // _HTMLTOKN_H