Fix masking of bits in serialised query
[xapian.git] / xapian-applications / omega / namedentities.h
blob8b7f03e4720befaa8e12a019f1f3f6c92b96e9fc
1 /* namedentities.h: named HTML entities.
3 * Copyright (C) 2006,2007 Olly Betts
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifndef OMEGA_INCLUDED_NAMEDENTITIES_H
21 #define OMEGA_INCLUDED_NAMEDENTITIES_H
23 // Names and values from: "Character entity references in HTML 4"
24 // http://www.w3.org/TR/html4/sgml/entities.html
25 { "quot", 34 },
26 { "amp", 38 },
27 { "apos", 39 }, // Not in HTML 4 list but used in OpenOffice XML.
28 { "lt", 60 },
29 { "gt", 62 },
30 { "nbsp", 160 },
31 { "iexcl", 161 },
32 { "cent", 162 },
33 { "pound", 163 },
34 { "curren", 164 },
35 { "yen", 165 },
36 { "brvbar", 166 },
37 { "sect", 167 },
38 { "uml", 168 },
39 { "copy", 169 },
40 { "ordf", 170 },
41 { "laquo", 171 },
42 { "not", 172 },
43 { "shy", 173 },
44 { "reg", 174 },
45 { "macr", 175 },
46 { "deg", 176 },
47 { "plusmn", 177 },
48 { "sup2", 178 },
49 { "sup3", 179 },
50 { "acute", 180 },
51 { "micro", 181 },
52 { "para", 182 },
53 { "middot", 183 },
54 { "cedil", 184 },
55 { "sup1", 185 },
56 { "ordm", 186 },
57 { "raquo", 187 },
58 { "frac14", 188 },
59 { "frac12", 189 },
60 { "frac34", 190 },
61 { "iquest", 191 },
62 { "Agrave", 192 },
63 { "Aacute", 193 },
64 { "Acirc", 194 },
65 { "Atilde", 195 },
66 { "Auml", 196 },
67 { "Aring", 197 },
68 { "AElig", 198 },
69 { "Ccedil", 199 },
70 { "Egrave", 200 },
71 { "Eacute", 201 },
72 { "Ecirc", 202 },
73 { "Euml", 203 },
74 { "Igrave", 204 },
75 { "Iacute", 205 },
76 { "Icirc", 206 },
77 { "Iuml", 207 },
78 { "ETH", 208 },
79 { "Ntilde", 209 },
80 { "Ograve", 210 },
81 { "Oacute", 211 },
82 { "Ocirc", 212 },
83 { "Otilde", 213 },
84 { "Ouml", 214 },
85 { "times", 215 },
86 { "Oslash", 216 },
87 { "Ugrave", 217 },
88 { "Uacute", 218 },
89 { "Ucirc", 219 },
90 { "Uuml", 220 },
91 { "Yacute", 221 },
92 { "THORN", 222 },
93 { "szlig", 223 },
94 { "agrave", 224 },
95 { "aacute", 225 },
96 { "acirc", 226 },
97 { "atilde", 227 },
98 { "auml", 228 },
99 { "aring", 229 },
100 { "aelig", 230 },
101 { "ccedil", 231 },
102 { "egrave", 232 },
103 { "eacute", 233 },
104 { "ecirc", 234 },
105 { "euml", 235 },
106 { "igrave", 236 },
107 { "iacute", 237 },
108 { "icirc", 238 },
109 { "iuml", 239 },
110 { "eth", 240 },
111 { "ntilde", 241 },
112 { "ograve", 242 },
113 { "oacute", 243 },
114 { "ocirc", 244 },
115 { "otilde", 245 },
116 { "ouml", 246 },
117 { "divide", 247 },
118 { "oslash", 248 },
119 { "ugrave", 249 },
120 { "uacute", 250 },
121 { "ucirc", 251 },
122 { "uuml", 252 },
123 { "yacute", 253 },
124 { "thorn", 254 },
125 { "yuml", 255 },
126 { "OElig", 338 },
127 { "oelig", 339 },
128 { "Scaron", 352 },
129 { "scaron", 353 },
130 { "Yuml", 376 },
131 { "fnof", 402 },
132 { "circ", 710 },
133 { "tilde", 732 },
134 { "Alpha", 913 },
135 { "Beta", 914 },
136 { "Gamma", 915 },
137 { "Delta", 916 },
138 { "Epsilon", 917 },
139 { "Zeta", 918 },
140 { "Eta", 919 },
141 { "Theta", 920 },
142 { "Iota", 921 },
143 { "Kappa", 922 },
144 { "Lambda", 923 },
145 { "Mu", 924 },
146 { "Nu", 925 },
147 { "Xi", 926 },
148 { "Omicron", 927 },
149 { "Pi", 928 },
150 { "Rho", 929 },
151 { "Sigma", 931 },
152 { "Tau", 932 },
153 { "Upsilon", 933 },
154 { "Phi", 934 },
155 { "Chi", 935 },
156 { "Psi", 936 },
157 { "Omega", 937 },
158 { "alpha", 945 },
159 { "beta", 946 },
160 { "gamma", 947 },
161 { "delta", 948 },
162 { "epsilon", 949 },
163 { "zeta", 950 },
164 { "eta", 951 },
165 { "theta", 952 },
166 { "iota", 953 },
167 { "kappa", 954 },
168 { "lambda", 955 },
169 { "mu", 956 },
170 { "nu", 957 },
171 { "xi", 958 },
172 { "omicron", 959 },
173 { "pi", 960 },
174 { "rho", 961 },
175 { "sigmaf", 962 },
176 { "sigma", 963 },
177 { "tau", 964 },
178 { "upsilon", 965 },
179 { "phi", 966 },
180 { "chi", 967 },
181 { "psi", 968 },
182 { "omega", 969 },
183 { "thetasym", 977 },
184 { "upsih", 978 },
185 { "piv", 982 },
186 { "ensp", 8194 },
187 { "emsp", 8195 },
188 { "thinsp", 8201 },
189 { "zwnj", 8204 },
190 { "zwj", 8205 },
191 { "lrm", 8206 },
192 { "rlm", 8207 },
193 { "ndash", 8211 },
194 { "mdash", 8212 },
195 { "lsquo", 8216 },
196 { "rsquo", 8217 },
197 { "sbquo", 8218 },
198 { "ldquo", 8220 },
199 { "rdquo", 8221 },
200 { "bdquo", 8222 },
201 { "dagger", 8224 },
202 { "Dagger", 8225 },
203 { "bull", 8226 },
204 { "hellip", 8230 },
205 { "permil", 8240 },
206 { "prime", 8242 },
207 { "Prime", 8243 },
208 { "lsaquo", 8249 },
209 { "rsaquo", 8250 },
210 { "oline", 8254 },
211 { "frasl", 8260 },
212 { "euro", 8364 },
213 { "image", 8465 },
214 { "weierp", 8472 },
215 { "real", 8476 },
216 { "trade", 8482 },
217 { "alefsym", 8501 },
218 { "larr", 8592 },
219 { "uarr", 8593 },
220 { "rarr", 8594 },
221 { "darr", 8595 },
222 { "harr", 8596 },
223 { "crarr", 8629 },
224 { "lArr", 8656 },
225 { "uArr", 8657 },
226 { "rArr", 8658 },
227 { "dArr", 8659 },
228 { "hArr", 8660 },
229 { "forall", 8704 },
230 { "part", 8706 },
231 { "exist", 8707 },
232 { "empty", 8709 },
233 { "nabla", 8711 },
234 { "isin", 8712 },
235 { "notin", 8713 },
236 { "ni", 8715 },
237 { "prod", 8719 },
238 { "sum", 8721 },
239 { "minus", 8722 },
240 { "lowast", 8727 },
241 { "radic", 8730 },
242 { "prop", 8733 },
243 { "infin", 8734 },
244 { "ang", 8736 },
245 { "and", 8743 },
246 { "or", 8744 },
247 { "cap", 8745 },
248 { "cup", 8746 },
249 { "int", 8747 },
250 { "there4", 8756 },
251 { "sim", 8764 },
252 { "cong", 8773 },
253 { "asymp", 8776 },
254 { "ne", 8800 },
255 { "equiv", 8801 },
256 { "le", 8804 },
257 { "ge", 8805 },
258 { "sub", 8834 },
259 { "sup", 8835 },
260 { "nsub", 8836 },
261 { "sube", 8838 },
262 { "supe", 8839 },
263 { "oplus", 8853 },
264 { "otimes", 8855 },
265 { "perp", 8869 },
266 { "sdot", 8901 },
267 { "lceil", 8968 },
268 { "rceil", 8969 },
269 { "lfloor", 8970 },
270 { "rfloor", 8971 },
271 { "lang", 9001 },
272 { "rang", 9002 },
273 { "loz", 9674 },
274 { "spades", 9824 },
275 { "clubs", 9827 },
276 { "hearts", 9829 },
277 { "diams", 9830 },
279 #endif // OMEGA_INCLUDED_NAMEDENTITIES_H