Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
@ Html_NOEMBED
@ Html_SUP
@ Html_H3
@ Html_MARQUEE
@ Html_EndH4
@ Html_FORM
@ Html_U
@ Html_DFN
@ Html_FRAME
@ Html_COMMENT
@ Html_EndTT
@ Html_EndTH
@ Html_EndMENU
@ Html_BODY
@ Html_EM
@ Html_BLOCKQUOTE
@ Html_HR
@ Html_STRIKE
@ Html_EndTABLE
@ Html_I
@ Html_KBD
@ Html_DL
@ Html_EndTEXTAREA
@ Html_TEXTAREA
@ Html_XMP
@ Html_EndNOSCRIPT
@ Html_DT
@ Html_NOBR
@ Html_TD
@ Html_EMBED
@ Html_STYLE
@ Html_CENTER
@ Html_TITLE
@ Html_EndPARAM
@ Html_SCRIPT
@ Html_LI
@ Html_EndBLOCKQUOTE
@ Html_EndSELECT
@ Html_EndSTRIKE
@ Html_EndSUB
@ Html_EndNOEMBED
@ Html_CAPTION
@ Html_EndLISTING
@ Html_AREA
@ Html_META
@ Html_S
@ Html_EndDFN
@ Html_EndADDRESS
@ Html_LINK
@ Html_UL
@ Html_LISTING
@ Html_PARAM
@ Html_TABLE
@ Html_EndUL
@ Html_EndOL
@ Html_NOFRAMES
@ Html_PLAINTEXT
@ Html_EndS
@ Html_EndDIR
@ Html_OPTION
@ Html_EndI
@ Html_H2
@ Html_EndSTRONG
@ Html_EndNOBR
@ Html_APPLET
@ Html_EndSUP
@ Html_EndNOFRAMES
@ Html_TH
@ Html_EndFORM
@ Html_EndFONT
@ Html_EndTD
@ Html_MENU
@ Html_HTML
@ Html_WBR
@ Html_CODE
@ Html_TR
@ Html_EndFRAMESET
@ Html_H6
@ Html_ADDRESS
@ Html_DIV
@ Html_EndB
@ Html_EndVAR
@ Html_EndDT
@ Html_EndH3
@ Html_SAMP
@ Html_SELECT
@ Html_H5
@ Html_H1
@ Html_EndDIV
@ Html_EndFRAME
@ Html_VAR
@ Html_EndBASEFONT
@ Html_OL
@ Html_A
@ Html_P
@ Html_B
@ Html_IMG
@ Html_CITE
@ Html_EndAPPLET
@ Html_EndDL
@ Html_EndCAPTION
@ Html_BIG
@ Html_SUB
@ Html_EndKBD
@ Html_FRAMESET
@ Html_EndCODE
@ Html_NOSCRIPT
@ Html_EndCITE
@ Html_DIR
@ Html_EndSMALL
@ Html_H4
@ Html_EndH1
@ Html_EndH2
@ Html_EndH5
@ Html_STRONG
@ Html_EndLI
@ Html_BASE
@ Html_FONT
@ Html_DD
@ Html_EndBIG
@ Html_BGSOUND
@ Html_ISINDEX
@ Html_EndXMP
@ Html_EndDD
@ Html_BR
@ Html_EndHTML
@ Html_EndP
@ Html_EndH6
@ Html_IFRAME
@ Html_EndOPTION
@ Html_EndA
@ Html_EndPRE
@ Html_EndTITLE
@ Html_PRE
@ Html_TT
@ Html_INPUT
@ Html_EndMAP
@ Html_EndMARQUEE
@ Html_EndCOMMENT
@ Html_EndSAMP
@ Html_MAP
@ Html_SMALL
@ Html_EndCENTER
@ Html_EndU
@ Html_BASEFONT
@ Html_EndTR
@ Html_EndEM
@ Html_NEXTID
#define O_HtmlInput
Definition TGHtml.h:858
#define O_HtmlHr
Definition TGHtml.h:860
#define O_HtmlTable
Definition TGHtml.h:853
#define O_HtmlMarkupElement
Definition TGHtml.h:851
#define O_HtmlImageMarkup
Definition TGHtml.h:857
#define O_HtmlAnchor
Definition TGHtml.h:861
#define O_HtmlLi
Definition TGHtml.h:855
#define O_HtmlMapArea
Definition TGHtml.h:863
#define O_HtmlRef
Definition TGHtml.h:854
#define O_HtmlCell
Definition TGHtml.h:852
#define O_HtmlScript
Definition TGHtml.h:862
#define O_HtmlListStart
Definition TGHtml.h:856
#define O_HtmlForm
Definition TGHtml.h:859