Back to index

lightning-sunbird  0.9+nobinonly
nsHTMLEntityList.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is mozilla.org code.
00016  *
00017  * The Initial Developer of the Original Code is
00018  * Netscape Communications Corporation.
00019  * Portions created by the Initial Developer are Copyright (C) 1999
00020  * the Initial Developer. All Rights Reserved.
00021  *
00022  * Contributor(s):
00023  *
00024  * Alternatively, the contents of this file may be used under the terms of
00025  * either of the GNU General Public License Version 2 or later (the "GPL"),
00026  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00027  * in which case the provisions of the GPL or the LGPL are applicable instead
00028  * of those above. If you wish to allow use of your version of this file only
00029  * under the terms of either the GPL or the LGPL, and not to allow others to
00030  * use your version of this file under the terms of the MPL, indicate your
00031  * decision by deleting the provisions above and replace them with the notice
00032  * and other provisions required by the GPL or the LGPL. If you do not delete
00033  * the provisions above, a recipient may use your version of this file under
00034  * the terms of any one of the MPL, the GPL or the LGPL.
00035  *
00036  * ***** END LICENSE BLOCK ***** */
00037 
00038 /******
00039 
00040   This file contains the list of all HTML entities 
00041   See nsHTMLEntities.h for access to the enum values for entities
00042 
00043   It is designed to be used as inline input to nsHTMLEntities.cpp *only*
00044   through the magic of C preprocessing.
00045 
00046   All entires must be enclosed in the macro HTML_ENTITY which will have cruel
00047   and unusual things done to it
00048 
00049   It is recommended (but not strictly necessary) to keep all entries
00050   in alphabetical order
00051 
00052   The first argument to HTML_ENTITY is the string value of the entity
00053   The second argument it HTML_ENTITY is the unicode value of the entity
00054 
00055  ******/
00056 
00057 // ISO 8859-1 entities.
00058 // See the HTML4.0 spec for this list in it's DTD form
00059 HTML_ENTITY(nbsp, 160)
00060 HTML_ENTITY(iexcl, 161)
00061 HTML_ENTITY(cent, 162)
00062 HTML_ENTITY(pound, 163)
00063 HTML_ENTITY(curren, 164)
00064 HTML_ENTITY(yen, 165)
00065 HTML_ENTITY(brvbar, 166)
00066 HTML_ENTITY(sect, 167)
00067 HTML_ENTITY(uml, 168)
00068 HTML_ENTITY(copy, 169)
00069 HTML_ENTITY(ordf, 170)
00070 HTML_ENTITY(laquo, 171)
00071 HTML_ENTITY(not, 172)
00072 HTML_ENTITY(shy, 173)
00073 HTML_ENTITY(reg, 174)
00074 HTML_ENTITY(macr, 175)
00075 HTML_ENTITY(deg, 176)
00076 HTML_ENTITY(plusmn, 177)
00077 HTML_ENTITY(sup2, 178)
00078 HTML_ENTITY(sup3, 179)
00079 HTML_ENTITY(acute, 180)
00080 HTML_ENTITY(micro, 181)
00081 HTML_ENTITY(para, 182)
00082 HTML_ENTITY(middot, 183)
00083 HTML_ENTITY(cedil, 184)
00084 HTML_ENTITY(sup1, 185)
00085 HTML_ENTITY(ordm, 186)
00086 HTML_ENTITY(raquo, 187)
00087 HTML_ENTITY(frac14, 188)
00088 HTML_ENTITY(frac12, 189)
00089 HTML_ENTITY(frac34, 190)
00090 HTML_ENTITY(iquest, 191)
00091 HTML_ENTITY(Agrave, 192)
00092 HTML_ENTITY(Aacute, 193)
00093 HTML_ENTITY(Acirc, 194)
00094 HTML_ENTITY(Atilde, 195)
00095 HTML_ENTITY(Auml, 196)
00096 HTML_ENTITY(Aring, 197)
00097 HTML_ENTITY(AElig, 198)
00098 HTML_ENTITY(Ccedil, 199)
00099 HTML_ENTITY(Egrave, 200)
00100 HTML_ENTITY(Eacute, 201)
00101 HTML_ENTITY(Ecirc, 202)
00102 HTML_ENTITY(Euml, 203)
00103 HTML_ENTITY(Igrave, 204)
00104 HTML_ENTITY(Iacute, 205)
00105 HTML_ENTITY(Icirc, 206)
00106 HTML_ENTITY(Iuml, 207)
00107 HTML_ENTITY(ETH, 208)
00108 HTML_ENTITY(Ntilde, 209)
00109 HTML_ENTITY(Ograve, 210)
00110 HTML_ENTITY(Oacute, 211)
00111 HTML_ENTITY(Ocirc, 212)
00112 HTML_ENTITY(Otilde, 213)
00113 HTML_ENTITY(Ouml, 214)
00114 HTML_ENTITY(times, 215)
00115 HTML_ENTITY(Oslash, 216)
00116 HTML_ENTITY(Ugrave, 217)
00117 HTML_ENTITY(Uacute, 218)
00118 HTML_ENTITY(Ucirc, 219)
00119 HTML_ENTITY(Uuml, 220)
00120 HTML_ENTITY(Yacute, 221)
00121 HTML_ENTITY(THORN, 222)
00122 HTML_ENTITY(szlig, 223)
00123 HTML_ENTITY(agrave, 224)
00124 HTML_ENTITY(aacute, 225)
00125 HTML_ENTITY(acirc, 226)
00126 HTML_ENTITY(atilde, 227)
00127 HTML_ENTITY(auml, 228)
00128 HTML_ENTITY(aring, 229)
00129 HTML_ENTITY(aelig, 230)
00130 HTML_ENTITY(ccedil, 231)
00131 HTML_ENTITY(egrave, 232)
00132 HTML_ENTITY(eacute, 233)
00133 HTML_ENTITY(ecirc, 234)
00134 HTML_ENTITY(euml, 235)
00135 HTML_ENTITY(igrave, 236)
00136 HTML_ENTITY(iacute, 237)
00137 HTML_ENTITY(icirc, 238)
00138 HTML_ENTITY(iuml, 239)
00139 HTML_ENTITY(eth, 240)
00140 HTML_ENTITY(ntilde, 241)
00141 HTML_ENTITY(ograve, 242)
00142 HTML_ENTITY(oacute, 243)
00143 HTML_ENTITY(ocirc, 244)
00144 HTML_ENTITY(otilde, 245)
00145 HTML_ENTITY(ouml, 246)
00146 HTML_ENTITY(divide, 247)
00147 HTML_ENTITY(oslash, 248)
00148 HTML_ENTITY(ugrave, 249)
00149 HTML_ENTITY(uacute, 250)
00150 HTML_ENTITY(ucirc, 251)
00151 HTML_ENTITY(uuml, 252)
00152 HTML_ENTITY(yacute, 253)
00153 HTML_ENTITY(thorn, 254)
00154 HTML_ENTITY(yuml, 255)
00155 
00156 // Symbols, mathematical symbols and Greek letters
00157 // See the HTML4.0 spec for this list in it's DTD form
00158 HTML_ENTITY(fnof, 402)
00159 HTML_ENTITY(Alpha, 913)
00160 HTML_ENTITY(Beta, 914)
00161 HTML_ENTITY(Gamma, 915)
00162 HTML_ENTITY(Delta, 916)
00163 HTML_ENTITY(Epsilon, 917)
00164 HTML_ENTITY(Zeta, 918)
00165 HTML_ENTITY(Eta, 919)
00166 HTML_ENTITY(Theta, 920)
00167 HTML_ENTITY(Iota, 921)
00168 HTML_ENTITY(Kappa, 922)
00169 HTML_ENTITY(Lambda, 923)
00170 HTML_ENTITY(Mu, 924)
00171 HTML_ENTITY(Nu, 925)
00172 HTML_ENTITY(Xi, 926)
00173 HTML_ENTITY(Omicron, 927)
00174 HTML_ENTITY(Pi, 928)
00175 HTML_ENTITY(Rho, 929)
00176 HTML_ENTITY(Sigma, 931)
00177 HTML_ENTITY(Tau, 932)
00178 HTML_ENTITY(Upsilon, 933)
00179 HTML_ENTITY(Phi, 934)
00180 HTML_ENTITY(Chi, 935)
00181 HTML_ENTITY(Psi, 936)
00182 HTML_ENTITY(Omega, 937)
00183 HTML_ENTITY(alpha, 945)
00184 HTML_ENTITY(beta, 946)
00185 HTML_ENTITY(gamma, 947)
00186 HTML_ENTITY(delta, 948)
00187 HTML_ENTITY(epsilon, 949)
00188 HTML_ENTITY(zeta, 950)
00189 HTML_ENTITY(eta, 951)
00190 HTML_ENTITY(theta, 952)
00191 HTML_ENTITY(iota, 953)
00192 HTML_ENTITY(kappa, 954)
00193 HTML_ENTITY(lambda, 955)
00194 HTML_ENTITY(mu, 956)
00195 HTML_ENTITY(nu, 957)
00196 HTML_ENTITY(xi, 958)
00197 HTML_ENTITY(omicron, 959)
00198 HTML_ENTITY(pi, 960)
00199 HTML_ENTITY(rho, 961)
00200 HTML_ENTITY(sigmaf, 962)
00201 HTML_ENTITY(sigma, 963)
00202 HTML_ENTITY(tau, 964)
00203 HTML_ENTITY(upsilon, 965)
00204 HTML_ENTITY(phi, 966)
00205 HTML_ENTITY(chi, 967)
00206 HTML_ENTITY(psi, 968)
00207 HTML_ENTITY(omega, 969)
00208 HTML_ENTITY(thetasym, 977)
00209 HTML_ENTITY(upsih, 978)
00210 HTML_ENTITY(piv, 982)
00211 HTML_ENTITY(bull, 8226)
00212 HTML_ENTITY(hellip, 8230)
00213 HTML_ENTITY(prime, 8242)
00214 HTML_ENTITY(Prime, 8243)
00215 HTML_ENTITY(oline, 8254)
00216 HTML_ENTITY(frasl, 8260)
00217 HTML_ENTITY(weierp, 8472)
00218 HTML_ENTITY(image, 8465)
00219 HTML_ENTITY(real, 8476)
00220 HTML_ENTITY(trade, 8482)
00221 HTML_ENTITY(alefsym, 8501)
00222 HTML_ENTITY(larr, 8592)
00223 HTML_ENTITY(uarr, 8593)
00224 HTML_ENTITY(rarr, 8594)
00225 HTML_ENTITY(darr, 8595)
00226 HTML_ENTITY(harr, 8596)
00227 HTML_ENTITY(crarr, 8629)
00228 HTML_ENTITY(lArr, 8656)
00229 HTML_ENTITY(uArr, 8657)
00230 HTML_ENTITY(rArr, 8658)
00231 HTML_ENTITY(dArr, 8659)
00232 HTML_ENTITY(hArr, 8660)
00233 HTML_ENTITY(forall, 8704)
00234 HTML_ENTITY(part, 8706)
00235 HTML_ENTITY(exist, 8707)
00236 HTML_ENTITY(empty, 8709)
00237 HTML_ENTITY(nabla, 8711)
00238 HTML_ENTITY(isin, 8712)
00239 HTML_ENTITY(notin, 8713)
00240 HTML_ENTITY(ni, 8715)
00241 HTML_ENTITY(prod, 8719)
00242 HTML_ENTITY(sum, 8721)
00243 HTML_ENTITY(minus, 8722)
00244 HTML_ENTITY(lowast, 8727)
00245 HTML_ENTITY(radic, 8730)
00246 HTML_ENTITY(prop, 8733)
00247 HTML_ENTITY(infin, 8734)
00248 HTML_ENTITY(ang, 8736)
00249 HTML_ENTITY(and, 8743)
00250 HTML_ENTITY(or, 8744)
00251 HTML_ENTITY(cap, 8745)
00252 HTML_ENTITY(cup, 8746)
00253 HTML_ENTITY(int, 8747)
00254 HTML_ENTITY(there4, 8756)
00255 HTML_ENTITY(sim, 8764)
00256 HTML_ENTITY(cong, 8773)
00257 HTML_ENTITY(asymp, 8776)
00258 HTML_ENTITY(ne, 8800)
00259 HTML_ENTITY(equiv, 8801)
00260 HTML_ENTITY(le, 8804)
00261 HTML_ENTITY(ge, 8805)
00262 HTML_ENTITY(sub, 8834)
00263 HTML_ENTITY(sup, 8835)
00264 HTML_ENTITY(nsub, 8836)
00265 HTML_ENTITY(sube, 8838)
00266 HTML_ENTITY(supe, 8839)
00267 HTML_ENTITY(oplus, 8853)
00268 HTML_ENTITY(otimes, 8855)
00269 HTML_ENTITY(perp, 8869)
00270 HTML_ENTITY(sdot, 8901)
00271 HTML_ENTITY(lceil, 8968)
00272 HTML_ENTITY(rceil, 8969)
00273 HTML_ENTITY(lfloor, 8970)
00274 HTML_ENTITY(rfloor, 8971)
00275 HTML_ENTITY(lang, 9001)
00276 HTML_ENTITY(rang, 9002)
00277 HTML_ENTITY(loz, 9674)
00278 HTML_ENTITY(spades, 9824)
00279 HTML_ENTITY(clubs, 9827)
00280 HTML_ENTITY(hearts, 9829)
00281 HTML_ENTITY(diams, 9830)
00282 
00283 // Markup-significant and internationalization characters
00284 // See the HTML4.0 spec for this list in it's DTD form
00285 HTML_ENTITY(quot, 34)
00286 HTML_ENTITY(amp, 38)
00287 HTML_ENTITY(lt, 60)
00288 HTML_ENTITY(gt, 62)
00289 HTML_ENTITY(OElig, 338)
00290 HTML_ENTITY(oelig, 339)
00291 HTML_ENTITY(Scaron, 352)
00292 HTML_ENTITY(scaron, 353)
00293 HTML_ENTITY(Yuml, 376)
00294 HTML_ENTITY(circ, 710)
00295 HTML_ENTITY(tilde, 732)
00296 HTML_ENTITY(ensp, 8194)
00297 HTML_ENTITY(emsp, 8195)
00298 HTML_ENTITY(thinsp, 8201)
00299 HTML_ENTITY(zwnj, 8204)
00300 HTML_ENTITY(zwj, 8205)
00301 HTML_ENTITY(lrm, 8206)
00302 HTML_ENTITY(rlm, 8207)
00303 HTML_ENTITY(ndash, 8211)
00304 HTML_ENTITY(mdash, 8212)
00305 HTML_ENTITY(lsquo, 8216)
00306 HTML_ENTITY(rsquo, 8217)
00307 HTML_ENTITY(sbquo, 8218)
00308 HTML_ENTITY(ldquo, 8220)
00309 HTML_ENTITY(rdquo, 8221)
00310 HTML_ENTITY(bdquo, 8222)
00311 HTML_ENTITY(dagger, 8224)
00312 HTML_ENTITY(Dagger, 8225)
00313 HTML_ENTITY(permil, 8240)
00314 HTML_ENTITY(lsaquo, 8249)
00315 HTML_ENTITY(rsaquo, 8250)
00316 HTML_ENTITY(euro, 8364)
00317 
00318 // Navigator entity extensions
00319 // This block of entities needs to be at the bottom of the list since it
00320 // contains duplicate Unicode codepoints.  The codepoint to entity name
00321 // mapping (used by Composer) must ignores them, which occurs only
00322 // because they are listed later.
00323 
00324 // apos is from XML
00325 HTML_ENTITY(apos, 39) 
00326 // The capitalized versions are required to handle non-standard input.
00327 HTML_ENTITY(AMP, 38)
00328 HTML_ENTITY(COPY, 169)
00329 HTML_ENTITY(GT, 62)
00330 HTML_ENTITY(LT, 60)
00331 HTML_ENTITY(QUOT, 34)
00332 HTML_ENTITY(REG, 174)
00333