Logo ROOT   6.18/05
Reference Guide
TGHtmlTokenMap.cxx
Go to the documentation of this file.
1// $Id$
2// Author: Valeriy Onuchin 03/05/2007
3
4/**************************************************************************
5
6 HTML widget for xclass. Based on tkhtml 1.28
7 Copyright (C) 1997-2000 D. Richard Hipp <drh@acm.org>
8 Copyright (C) 2002-2003 Hector Peraza.
9
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Library General Public
12 License as published by the Free Software Foundation; either
13 version 2 of the License, or (at your option) any later version.
14
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Library General Public License for more details.
19
20 You should have received a copy of the GNU Library General Public
21 License along with this library; if not, write to the Free
22 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23
24**************************************************************************/
25
26#include "TGHtml.h"
27
28
29// NOTE: this list was generated automatically. If you make any
30// modifications to it, you'll have to modify also the TGHtmlTokens.h
31// file accordingly.
32
34 { "a", Html_A, O_HtmlAnchor, 0 },
35 { "/a", Html_EndA, O_HtmlRef, 0 },
36 { "address", Html_ADDRESS, O_HtmlMarkupElement, 0 },
37 { "/address", Html_EndADDRESS, O_HtmlMarkupElement, 0 },
38 { "applet", Html_APPLET, O_HtmlInput, 0 },
39 { "/applet", Html_EndAPPLET, O_HtmlMarkupElement, 0 },
40 { "area", Html_AREA, O_HtmlMapArea, 0 },
41 { "b", Html_B, O_HtmlMarkupElement, 0 },
42 { "/b", Html_EndB, O_HtmlMarkupElement, 0 },
43 { "base", Html_BASE, O_HtmlMarkupElement, 0 },
44 { "basefont", Html_BASEFONT, O_HtmlMarkupElement, 0 },
45 { "/basefont", Html_EndBASEFONT, O_HtmlMarkupElement, 0 },
46 { "bgsound", Html_BGSOUND, O_HtmlMarkupElement, 0 },
47 { "big", Html_BIG, O_HtmlMarkupElement, 0 },
48 { "/big", Html_EndBIG, O_HtmlMarkupElement, 0 },
49 { "blockquote", Html_BLOCKQUOTE, O_HtmlMarkupElement, 0 },
50 { "/blockquote", Html_EndBLOCKQUOTE, O_HtmlMarkupElement, 0 },
51 { "body", Html_BODY, O_HtmlMarkupElement, 0 },
52 { "/body", Html_EndBODY, O_HtmlMarkupElement, 0 },
53 { "br", Html_BR, O_HtmlMarkupElement, 0 },
54 { "caption", Html_CAPTION, O_HtmlMarkupElement, 0 },
55 { "/caption", Html_EndCAPTION, O_HtmlMarkupElement, 0 },
56 { "center", Html_CENTER, O_HtmlMarkupElement, 0 },
57 { "/center", Html_EndCENTER, O_HtmlMarkupElement, 0 },
58 { "cite", Html_CITE, O_HtmlMarkupElement, 0 },
59 { "/cite", Html_EndCITE, O_HtmlMarkupElement, 0 },
60 { "code", Html_CODE, O_HtmlMarkupElement, 0 },
61 { "/code", Html_EndCODE, O_HtmlMarkupElement, 0 },
62 { "comment", Html_COMMENT, O_HtmlMarkupElement, 0 }, // Text!
63 { "/comment", Html_EndCOMMENT, O_HtmlMarkupElement, 0 },
64 { "dd", Html_DD, O_HtmlRef, 0 },
65 { "/dd", Html_EndDD, O_HtmlMarkupElement, 0 },
66 { "dfn", Html_DFN, O_HtmlMarkupElement, 0 },
67 { "/dfn", Html_EndDFN, O_HtmlMarkupElement, 0 },
68 { "dir", Html_DIR, O_HtmlListStart, 0 },
69 { "/dir", Html_EndDIR, O_HtmlRef, 0 },
70 { "div", Html_DIV, O_HtmlMarkupElement, 0 },
71 { "/div", Html_EndDIV, O_HtmlMarkupElement, 0 },
72 { "dl", Html_DL, O_HtmlListStart, 0 },
73 { "/dl", Html_EndDL, O_HtmlRef, 0 },
74 { "dt", Html_DT, O_HtmlRef, 0 },
75 { "/dt", Html_EndDT, O_HtmlMarkupElement, 0 },
76 { "em", Html_EM, O_HtmlMarkupElement, 0 },
77 { "/em", Html_EndEM, O_HtmlMarkupElement, 0 },
78 { "embed", Html_EMBED, O_HtmlInput, 0 },
79 { "font", Html_FONT, O_HtmlMarkupElement, 0 },
80 { "/font", Html_EndFONT, O_HtmlMarkupElement, 0 },
81 { "form", Html_FORM, O_HtmlForm, 0 },
82 { "/form", Html_EndFORM, O_HtmlRef, 0 },
83 { "frame", Html_FRAME, O_HtmlMarkupElement, 0 },
84 { "/frame", Html_EndFRAME, O_HtmlMarkupElement, 0 },
85 { "frameset", Html_FRAMESET, O_HtmlMarkupElement, 0 },
86 { "/frameset", Html_EndFRAMESET, O_HtmlMarkupElement, 0 },
87 { "h1", Html_H1, O_HtmlMarkupElement, 0 },
88 { "/h1", Html_EndH1, O_HtmlMarkupElement, 0 },
89 { "h2", Html_H2, O_HtmlMarkupElement, 0 },
90 { "/h2", Html_EndH2, O_HtmlMarkupElement, 0 },
91 { "h3", Html_H3, O_HtmlMarkupElement, 0 },
92 { "/h3", Html_EndH3, O_HtmlMarkupElement, 0 },
93 { "h4", Html_H4, O_HtmlMarkupElement, 0 },
94 { "/h4", Html_EndH4, O_HtmlMarkupElement, 0 },
95 { "h5", Html_H5, O_HtmlMarkupElement, 0 },
96 { "/h5", Html_EndH5, O_HtmlMarkupElement, 0 },
97 { "h6", Html_H6, O_HtmlMarkupElement, 0 },
98 { "/h6", Html_EndH6, O_HtmlMarkupElement, 0 },
99 { "hr", Html_HR, O_HtmlHr, 0 },
100 { "html", Html_HTML, O_HtmlMarkupElement, 0 },
101 { "/html", Html_EndHTML, O_HtmlMarkupElement, 0 },
102 { "i", Html_I, O_HtmlMarkupElement, 0 },
103 { "/i", Html_EndI, O_HtmlMarkupElement, 0 },
104 { "iframe", Html_IFRAME, O_HtmlMarkupElement, 0 },
105 { "img", Html_IMG, O_HtmlImageMarkup, 0 },
106 { "input", Html_INPUT, O_HtmlInput, 0 },
107 { "isindex", Html_ISINDEX, O_HtmlMarkupElement, 0 },
108 { "kbd", Html_KBD, O_HtmlMarkupElement, 0 },
109 { "/kbd", Html_EndKBD, O_HtmlMarkupElement, 0 },
110 { "li", Html_LI, O_HtmlLi, 0 },
111 { "/li", Html_EndLI, O_HtmlMarkupElement, 0 },
112 { "link", Html_LINK, O_HtmlMarkupElement, 0 },
113 { "listing", Html_LISTING, O_HtmlMarkupElement, 0 },
114 { "/listing", Html_EndLISTING, O_HtmlMarkupElement, 0 },
115 { "map", Html_MAP, O_HtmlMarkupElement, 0 },
116 { "/map", Html_EndMAP, O_HtmlMarkupElement, 0 },
117 { "marquee", Html_MARQUEE, O_HtmlMarkupElement, 0 },
118 { "/marquee", Html_EndMARQUEE, O_HtmlMarkupElement, 0 },
119 { "menu", Html_MENU, O_HtmlListStart, 0 },
120 { "/menu", Html_EndMENU, O_HtmlRef, 0 },
121 { "meta", Html_META, O_HtmlMarkupElement, 0 },
122 { "nextid", Html_NEXTID, O_HtmlMarkupElement, 0 },
123 { "nobr", Html_NOBR, O_HtmlMarkupElement, 0 },
124 { "/nobr", Html_EndNOBR, O_HtmlMarkupElement, 0 },
125 { "noembed", Html_NOEMBED, O_HtmlMarkupElement, 0 },
126 { "/noembed", Html_EndNOEMBED, O_HtmlMarkupElement, 0 },
127 { "noframe", Html_NOFRAMES, O_HtmlMarkupElement, 0 },
128 { "/noframe", Html_EndNOFRAMES, O_HtmlMarkupElement, 0 },
129 { "noscript", Html_NOSCRIPT, O_HtmlMarkupElement, 0 },
130 { "/noscript", Html_EndNOSCRIPT, O_HtmlMarkupElement, 0 },
131 { "ol", Html_OL, O_HtmlListStart, 0 },
132 { "/ol", Html_EndOL, O_HtmlRef, 0 },
133 { "option", Html_OPTION, O_HtmlMarkupElement, 0 },
134 { "/option", Html_EndOPTION, O_HtmlMarkupElement, 0 },
135 { "p", Html_P, O_HtmlMarkupElement, 0 },
136 { "/p", Html_EndP, O_HtmlMarkupElement, 0 },
137 { "param", Html_PARAM, O_HtmlMarkupElement, 0 },
138 { "/param", Html_EndPARAM, O_HtmlMarkupElement, 0 },
139 { "plaintext", Html_PLAINTEXT, O_HtmlMarkupElement, 0 },
140 { "pre", Html_PRE, O_HtmlMarkupElement, 0 },
141 { "/pre", Html_EndPRE, O_HtmlMarkupElement, 0 },
142 { "s", Html_S, O_HtmlMarkupElement, 0 },
143 { "/s", Html_EndS, O_HtmlMarkupElement, 0 },
144 { "samp", Html_SAMP, O_HtmlMarkupElement, 0 },
145 { "/samp", Html_EndSAMP, O_HtmlMarkupElement, 0 },
146 { "script", Html_SCRIPT, O_HtmlScript, 0 },
147 { "select", Html_SELECT, O_HtmlInput, 0 },
148 { "/select", Html_EndSELECT, O_HtmlRef, 0 },
149 { "small", Html_SMALL, O_HtmlMarkupElement, 0 },
150 { "/small", Html_EndSMALL, O_HtmlMarkupElement, 0 },
151 { "strike", Html_STRIKE, O_HtmlMarkupElement, 0 },
152 { "/strike", Html_EndSTRIKE, O_HtmlMarkupElement, 0 },
153 { "strong", Html_STRONG, O_HtmlMarkupElement, 0 },
154 { "/strong", Html_EndSTRONG, O_HtmlMarkupElement, 0 },
155 { "style", Html_STYLE, O_HtmlScript, 0 },
156 { "sub", Html_SUB, O_HtmlMarkupElement, 0 },
157 { "/sub", Html_EndSUB, O_HtmlMarkupElement, 0 },
158 { "sup", Html_SUP, O_HtmlMarkupElement, 0 },
159 { "/sup", Html_EndSUP, O_HtmlMarkupElement, 0 },
160 { "table", Html_TABLE, O_HtmlTable, 0 },
161 { "/table", Html_EndTABLE, O_HtmlRef, 0 },
162 { "td", Html_TD, O_HtmlCell, 0 },
163 { "/td", Html_EndTD, O_HtmlRef, 0 },
164 { "textarea", Html_TEXTAREA, O_HtmlInput, 0 },
165 { "/textarea", Html_EndTEXTAREA, O_HtmlRef, 0 },
166 { "th", Html_TH, O_HtmlCell, 0 },
167 { "/th", Html_EndTH, O_HtmlRef, 0 },
168 { "title", Html_TITLE, O_HtmlMarkupElement, 0 },
169 { "/title", Html_EndTITLE, O_HtmlMarkupElement, 0 },
170 { "tr", Html_TR, O_HtmlRef, 0 },
171 { "/tr", Html_EndTR, O_HtmlRef, 0 },
172 { "tt", Html_TT, O_HtmlMarkupElement, 0 },
173 { "/tt", Html_EndTT, O_HtmlMarkupElement, 0 },
174 { "u", Html_U, O_HtmlMarkupElement, 0 },
175 { "/u", Html_EndU, O_HtmlMarkupElement, 0 },
176 { "ul", Html_UL, O_HtmlListStart, 0 },
177 { "/ul", Html_EndUL, O_HtmlRef, 0 },
178 { "var", Html_VAR, O_HtmlMarkupElement, 0 },
179 { "/var", Html_EndVAR, O_HtmlMarkupElement, 0 },
180 { "wbr", Html_WBR, O_HtmlMarkupElement, 0 },
181 { "xmp", Html_XMP, O_HtmlMarkupElement, 0 },
182 { "/xmp", Html_EndXMP, O_HtmlMarkupElement, 0 },
183 { 0, 0, 0, 0 }
184};
185
186
SHtmlTokenMap_t HtmlMarkupMap[]
@ Html_EndBODY
Definition: TGHtmlTokens.h:64
@ Html_NOEMBED
Definition: TGHtmlTokens.h:137
@ Html_SUP
Definition: TGHtmlTokens.h:170
@ Html_H3
Definition: TGHtmlTokens.h:103
@ Html_MARQUEE
Definition: TGHtmlTokens.h:129
@ Html_EndH4
Definition: TGHtmlTokens.h:106
@ Html_FORM
Definition: TGHtmlTokens.h:93
@ Html_U
Definition: TGHtmlTokens.h:186
@ Html_DFN
Definition: TGHtmlTokens.h:78
@ Html_FRAME
Definition: TGHtmlTokens.h:95
@ Html_COMMENT
Definition: TGHtmlTokens.h:74
@ Html_EndTT
Definition: TGHtmlTokens.h:185
@ Html_EndTH
Definition: TGHtmlTokens.h:179
@ Html_EndMENU
Definition: TGHtmlTokens.h:132
@ Html_BODY
Definition: TGHtmlTokens.h:63
@ Html_EM
Definition: TGHtmlTokens.h:88
@ Html_BLOCKQUOTE
Definition: TGHtmlTokens.h:61
@ Html_HR
Definition: TGHtmlTokens.h:111
@ Html_STRIKE
Definition: TGHtmlTokens.h:163
@ Html_EndTABLE
Definition: TGHtmlTokens.h:173
@ Html_I
Definition: TGHtmlTokens.h:114
@ Html_KBD
Definition: TGHtmlTokens.h:120
@ Html_DL
Definition: TGHtmlTokens.h:84
@ Html_EndTEXTAREA
Definition: TGHtmlTokens.h:177
@ Html_TEXTAREA
Definition: TGHtmlTokens.h:176
@ Html_XMP
Definition: TGHtmlTokens.h:193
@ Html_EndNOSCRIPT
Definition: TGHtmlTokens.h:142
@ Html_DT
Definition: TGHtmlTokens.h:86
@ Html_NOBR
Definition: TGHtmlTokens.h:135
@ Html_TD
Definition: TGHtmlTokens.h:174
@ Html_EMBED
Definition: TGHtmlTokens.h:90
@ Html_STYLE
Definition: TGHtmlTokens.h:167
@ Html_CENTER
Definition: TGHtmlTokens.h:68
@ Html_TITLE
Definition: TGHtmlTokens.h:180
@ Html_EndPARAM
Definition: TGHtmlTokens.h:150
@ Html_SCRIPT
Definition: TGHtmlTokens.h:158
@ Html_LI
Definition: TGHtmlTokens.h:122
@ Html_EndBLOCKQUOTE
Definition: TGHtmlTokens.h:62
@ Html_EndSELECT
Definition: TGHtmlTokens.h:160
@ Html_EndSTRIKE
Definition: TGHtmlTokens.h:164
@ Html_EndSUB
Definition: TGHtmlTokens.h:169
@ Html_EndNOEMBED
Definition: TGHtmlTokens.h:138
@ Html_CAPTION
Definition: TGHtmlTokens.h:66
@ Html_EndLISTING
Definition: TGHtmlTokens.h:126
@ Html_AREA
Definition: TGHtmlTokens.h:52
@ Html_META
Definition: TGHtmlTokens.h:133
@ Html_S
Definition: TGHtmlTokens.h:154
@ Html_EndDFN
Definition: TGHtmlTokens.h:79
@ Html_EndADDRESS
Definition: TGHtmlTokens.h:49
@ Html_LINK
Definition: TGHtmlTokens.h:124
@ Html_UL
Definition: TGHtmlTokens.h:188
@ Html_LISTING
Definition: TGHtmlTokens.h:125
@ Html_PARAM
Definition: TGHtmlTokens.h:149
@ Html_TABLE
Definition: TGHtmlTokens.h:172
@ Html_EndUL
Definition: TGHtmlTokens.h:189
@ Html_EndOL
Definition: TGHtmlTokens.h:144
@ Html_NOFRAMES
Definition: TGHtmlTokens.h:139
@ Html_PLAINTEXT
Definition: TGHtmlTokens.h:151
@ Html_EndS
Definition: TGHtmlTokens.h:155
@ Html_EndDIR
Definition: TGHtmlTokens.h:81
@ Html_OPTION
Definition: TGHtmlTokens.h:145
@ Html_EndI
Definition: TGHtmlTokens.h:115
@ Html_H2
Definition: TGHtmlTokens.h:101
@ Html_EndSTRONG
Definition: TGHtmlTokens.h:166
@ Html_EndNOBR
Definition: TGHtmlTokens.h:136
@ Html_APPLET
Definition: TGHtmlTokens.h:50
@ Html_EndSUP
Definition: TGHtmlTokens.h:171
@ Html_EndNOFRAMES
Definition: TGHtmlTokens.h:140
@ Html_TH
Definition: TGHtmlTokens.h:178
@ Html_EndFORM
Definition: TGHtmlTokens.h:94
@ Html_EndFONT
Definition: TGHtmlTokens.h:92
@ Html_EndTD
Definition: TGHtmlTokens.h:175
@ Html_MENU
Definition: TGHtmlTokens.h:131
@ Html_HTML
Definition: TGHtmlTokens.h:112
@ Html_WBR
Definition: TGHtmlTokens.h:192
@ Html_CODE
Definition: TGHtmlTokens.h:72
@ Html_TR
Definition: TGHtmlTokens.h:182
@ Html_EndFRAMESET
Definition: TGHtmlTokens.h:98
@ Html_H6
Definition: TGHtmlTokens.h:109
@ Html_ADDRESS
Definition: TGHtmlTokens.h:48
@ Html_DIV
Definition: TGHtmlTokens.h:82
@ Html_EndB
Definition: TGHtmlTokens.h:54
@ Html_EndVAR
Definition: TGHtmlTokens.h:191
@ Html_EndDT
Definition: TGHtmlTokens.h:87
@ Html_EndH3
Definition: TGHtmlTokens.h:104
@ Html_SAMP
Definition: TGHtmlTokens.h:156
@ Html_SELECT
Definition: TGHtmlTokens.h:159
@ Html_H5
Definition: TGHtmlTokens.h:107
@ Html_H1
Definition: TGHtmlTokens.h:99
@ Html_EndDIV
Definition: TGHtmlTokens.h:83
@ Html_EndFRAME
Definition: TGHtmlTokens.h:96
@ Html_VAR
Definition: TGHtmlTokens.h:190
@ Html_EndBASEFONT
Definition: TGHtmlTokens.h:57
@ Html_OL
Definition: TGHtmlTokens.h:143
@ Html_A
Definition: TGHtmlTokens.h:46
@ Html_P
Definition: TGHtmlTokens.h:147
@ Html_B
Definition: TGHtmlTokens.h:53
@ Html_IMG
Definition: TGHtmlTokens.h:117
@ Html_CITE
Definition: TGHtmlTokens.h:70
@ Html_EndAPPLET
Definition: TGHtmlTokens.h:51
@ Html_EndDL
Definition: TGHtmlTokens.h:85
@ Html_EndCAPTION
Definition: TGHtmlTokens.h:67
@ Html_BIG
Definition: TGHtmlTokens.h:59
@ Html_SUB
Definition: TGHtmlTokens.h:168
@ Html_EndKBD
Definition: TGHtmlTokens.h:121
@ Html_FRAMESET
Definition: TGHtmlTokens.h:97
@ Html_EndCODE
Definition: TGHtmlTokens.h:73
@ Html_NOSCRIPT
Definition: TGHtmlTokens.h:141
@ Html_EndCITE
Definition: TGHtmlTokens.h:71
@ Html_DIR
Definition: TGHtmlTokens.h:80
@ Html_EndSMALL
Definition: TGHtmlTokens.h:162
@ Html_H4
Definition: TGHtmlTokens.h:105
@ Html_EndH1
Definition: TGHtmlTokens.h:100
@ Html_EndH2
Definition: TGHtmlTokens.h:102
@ Html_EndH5
Definition: TGHtmlTokens.h:108
@ Html_STRONG
Definition: TGHtmlTokens.h:165
@ Html_EndLI
Definition: TGHtmlTokens.h:123
@ Html_BASE
Definition: TGHtmlTokens.h:55
@ Html_FONT
Definition: TGHtmlTokens.h:91
@ Html_DD
Definition: TGHtmlTokens.h:76
@ Html_EndBIG
Definition: TGHtmlTokens.h:60
@ Html_BGSOUND
Definition: TGHtmlTokens.h:58
@ Html_ISINDEX
Definition: TGHtmlTokens.h:119
@ Html_EndXMP
Definition: TGHtmlTokens.h:194
@ Html_EndDD
Definition: TGHtmlTokens.h:77
@ Html_BR
Definition: TGHtmlTokens.h:65
@ Html_EndHTML
Definition: TGHtmlTokens.h:113
@ Html_EndP
Definition: TGHtmlTokens.h:148
@ Html_EndH6
Definition: TGHtmlTokens.h:110
@ Html_IFRAME
Definition: TGHtmlTokens.h:116
@ Html_EndOPTION
Definition: TGHtmlTokens.h:146
@ Html_EndA
Definition: TGHtmlTokens.h:47
@ Html_EndPRE
Definition: TGHtmlTokens.h:153
@ Html_EndTITLE
Definition: TGHtmlTokens.h:181
@ Html_PRE
Definition: TGHtmlTokens.h:152
@ Html_TT
Definition: TGHtmlTokens.h:184
@ Html_INPUT
Definition: TGHtmlTokens.h:118
@ Html_EndMAP
Definition: TGHtmlTokens.h:128
@ Html_EndMARQUEE
Definition: TGHtmlTokens.h:130
@ Html_EndCOMMENT
Definition: TGHtmlTokens.h:75
@ Html_EndSAMP
Definition: TGHtmlTokens.h:157
@ Html_MAP
Definition: TGHtmlTokens.h:127
@ Html_SMALL
Definition: TGHtmlTokens.h:161
@ Html_EndCENTER
Definition: TGHtmlTokens.h:69
@ Html_EndU
Definition: TGHtmlTokens.h:187
@ Html_BASEFONT
Definition: TGHtmlTokens.h:56
@ Html_EndTR
Definition: TGHtmlTokens.h:183
@ Html_EndEM
Definition: TGHtmlTokens.h:89
@ Html_NEXTID
Definition: TGHtmlTokens.h:134
#define O_HtmlInput
Definition: TGHtml.h:857
#define O_HtmlHr
Definition: TGHtml.h:859
#define O_HtmlTable
Definition: TGHtml.h:852
#define O_HtmlMarkupElement
Definition: TGHtml.h:850
#define O_HtmlImageMarkup
Definition: TGHtml.h:856
#define O_HtmlAnchor
Definition: TGHtml.h:860
#define O_HtmlLi
Definition: TGHtml.h:854
#define O_HtmlMapArea
Definition: TGHtml.h:862
#define O_HtmlRef
Definition: TGHtml.h:853
#define O_HtmlCell
Definition: TGHtml.h:851
#define O_HtmlScript
Definition: TGHtml.h:861
#define O_HtmlListStart
Definition: TGHtml.h:855
#define O_HtmlForm
Definition: TGHtml.h:858