1 /* C++ code produced by gperf version 3.1 */
2 /* Command-line: gperf --compare-strncmp -C -m 20 tokens.gperf  */
3 /* Computed positions: -k'1,3-5,14,$' */
4 
5 #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
6       && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
7       && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
8       && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
9       && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
10       && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
11       && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
12       && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
13       && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
14       && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
15       && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
16       && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
17       && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
18       && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
19       && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
20       && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
21       && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
22       && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
23       && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
24       && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
25       && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
26       && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
27       && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
28 /* The character set is not based on ISO-646.  */
29 #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gperf@gnu.org>."
30 #endif
31 
32 #line 5 "tokens.gperf"
33 struct xmltoken
34 {
35   const char *name;
36   int tokenId;
37 };
38 
39 #define TOTAL_KEYWORDS 299
40 #define MIN_WORD_LENGTH 1
41 #define MAX_WORD_LENGTH 31
42 #define MIN_HASH_VALUE 4
43 #define MAX_HASH_VALUE 689
44 /* maximum key range = 686, duplicates = 0 */
45 
46 class Perfect_Hash
47 {
48 private:
49   static inline unsigned int hash(const char *str, size_t len);
50 public:
51   static const struct xmltoken *in_word_set(const char *str, size_t len);
52 };
53 
54 inline unsigned int
hash(const char * str,size_t len)55 Perfect_Hash::hash(const char *str, size_t len)
56 {
57   static const unsigned short asso_values[] =
58   {
59     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
60     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
61     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
62     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
63     690, 690, 690, 690, 690, 690, 690, 690, 690, 196,
64     177, 105,  84,  81,  21,   6, 690, 690,   0, 690,
65     690, 690, 690, 690, 690, 111, 134,  66, 167, 139,
66     7,  92,  50,  47,   0,   1,  69, 181, 169,  29,
67     27, 108, 111,  57,   3,  61, 209,  60,  98,  93,
68     690, 690, 690, 690, 690, 690, 690,   0,  10,  30,
69     3,   0,  35,  21, 177,   0,  11,  14,   2,  74,
70     0,  14,  97, 690,   7,   7,   1, 137,   0, 118,
71     101,  49,   2, 690, 690, 690, 690, 690, 690, 690,
72     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
73     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
74     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
75     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
76     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
77     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
78     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
79     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
80     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
81     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
82     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
83     690, 690, 690, 690, 690, 690, 690, 690, 690, 690,
84     690, 690, 690, 690, 690, 690
85   };
86   unsigned int hval = len;
87 
88   switch (hval)
89   {
90   default:
91     hval += asso_values[static_cast<unsigned char>(str[13])];
92   /*FALLTHROUGH*/
93   case 13:
94   case 12:
95   case 11:
96   case 10:
97   case 9:
98   case 8:
99   case 7:
100   case 6:
101   case 5:
102     hval += asso_values[static_cast<unsigned char>(str[4])];
103   /*FALLTHROUGH*/
104   case 4:
105     hval += asso_values[static_cast<unsigned char>(str[3])];
106   /*FALLTHROUGH*/
107   case 3:
108     hval += asso_values[static_cast<unsigned char>(str[2])];
109   /*FALLTHROUGH*/
110   case 2:
111   case 1:
112     hval += asso_values[static_cast<unsigned char>(str[0])];
113     break;
114   }
115   return hval + asso_values[static_cast<unsigned char>(str[len - 1])];
116 }
117 
118 static const struct xmltoken wordlist[] =
119 {
120   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
121 #line 228 "tokens.gperf"
122   {"a:ea",XML_A_EA},
123   {(char *)0, 0},
124 #line 246 "tokens.gperf"
125   {"a:ln",XML_A_LN},
126 #line 245 "tokens.gperf"
127   {"a:lin",XML_A_LIN},
128 #line 264 "tokens.gperf"
129   {"a:tint",XML_A_TINT},
130   {(char *)0, 0},
131 #line 244 "tokens.gperf"
132   {"a:latin",XML_A_LATIN},
133 #line 305 "tokens.gperf"
134   {"vt:varStyle",XML_VT_VARSTYLE},
135 #line 275 "tokens.gperf"
136   {"dc:title",XML_DC_TITLE},
137 #line 67 "tokens.gperf"
138   {"Font",XML_FONT},
139 #line 294 "tokens.gperf"
140   {"vt:lineStyle",XML_VT_LINESTYLE},
141 #line 274 "tokens.gperf"
142   {"dc:template",XML_DC_TEMPLATE},
143 #line 272 "tokens.gperf"
144   {"dc:language",XML_DC_LANGUAGE},
145 #line 58 "tokens.gperf"
146   {"Fill",XML_FILL},
147 #line 304 "tokens.gperf"
148   {"vt:varColor7",XML_VT_VARCOLOR7},
149 #line 256 "tokens.gperf"
150   {"a:satMod",XML_A_SATMOD},
151 #line 271 "tokens.gperf"
152   {"dc:description",XML_DC_DESCRIPTION},
153 #line 70 "tokens.gperf"
154   {"Foreign",XML_FOREIGN},
155 #line 295 "tokens.gperf"
156   {"vt:lineStyles",XML_VT_LINESTYLES},
157 #line 306 "tokens.gperf"
158   {"vt:variationClrScheme",XML_VT_VARIATIONCLRSCHEME},
159 #line 308 "tokens.gperf"
160   {"vt:variationStyleScheme",XML_VT_VARIATIONSTYLESCHEME},
161 #line 71 "tokens.gperf"
162   {"ForeignData",XML_FOREIGNDATA},
163 #line 185 "tokens.gperf"
164   {"Tab",XML_TAB},
165 #line 307 "tokens.gperf"
166   {"vt:variationClrSchemeLst",XML_VT_VARIATIONCLRSCHEMELST},
167 #line 309 "tokens.gperf"
168   {"vt:variationStyleSchemeLst",XML_VT_VARIATIONSTYLESCHEMELST},
169 #line 276 "tokens.gperf"
170   {"dcterms:created",XML_DCTERMS_CREATED},
171 #line 277 "tokens.gperf"
172   {"dcterms:modified",XML_DCTERMS_MODIFIED},
173 #line 186 "tokens.gperf"
174   {"Tabs",XML_TABS},
175 #line 61 "tokens.gperf"
176   {"FillForegnd",XML_FILLFOREGND},
177 #line 303 "tokens.gperf"
178   {"vt:varColor6",XML_VT_VARCOLOR6},
179 #line 136 "tokens.gperf"
180   {"Print",XML_PRINT},
181 #line 280 "tokens.gperf"
182   {"vt:bkgnd",XML_VT_BKGND},
183 #line 259 "tokens.gperf"
184   {"a:solidFill",XML_A_SOLIDFILL},
185   {(char *)0, 0},
186 #line 129 "tokens.gperf"
187   {"Para",XML_PARA},
188 #line 241 "tokens.gperf"
189   {"a:gs",XML_A_GS},
190 #line 240 "tokens.gperf"
191   {"a:gradFill",XML_A_GRADFILL},
192 #line 62 "tokens.gperf"
193   {"FillForegndTrans",XML_FILLFOREGNDTRANS},
194   {(char *)0, 0},
195 #line 135 "tokens.gperf"
196   {"Position",XML_POSITION},
197 #line 134 "tokens.gperf"
198   {"Pos",XML_POS},
199   {(char *)0, 0},
200 #line 121 "tokens.gperf"
201   {"Overline",XML_OVERLINE},
202 #line 64 "tokens.gperf"
203   {"Flags",XML_FLAGS},
204 #line 225 "tokens.gperf"
205   {"a:cs",XML_A_CS},
206 #line 63 "tokens.gperf"
207   {"FillPattern",XML_FILLPATTERN},
208 #line 224 "tokens.gperf"
209   {"a:clrScheme",XML_A_CLRSCHEME},
210 #line 260 "tokens.gperf"
211   {"a:srgbClr",XML_A_SRGBCLR},
212 #line 122 "tokens.gperf"
213   {"Page",XML_PAGE},
214 #line 235 "tokens.gperf"
215   {"a:fillStyleLst",XML_A_FILLSTYLELST},
216 #line 283 "tokens.gperf"
217   {"vt:fillProps",XML_VT_FILLPROPS},
218 #line 284 "tokens.gperf"
219   {"vt:fillStyles",XML_VT_FILLSTYLES},
220 #line 238 "tokens.gperf"
221   {"a:font",XML_A_FONT},
222 #line 270 "tokens.gperf"
223   {"dc:creator",XML_DC_CREATOR},
224   {(char *)0, 0},
225 #line 281 "tokens.gperf"
226   {"vt:color",XML_VT_COLOR},
227 #line 253 "tokens.gperf"
228   {"a:objectDefaults",XML_A_OBJECTDEFAULTS},
229 #line 239 "tokens.gperf"
230   {"a:fontScheme",XML_A_FONTSCHEME},
231 #line 268 "tokens.gperf"
232   {"cp:keywords",XML_CP_KEYWORDS},
233 #line 169 "tokens.gperf"
234   {"Size",XML_SIZE},
235 #line 198 "tokens.gperf"
236   {"TxtHeight",XML_TXTHEIGHT},
237 #line 82 "tokens.gperf"
238   {"HideText",XML_HIDETEXT},
239 #line 89 "tokens.gperf"
240   {"IndFirst",XML_INDFIRST},
241 #line 128 "tokens.gperf"
242   {"Pages",XML_PAGES},
243 #line 290 "tokens.gperf"
244   {"vt:fontProps",XML_VT_FONTPROPS},
245 #line 291 "tokens.gperf"
246   {"vt:fontStyles",XML_VT_FONTSTYLES},
247 #line 174 "tokens.gperf"
248   {"SplineKnot",XML_SPLINEKNOT},
249 #line 175 "tokens.gperf"
250   {"SplineStart",XML_SPLINESTART},
251 #line 247 "tokens.gperf"
252   {"a:lnStyleLst",XML_A_LNSTYLELST},
253 #line 102 "tokens.gperf"
254   {"Line",XML_LINE},
255 #line 68 "tokens.gperf"
256   {"FontScale",XML_FONTSCALE},
257 #line 237 "tokens.gperf"
258   {"a:folHlink",XML_A_FOLHLINK},
259 #line 31 "tokens.gperf"
260   {"Cell",XML_CELL},
261 #line 30 "tokens.gperf"
262   {"Case",XML_CASE},
263 #line 261 "tokens.gperf"
264   {"a:sysClr",XML_A_SYSCLR},
265   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
266 #line 229 "tokens.gperf"
267   {"a:effectLst",XML_A_EFFECTLST},
268 #line 230 "tokens.gperf"
269   {"a:effectStyle",XML_A_EFFECTSTYLE},
270 #line 32 "tokens.gperf"
271   {"Char",XML_CHAR},
272 #line 100 "tokens.gperf"
273   {"Leader",XML_LEADER},
274 #line 252 "tokens.gperf"
275   {"a:minorFont",XML_A_MINORFONT},
276 #line 282 "tokens.gperf"
277   {"vt:connectorFontStyles",XML_VT_CONNECTORFONTSTYLES},
278   {(char *)0, 0},
279 #line 33 "tokens.gperf"
280   {"Character",XML_CHARACTER},
281 #line 221 "tokens.gperf"
282   {"a:accent6",XML_A_ACCENT6},
283 #line 124 "tokens.gperf"
284   {"PageProps",XML_PAGEPROPS},
285 #line 106 "tokens.gperf"
286   {"LineTo",XML_LINETO},
287 #line 302 "tokens.gperf"
288   {"vt:varColor5",XML_VT_VARCOLOR5},
289 #line 92 "tokens.gperf"
290   {"InfiniteLine",XML_INFINITELINE},
291 #line 159 "tokens.gperf"
292   {"Section",XML_SECTION},
293 #line 301 "tokens.gperf"
294   {"vt:varColor4",XML_VT_VARCOLOR4},
295 #line 251 "tokens.gperf"
296   {"a:majorFont",XML_A_MAJORFONT},
297 #line 269 "tokens.gperf"
298   {"cp:lastModifiedBy",XML_CP_LASTMODIFIEDBY},
299 #line 267 "tokens.gperf"
300   {"cp:coreProperties",XML_CP_COREPROPERTIES},
301 #line 279 "tokens.gperf"
302   {"tp",XML_TP},
303 #line 34 "tokens.gperf"
304   {"Color",XML_COLOR},
305 #line 37 "tokens.gperf"
306   {"Colors",XML_COLORS},
307   {(char *)0, 0},
308 #line 133 "tokens.gperf"
309   {"PolylineTo",XML_POLYLINETO},
310 #line 242 "tokens.gperf"
311   {"a:gsLst",XML_A_GSLST},
312 #line 222 "tokens.gperf"
313   {"a:alpha",XML_A_ALPHA},
314 #line 105 "tokens.gperf"
315   {"LinePattern",XML_LINEPATTERN},
316 #line 232 "tokens.gperf"
317   {"a:ext",XML_A_EXT},
318 #line 123 "tokens.gperf"
319   {"PageHeight",XML_PAGEHEIGHT},
320 #line 188 "tokens.gperf"
321   {"Text",XML_TEXT},
322 #line 233 "tokens.gperf"
323   {"a:extLst",XML_A_EXTLST},
324 #line 293 "tokens.gperf"
325   {"vt:lineEx",XML_VT_LINEEX},
326 #line 177 "tokens.gperf"
327   {"Style",XML_STYLE},
328 #line 125 "tokens.gperf"
329   {"PageScale",XML_PAGESCALE},
330 #line 126 "tokens.gperf"
331   {"PageSheet",XML_PAGESHEET},
332   {(char *)0, 0},
333 #line 300 "tokens.gperf"
334   {"vt:varColor3",XML_VT_VARCOLOR3},
335 #line 147 "tokens.gperf"
336   {"Rel",XML_REL},
337 #line 178 "tokens.gperf"
338   {"StyleSheet",XML_STYLESHEET},
339 #line 266 "tokens.gperf"
340   {"cp:category",XML_CP_CATEGORY},
341 #line 236 "tokens.gperf"
342   {"a:fmtScheme",XML_A_FMTSCHEME},
343 #line 234 "tokens.gperf"
344   {"a:extraClrSchemeLst",XML_A_EXTRACLRSCHEMELST},
345 #line 197 "tokens.gperf"
346   {"TxtAngle",XML_TXTANGLE},
347 #line 223 "tokens.gperf"
348   {"a:bgFillStyleLst",XML_A_BGFILLSTYLELST},
349   {(char *)0, 0},
350 #line 179 "tokens.gperf"
351   {"StyleSheets",XML_STYLESHEETS},
352 #line 90 "tokens.gperf"
353   {"IndLeft",XML_INDLEFT},
354 #line 85 "tokens.gperf"
355   {"ImgHeight",XML_IMGHEIGHT},
356 #line 265 "tokens.gperf"
357   {"cp",XML_CP},
358 #line 153 "tokens.gperf"
359   {"ResizeMode",XML_RESIZEMODE},
360 #line 202 "tokens.gperf"
361   {"TxtPinY",XML_TXTPINY},
362 #line 173 "tokens.gperf"
363   {"SpLine",XML_SPLINE},
364 #line 27 "tokens.gperf"
365   {"C",XML_C},
366   {(char *)0, 0}, {(char *)0, 0},
367 #line 201 "tokens.gperf"
368   {"TxtPinX",XML_TXTPINX},
369 #line 97 "tokens.gperf"
370   {"Layer",XML_LAYER},
371 #line 289 "tokens.gperf"
372   {"vt:fmtSchemeLineStyles",XML_VT_FMTSCHEMELINESTYLES},
373 #line 14 "tokens.gperf"
374   {"Angle",XML_ANGLE},
375 #line 107 "tokens.gperf"
376   {"LineWeight",XML_LINEWEIGHT},
377   {(char *)0, 0},
378 #line 13 "tokens.gperf"
379   {"Alignment",XML_ALIGNMENT},
380 #line 99 "tokens.gperf"
381   {"LayerMember",XML_LAYERMEMBER},
382 #line 285 "tokens.gperf"
383   {"vt:fmtConnectorScheme",XML_VT_FMTCONNECTORSCHEME},
384 #line 23 "tokens.gperf"
385   {"Bullet",XML_BULLET},
386   {(char *)0, 0},
387 #line 184 "tokens.gperf"
388   {"TIBT",XML_TIBT},
389 #line 35 "tokens.gperf"
390   {"ColorEntry",XML_COLORENTRY},
391 #line 24 "tokens.gperf"
392   {"BulletFont",XML_BULLETFONT},
393 #line 220 "tokens.gperf"
394   {"a:accent5",XML_A_ACCENT5},
395 #line 104 "tokens.gperf"
396   {"LineColor",XML_LINECOLOR},
397 #line 25 "tokens.gperf"
398   {"BulletFontSize",XML_BULLETFONTSIZE},
399 #line 219 "tokens.gperf"
400   {"a:accent4",XML_A_ACCENT4},
401 #line 26 "tokens.gperf"
402   {"BulletStr",XML_BULLETSTR},
403 #line 137 "tokens.gperf"
404   {"Properties",XML_PROPERTIES},
405 #line 231 "tokens.gperf"
406   {"a:effectStyleLst",XML_A_EFFECTSTYLELST},
407 #line 59 "tokens.gperf"
408   {"FillBkgnd",XML_FILLBKGND},
409 #line 273 "tokens.gperf"
410   {"dc:subject",XML_DC_SUBJECT},
411 #line 160 "tokens.gperf"
412   {"Shape",XML_SHAPE},
413 #line 96 "tokens.gperf"
414   {"LAOO",XML_LAOO},
415 #line 287 "tokens.gperf"
416   {"vt:fmtConnectorSchemeLineStyles",XML_VT_FMTCONNECTORSCHEMELINESTYLES},
417 #line 22 "tokens.gperf"
418   {"BottomMargin",XML_BOTTOMMARGIN},
419   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
420 #line 145 "tokens.gperf"
421   {"QuickStyleType",XML_QUICKSTYLETYPE},
422 #line 163 "tokens.gperf"
423   {"Shapes",XML_SHAPES},
424   {(char *)0, 0},
425 #line 53 "tokens.gperf"
426   {"EndTrigger",XML_ENDTRIGGER},
427 #line 91 "tokens.gperf"
428   {"IndRight",XML_INDRIGHT},
429 #line 146 "tokens.gperf"
430   {"QuickStyleVariation",XML_QUICKSTYLEVARIATION},
431   {(char *)0, 0},
432 #line 60 "tokens.gperf"
433   {"FillBkgndTrans",XML_FILLBKGNDTRANS},
434 #line 218 "tokens.gperf"
435   {"a:accent3",XML_A_ACCENT3},
436   {(char *)0, 0}, {(char *)0, 0},
437 #line 15 "tokens.gperf"
438   {"ArcTo",XML_ARCTO},
439 #line 142 "tokens.gperf"
440   {"QuickStyleLineColor",XML_QUICKSTYLELINECOLOR},
441 #line 84 "tokens.gperf"
442   {"HorzAlign",XML_HORZALIGN},
443 #line 139 "tokens.gperf"
444   {"QuickStyleFillColor",XML_QUICKSTYLEFILLCOLOR},
445 #line 69 "tokens.gperf"
446   {"FontSchemeIndex",XML_FONTSCHEMEINDEX},
447 #line 18 "tokens.gperf"
448   {"BegTrigger",XML_BEGTRIGGER},
449 #line 144 "tokens.gperf"
450   {"QuickStyleShadowColor",XML_QUICKSTYLESHADOWCOLOR},
451 #line 187 "tokens.gperf"
452   {"Template",XML_TEMPLATE},
453 #line 262 "tokens.gperf"
454   {"a:theme",XML_A_THEME},
455 #line 117 "tokens.gperf"
456   {"NoFill",XML_NOFILL},
457 #line 214 "tokens.gperf"
458   {"Y",XML_Y},
459 #line 195 "tokens.gperf"
460   {"ThemeIndex",XML_THEMEINDEX},
461 #line 299 "tokens.gperf"
462   {"vt:varColor2",XML_VT_VARCOLOR2},
463 #line 200 "tokens.gperf"
464   {"TxtLocPinY",XML_TXTLOCPINY},
465 #line 258 "tokens.gperf"
466   {"a:shade",XML_A_SHADE},
467 #line 297 "tokens.gperf"
468   {"vt:themeScheme",XML_VT_THEMESCHEME},
469   {(char *)0, 0}, {(char *)0, 0},
470 #line 199 "tokens.gperf"
471   {"TxtLocPinX",XML_TXTLOCPINX},
472 #line 278 "tokens.gperf"
473   {"pp",XML_PP},
474 #line 211 "tokens.gperf"
475   {"X",XML_X},
476 #line 181 "tokens.gperf"
477   {"TELU",XML_TELU},
478 #line 165 "tokens.gperf"
479   {"ShdwForegnd",XML_SHDWFOREGND},
480 #line 243 "tokens.gperf"
481   {"a:hlink",XML_A_HLINK},
482 #line 263 "tokens.gperf"
483   {"a:themeElements",XML_A_THEMEELEMENTS},
484 #line 112 "tokens.gperf"
485   {"Master",XML_MASTER},
486 #line 113 "tokens.gperf"
487   {"Masters",XML_MASTERS},
488 #line 115 "tokens.gperf"
489   {"MoveTo",XML_MOVETO},
490 #line 150 "tokens.gperf"
491   {"RelLineTo",XML_RELLINETO},
492   {(char *)0, 0},
493 #line 98 "tokens.gperf"
494   {"LayerMem",XML_LAYERMEM},
495 #line 298 "tokens.gperf"
496   {"vt:varColor1",XML_VT_VARCOLOR1},
497 #line 36 "tokens.gperf"
498   {"ColorSchemeIndex",XML_COLORSCHEMEINDEX},
499   {(char *)0, 0}, {(char *)0, 0},
500 #line 183 "tokens.gperf"
501   {"THAI",XML_THAI},
502   {(char *)0, 0},
503 #line 56 "tokens.gperf"
504   {"FaceName",XML_FACENAME},
505 #line 296 "tokens.gperf"
506   {"vt:schemeID",XML_VT_SCHEMEID},
507 #line 168 "tokens.gperf"
508   {"ShdwPattern",XML_SHDWPATTERN},
509 #line 132 "tokens.gperf"
510   {"PinY",XML_PINY},
511 #line 171 "tokens.gperf"
512   {"SpAfter",XML_SPAFTER},
513   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
514 #line 57 "tokens.gperf"
515   {"FaceNames",XML_FACENAMES},
516 #line 11 "tokens.gperf"
517   {"A",XML_A},
518 #line 250 "tokens.gperf"
519   {"a:lumMod",XML_A_LUMMOD},
520 #line 176 "tokens.gperf"
521   {"Strikethru",XML_STRIKETHRU},
522 #line 109 "tokens.gperf"
523   {"LocPinY",XML_LOCPINY},
524 #line 131 "tokens.gperf"
525   {"PinX",XML_PINX},
526   {(char *)0, 0},
527 #line 79 "tokens.gperf"
528   {"HANT",XML_HANT},
529 #line 208 "tokens.gperf"
530   {"VerticalAlign",XML_VERTICALALIGN},
531 #line 108 "tokens.gperf"
532   {"LocPinX",XML_LOCPINX},
533 #line 257 "tokens.gperf"
534   {"a:schemeClr",XML_A_SCHEMECLR},
535 #line 209 "tokens.gperf"
536   {"Visible",XML_VISIBLE},
537 #line 172 "tokens.gperf"
538   {"SpBefore",XML_SPBEFORE},
539 #line 87 "tokens.gperf"
540   {"ImgOffsetY",XML_IMGOFFSETY},
541   {(char *)0, 0},
542 #line 76 "tokens.gperf"
543   {"Geometry",XML_GEOMETRY},
544 #line 215 "tokens.gperf"
545   {"YIII",XML_YIII},
546 #line 103 "tokens.gperf"
547   {"LineCap",XML_LINECAP},
548 #line 86 "tokens.gperf"
549   {"ImgOffsetX",XML_IMGOFFSETX},
550 #line 130 "tokens.gperf"
551   {"Paragraph",XML_PARAGRAPH},
552 #line 42 "tokens.gperf"
553   {"DblUnderline",XML_DBLUNDERLINE},
554   {(char *)0, 0},
555 #line 118 "tokens.gperf"
556   {"NoLine",XML_NOLINE},
557 #line 49 "tokens.gperf"
558   {"Ellipse",XML_ELLIPSE},
559 #line 217 "tokens.gperf"
560   {"a:accent2",XML_A_ACCENT2},
561 #line 286 "tokens.gperf"
562   {"vt:fmtConnectorSchemeEx",XML_VT_FMTCONNECTORSCHEMEEX},
563   {(char *)0, 0},
564 #line 203 "tokens.gperf"
565   {"TxtWidth",XML_TXTWIDTH},
566   {(char *)0, 0},
567 #line 189 "tokens.gperf"
568   {"TextBkgnd",XML_TEXTBKGND},
569 #line 114 "tokens.gperf"
570   {"Misc",XML_MISC},
571   {(char *)0, 0},
572 #line 21 "tokens.gperf"
573   {"BeginY",XML_BEGINY},
574 #line 81 "tokens.gperf"
575   {"Height",XML_HEIGHT},
576 #line 292 "tokens.gperf"
577   {"vt:fontStylesGroup",XML_VT_FONTSTYLESGROUP},
578 #line 204 "tokens.gperf"
579   {"UIGH",XML_UIGH},
580 #line 75 "tokens.gperf"
581   {"Geom",XML_GEOM},
582 #line 20 "tokens.gperf"
583   {"BeginX",XML_BEGINX},
584 #line 83 "tokens.gperf"
585   {"Highlight",XML_HIGHLIGHT},
586 #line 39 "tokens.gperf"
587   {"ConnectorSchemeIndex",XML_CONNECTORSCHEMEINDEX},
588 #line 191 "tokens.gperf"
589   {"TextBlock",XML_TEXTBLOCK},
590 #line 162 "tokens.gperf"
591   {"ShapeShdwOffsetY",XML_SHAPESHDWOFFSETY},
592   {(char *)0, 0},
593 #line 216 "tokens.gperf"
594   {"a:accent1",XML_A_ACCENT1},
595   {(char *)0, 0},
596 #line 190 "tokens.gperf"
597   {"TextBkgndTrans",XML_TEXTBKGNDTRANS},
598 #line 161 "tokens.gperf"
599   {"ShapeShdwOffsetX",XML_SHAPESHDWOFFSETX},
600 #line 16 "tokens.gperf"
601   {"B",XML_B},
602 #line 50 "tokens.gperf"
603   {"EllipticalArcTo",XML_ELLIPTICALARCTO},
604   {(char *)0, 0},
605 #line 212 "tokens.gperf"
606   {"XForm",XML_XFORM},
607 #line 143 "tokens.gperf"
608   {"QuickStyleLineMatrix",XML_QUICKSTYLELINEMATRIX},
609 #line 141 "tokens.gperf"
610   {"QuickStyleFontMatrix",XML_QUICKSTYLEFONTMATRIX},
611 #line 140 "tokens.gperf"
612   {"QuickStyleFillMatrix",XML_QUICKSTYLEFILLMATRIX},
613 #line 138 "tokens.gperf"
614   {"QuickStyleEffectsMatrix",XML_QUICKSTYLEEFFECTSMATRIX},
615 #line 170 "tokens.gperf"
616   {"SolutionXML",XML_SOLUTIONXML},
617   {(char *)0, 0},
618 #line 46 "tokens.gperf"
619   {"E",XML_E},
620 #line 155 "tokens.gperf"
621   {"Rounding",XML_ROUNDING},
622 #line 254 "tokens.gperf"
623   {"a:outerShdw",XML_A_OUTERSHDW},
624   {(char *)0, 0},
625 #line 19 "tokens.gperf"
626   {"BeginArrow",XML_BEGINARROW},
627   {(char *)0, 0},
628 #line 192 "tokens.gperf"
629   {"TextDirection",XML_TEXTDIRECTION},
630 #line 194 "tokens.gperf"
631   {"TextXForm",XML_TEXTXFORM},
632 #line 47 "tokens.gperf"
633   {"ETHI",XML_ETHI},
634 #line 193 "tokens.gperf"
635   {"TextPosAfterBullet",XML_TEXTPOSAFTERBULLET},
636   {(char *)0, 0},
637 #line 196 "tokens.gperf"
638   {"TopMargin",XML_TOPMARGIN},
639   {(char *)0, 0}, {(char *)0, 0},
640 #line 38 "tokens.gperf"
641   {"Company",XML_COMPANY},
642 #line 127 "tokens.gperf"
643   {"PageWidth",XML_PAGEWIDTH},
644 #line 66 "tokens.gperf"
645   {"FlipY",XML_FLIPY},
646 #line 101 "tokens.gperf"
647   {"LeftMargin",XML_LEFTMARGIN},
648 #line 45 "tokens.gperf"
649   {"DrawingScale",XML_DRAWINGSCALE},
650 #line 255 "tokens.gperf"
651   {"a:prstDash",XML_A_PRSTDASH},
652   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
653   {(char *)0, 0},
654 #line 158 "tokens.gperf"
655   {"SYRC",XML_SYRC},
656 #line 65 "tokens.gperf"
657   {"FlipX",XML_FLIPX},
658   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
659   {(char *)0, 0},
660 #line 167 "tokens.gperf"
661   {"ShdwOffsetY",XML_SHDWOFFSETY},
662   {(char *)0, 0},
663 #line 88 "tokens.gperf"
664   {"ImgWidth",XML_IMGWIDTH},
665   {(char *)0, 0}, {(char *)0, 0},
666 #line 166 "tokens.gperf"
667   {"ShdwOffsetX",XML_SHDWOFFSETX},
668 #line 51 "tokens.gperf"
669   {"EmbellishmentIndex",XML_EMBELLISHMENTINDEX},
670 #line 73 "tokens.gperf"
671   {"GUJR",XML_GUJR},
672   {(char *)0, 0}, {(char *)0, 0},
673 #line 154 "tokens.gperf"
674   {"RightMargin",XML_RIGHTMARGIN},
675 #line 48 "tokens.gperf"
676   {"EffectSchemeIndex",XML_EFFECTSCHEMEINDEX},
677   {(char *)0, 0},
678 #line 164 "tokens.gperf"
679   {"ShdwBkgnd",XML_SHDWBKGND},
680 #line 288 "tokens.gperf"
681   {"vt:fmtSchemeEx",XML_VT_FMTSCHEMEEX},
682 #line 180 "tokens.gperf"
683   {"TAML",XML_TAML},
684   {(char *)0, 0}, {(char *)0, 0},
685 #line 74 "tokens.gperf"
686   {"GURU",XML_GURU},
687 #line 157 "tokens.gperf"
688   {"SINH",XML_SINH},
689 #line 151 "tokens.gperf"
690   {"RelMoveTo",XML_RELMOVETO},
691 #line 55 "tokens.gperf"
692   {"EndY",XML_ENDY},
693   {(char *)0, 0}, {(char *)0, 0},
694 #line 40 "tokens.gperf"
695   {"D",XML_D},
696 #line 207 "tokens.gperf"
697   {"VariationStyleIndex",XML_VARIATIONSTYLEINDEX},
698 #line 78 "tokens.gperf"
699   {"HANS",XML_HANS},
700   {(char *)0, 0}, {(char *)0, 0},
701 #line 182 "tokens.gperf"
702   {"THAA",XML_THAA},
703 #line 148 "tokens.gperf"
704   {"RelCubBezTo",XML_RELCUBBEZTO},
705 #line 54 "tokens.gperf"
706   {"EndX",XML_ENDX},
707 #line 206 "tokens.gperf"
708   {"VariationColorIndex",XML_VARIATIONCOLORINDEX},
709   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
710 #line 72 "tokens.gperf"
711   {"GEOR",XML_GEOR},
712 #line 120 "tokens.gperf"
713   {"ORYA",XML_ORYA},
714   {(char *)0, 0},
715 #line 156 "tokens.gperf"
716   {"Row",XML_ROW},
717   {(char *)0, 0}, {(char *)0, 0},
718 #line 28 "tokens.gperf"
719   {"CANS",XML_CANS},
720   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
721 #line 205 "tokens.gperf"
722   {"VIET",XML_VIET},
723   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
724 #line 249 "tokens.gperf"
725   {"a:lt2",XML_A_LT2},
726   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
727 #line 213 "tokens.gperf"
728   {"XForm1D",XML_XFORM1D},
729   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
730   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
731 #line 227 "tokens.gperf"
732   {"a:dk2",XML_A_DK2},
733   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
734   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
735 #line 152 "tokens.gperf"
736   {"RelQuadBezTo",XML_RELQUADBEZTO},
737   {(char *)0, 0},
738 #line 52 "tokens.gperf"
739   {"EndArrow",XML_ENDARROW},
740   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
741   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
742 #line 95 "tokens.gperf"
743   {"KNDA",XML_KNDA},
744   {(char *)0, 0}, {(char *)0, 0},
745 #line 149 "tokens.gperf"
746   {"RelEllipticalArcTo",XML_RELELLIPTICALARCTO},
747   {(char *)0, 0}, {(char *)0, 0},
748 #line 248 "tokens.gperf"
749   {"a:lt1",XML_A_LT1},
750   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
751   {(char *)0, 0}, {(char *)0, 0},
752 #line 77 "tokens.gperf"
753   {"HANG",XML_HANG},
754 #line 94 "tokens.gperf"
755   {"KHMR",XML_KHMR},
756   {(char *)0, 0},
757 #line 80 "tokens.gperf"
758   {"HEBR",XML_HEBR},
759   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
760 #line 226 "tokens.gperf"
761   {"a:dk1",XML_A_DK1},
762   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
763   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
764 #line 210 "tokens.gperf"
765   {"Width",XML_WIDTH},
766   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
767   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
768 #line 29 "tokens.gperf"
769   {"CHER",XML_CHER},
770   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
771   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
772   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
773   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
774   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
775   {(char *)0, 0},
776 #line 93 "tokens.gperf"
777   {"JPAN",XML_JPAN},
778   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
779   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
780   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
781   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
782   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
783   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
784   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
785   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
786   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
787   {(char *)0, 0},
788 #line 17 "tokens.gperf"
789   {"BENG",XML_BENG},
790 #line 116 "tokens.gperf"
791   {"NURBSTo",XML_NURBSTO},
792   {(char *)0, 0},
793 #line 12 "tokens.gperf"
794   {"ARAB",XML_ARAB},
795   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
796   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
797   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
798   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
799   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
800   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
801   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
802   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
803   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
804   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
805   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
806 #line 111 "tokens.gperf"
807   {"MONG",XML_MONG},
808   {(char *)0, 0}, {(char *)0, 0},
809 #line 119 "tokens.gperf"
810   {"NoShow",XML_NOSHOW},
811   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
812   {(char *)0, 0},
813 #line 43 "tokens.gperf"
814   {"DefaultTabStop",XML_DEFAULTTABSTOP},
815   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
816   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
817   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
818   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
819   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
820   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
821   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
822   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
823   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
824   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
825   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
826   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
827   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
828   {(char *)0, 0}, {(char *)0, 0},
829 #line 41 "tokens.gperf"
830   {"DEVA",XML_DEVA},
831   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
832   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
833   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
834   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
835   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
836   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
837   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
838   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
839   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
840   {(char *)0, 0},
841 #line 110 "tokens.gperf"
842   {"MLYM",XML_MLYM},
843   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
844   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
845   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
846   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
847   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
848   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
849   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
850   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
851   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
852   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
853   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
854   {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0}, {(char *)0, 0},
855 #line 44 "tokens.gperf"
856   {"DoubleStrikethrough",XML_DOUBLESTRIKETHROUGH}
857 };
858 
859 const struct xmltoken *
in_word_set(const char * str,size_t len)860 Perfect_Hash::in_word_set(const char *str, size_t len)
861 {
862   if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
863   {
864     unsigned int key = hash(str, len);
865 
866     if (key <= MAX_HASH_VALUE)
867     {
868       const char *s = wordlist[key].name;
869 
870       if (s && *str == *s && !strncmp(str + 1, s + 1, len - 1) && s[len] == '\0')
871         return &wordlist[key];
872     }
873   }
874   return 0;
875 }
876 #line 310 "tokens.gperf"
877 
878