tokenhash.h
Go to the documentation of this file.
1 /* C++ code produced by gperf version 3.0.4 */
2 /* Command-line: /usr/bin/gperf --compare-strncmp -C -m 20 ../../src/lib/tokens.gperf */
3 /* Computed positions: -k'1,3-5,$' */
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-gnu-gperf@gnu.org>."
30 #endif
31 
32 #line 5 "../../src/lib/tokens.gperf"
33 struct xmltoken
34 {
35  const char *name;
36  int tokenId;
37 };
38 
39 #define TOTAL_KEYWORDS 213
40 #define MIN_WORD_LENGTH 1
41 #define MAX_WORD_LENGTH 31
42 #define MIN_HASH_VALUE 5
43 #define MAX_HASH_VALUE 349
44 /* maximum key range = 345, duplicates = 0 */
45 
47 {
48 private:
49  static inline unsigned int hash (const char *str, unsigned int len);
50 public:
51  static const struct xmltoken *in_word_set (const char *str, unsigned int len);
52 };
53 
54 inline unsigned int
55 Perfect_Hash::hash (register const char *str, register unsigned int len)
56 {
57  static const unsigned short asso_values[] =
58  {
59  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
60  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
61  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
62  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
63  350, 350, 350, 350, 350, 350, 350, 350, 350, 137,
64  120, 182, 180, 164, 14, 10, 350, 350, 0, 350,
65  350, 350, 350, 350, 350, 139, 97, 2, 112, 103,
66  31, 17, 84, 90, 350, 350, 72, 69, 64, 97,
67  31, 2, 80, 43, 24, 5, 17, 9, 21, 51,
68  350, 350, 350, 350, 350, 350, 350, 6, 1, 17,
69  8, 0, 0, 6, 87, 2, 112, 56, 1, 73,
70  0, 7, 53, 350, 15, 20, 1, 119, 0, 52,
71  83, 108, 34, 350, 350, 350, 350, 350, 350, 350,
72  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
73  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
74  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
75  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
76  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
77  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
78  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
79  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
80  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
81  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
82  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
83  350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
84  350, 350, 350, 350, 350, 350
85  };
86  register int hval = len;
87 
88  switch (hval)
89  {
90  default:
91  hval += asso_values[(unsigned char)str[4]];
92  /*FALLTHROUGH*/
93  case 4:
94  hval += asso_values[(unsigned char)str[3]];
95  /*FALLTHROUGH*/
96  case 3:
97  hval += asso_values[(unsigned char)str[2]];
98  /*FALLTHROUGH*/
99  case 2:
100  case 1:
101  hval += asso_values[(unsigned char)str[0]];
102  break;
103  }
104  return hval + asso_values[(unsigned char)str[len - 1]];
105 }
106 
107 static const struct xmltoken wordlist[] =
108  {
109  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
110  {(char*)0, 0},
111 #line 17 "../../src/lib/tokens.gperf"
112  {"C",XML_C},
113  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
114 #line 19 "../../src/lib/tokens.gperf"
115  {"Cell",XML_CELL},
116  {(char*)0, 0},
117 #line 173 "../../src/lib/tokens.gperf"
118  {"a:ln",XML_A_LN},
119  {(char*)0, 0}, {(char*)0, 0},
120 #line 172 "../../src/lib/tokens.gperf"
121  {"a:lin",XML_A_LIN},
122 #line 208 "../../src/lib/tokens.gperf"
123  {"vt:lineStyle",XML_VT_LINESTYLE},
124 #line 191 "../../src/lib/tokens.gperf"
125  {"a:tint",XML_A_TINT},
126 #line 219 "../../src/lib/tokens.gperf"
127  {"vt:varStyle",XML_VT_VARSTYLE},
128 #line 156 "../../src/lib/tokens.gperf"
129  {"a:effectLst",XML_A_EFFECTLST},
130 #line 157 "../../src/lib/tokens.gperf"
131  {"a:effectStyle",XML_A_EFFECTSTYLE},
132 #line 165 "../../src/lib/tokens.gperf"
133  {"a:font",XML_A_FONT},
134 #line 171 "../../src/lib/tokens.gperf"
135  {"a:latin",XML_A_LATIN},
136 #line 155 "../../src/lib/tokens.gperf"
137  {"a:ea",XML_A_EA},
138 #line 158 "../../src/lib/tokens.gperf"
139  {"a:effectStyleLst",XML_A_EFFECTSTYLELST},
140 #line 162 "../../src/lib/tokens.gperf"
141  {"a:fillStyleLst",XML_A_FILLSTYLELST},
142 #line 166 "../../src/lib/tokens.gperf"
143  {"a:fontScheme",XML_A_FONTSCHEME},
144 #line 18 "../../src/lib/tokens.gperf"
145  {"Case",XML_CASE},
146 #line 220 "../../src/lib/tokens.gperf"
147  {"vt:variationClrScheme",XML_VT_VARIATIONCLRSCHEME},
148 #line 218 "../../src/lib/tokens.gperf"
149  {"vt:varColor7",XML_VT_VARCOLOR7},
150 #line 222 "../../src/lib/tokens.gperf"
151  {"vt:variationStyleScheme",XML_VT_VARIATIONSTYLESCHEME},
152  {(char*)0, 0},
153 #line 221 "../../src/lib/tokens.gperf"
154  {"vt:variationClrSchemeLst",XML_VT_VARIATIONCLRSCHEMELST},
155 #line 217 "../../src/lib/tokens.gperf"
156  {"vt:varColor6",XML_VT_VARCOLOR6},
157 #line 223 "../../src/lib/tokens.gperf"
158  {"vt:variationStyleSchemeLst",XML_VT_VARIATIONSTYLESCHEMELST},
159 #line 197 "../../src/lib/tokens.gperf"
160  {"vt:fillProps",XML_VT_FILLPROPS},
161 #line 198 "../../src/lib/tokens.gperf"
162  {"vt:fillStyles",XML_VT_FILLSTYLES},
163 #line 209 "../../src/lib/tokens.gperf"
164  {"vt:lineStyles",XML_VT_LINESTYLES},
165 #line 45 "../../src/lib/tokens.gperf"
166  {"Font",XML_FONT},
167 #line 36 "../../src/lib/tokens.gperf"
168  {"Fill",XML_FILL},
169 #line 204 "../../src/lib/tokens.gperf"
170  {"vt:fontProps",XML_VT_FONTPROPS},
171 #line 205 "../../src/lib/tokens.gperf"
172  {"vt:fontStyles",XML_VT_FONTSTYLES},
173 #line 81 "../../src/lib/tokens.gperf"
174  {"Page",XML_PAGE},
175 #line 20 "../../src/lib/tokens.gperf"
176  {"Char",XML_CHAR},
177 #line 140 "../../src/lib/tokens.gperf"
178  {"X",XML_X},
179 #line 167 "../../src/lib/tokens.gperf"
180  {"a:gradFill",XML_A_GRADFILL},
181 #line 22 "../../src/lib/tokens.gperf"
182  {"Color",XML_COLOR},
183 #line 186 "../../src/lib/tokens.gperf"
184  {"a:solidFill",XML_A_SOLIDFILL},
185 #line 195 "../../src/lib/tokens.gperf"
186  {"vt:color",XML_VT_COLOR},
187 #line 138 "../../src/lib/tokens.gperf"
188  {"VerticalAlign",XML_VERTICALALIGN},
189 #line 183 "../../src/lib/tokens.gperf"
190  {"a:satMod",XML_A_SATMOD},
191 #line 151 "../../src/lib/tokens.gperf"
192  {"a:clrScheme",XML_A_CLRSCHEME},
193 #line 24 "../../src/lib/tokens.gperf"
194  {"Colors",XML_COLORS},
195  {(char*)0, 0},
196 #line 21 "../../src/lib/tokens.gperf"
197  {"Character",XML_CHARACTER},
198  {(char*)0, 0},
199 #line 47 "../../src/lib/tokens.gperf"
200  {"Foreign",XML_FOREIGN},
201 #line 168 "../../src/lib/tokens.gperf"
202  {"a:gs",XML_A_GS},
203 #line 118 "../../src/lib/tokens.gperf"
204  {"SplineKnot",XML_SPLINEKNOT},
205 #line 119 "../../src/lib/tokens.gperf"
206  {"SplineStart",XML_SPLINESTART},
207  {(char*)0, 0}, {(char*)0, 0},
208 #line 150 "../../src/lib/tokens.gperf"
209  {"a:bgFillStyleLst",XML_A_BGFILLSTYLELST},
210 #line 88 "../../src/lib/tokens.gperf"
211  {"Para",XML_PARA},
212 #line 174 "../../src/lib/tokens.gperf"
213  {"a:lnStyleLst",XML_A_LNSTYLELST},
214  {(char*)0, 0},
215 #line 48 "../../src/lib/tokens.gperf"
216  {"ForeignData",XML_FOREIGNDATA},
217 #line 196 "../../src/lib/tokens.gperf"
218  {"vt:connectorFontStyles",XML_VT_CONNECTORFONTSTYLES},
219 #line 152 "../../src/lib/tokens.gperf"
220  {"a:cs",XML_A_CS},
221  {(char*)0, 0},
222 #line 148 "../../src/lib/tokens.gperf"
223  {"a:accent6",XML_A_ACCENT6},
224 #line 103 "../../src/lib/tokens.gperf"
225  {"Section",XML_SECTION},
226 #line 187 "../../src/lib/tokens.gperf"
227  {"a:srgbClr",XML_A_SRGBCLR},
228 #line 192 "../../src/lib/tokens.gperf"
229  {"cp",XML_CP},
230 #line 194 "../../src/lib/tokens.gperf"
231  {"vt:bkgnd",XML_VT_BKGND},
232 #line 93 "../../src/lib/tokens.gperf"
233  {"Pos",XML_POS},
234 #line 41 "../../src/lib/tokens.gperf"
235  {"FillPattern",XML_FILLPATTERN},
236 #line 64 "../../src/lib/tokens.gperf"
237  {"Line",XML_LINE},
238 #line 90 "../../src/lib/tokens.gperf"
239  {"PinX",XML_PINX},
240 #line 206 "../../src/lib/tokens.gperf"
241  {"vt:fontStylesGroup",XML_VT_FONTSTYLESGROUP},
242 #line 149 "../../src/lib/tokens.gperf"
243  {"a:alpha",XML_A_ALPHA},
244 #line 164 "../../src/lib/tokens.gperf"
245  {"a:folHlink",XML_A_FOLHLINK},
246 #line 113 "../../src/lib/tokens.gperf"
247  {"Size",XML_SIZE},
248 #line 87 "../../src/lib/tokens.gperf"
249  {"Pages",XML_PAGES},
250 #line 39 "../../src/lib/tokens.gperf"
251  {"FillForegnd",XML_FILLFOREGND},
252 #line 46 "../../src/lib/tokens.gperf"
253  {"FontScale",XML_FONTSCALE},
254 #line 94 "../../src/lib/tokens.gperf"
255  {"Rel",XML_REL},
256 #line 135 "../../src/lib/tokens.gperf"
257  {"TxtPinX",XML_TXTPINX},
258  {(char*)0, 0},
259 #line 42 "../../src/lib/tokens.gperf"
260  {"Flags",XML_FLAGS},
261 #line 84 "../../src/lib/tokens.gperf"
262  {"PageScale",XML_PAGESCALE},
263 #line 85 "../../src/lib/tokens.gperf"
264  {"PageSheet",XML_PAGESHEET},
265 #line 163 "../../src/lib/tokens.gperf"
266  {"a:fmtScheme",XML_A_FMTSCHEME},
267 #line 69 "../../src/lib/tokens.gperf"
268  {"LineWeight",XML_LINEWEIGHT},
269 #line 179 "../../src/lib/tokens.gperf"
270  {"a:minorFont",XML_A_MINORFONT},
271 #line 199 "../../src/lib/tokens.gperf"
272  {"vt:fmtConnectorScheme",XML_VT_FMTCONNECTORSCHEME},
273 #line 207 "../../src/lib/tokens.gperf"
274  {"vt:lineEx",XML_VT_LINEEX},
275 #line 159 "../../src/lib/tokens.gperf"
276  {"a:ext",XML_A_EXT},
277 #line 83 "../../src/lib/tokens.gperf"
278  {"PageProps",XML_PAGEPROPS},
279 #line 66 "../../src/lib/tokens.gperf"
280  {"LineColor",XML_LINECOLOR},
281 #line 160 "../../src/lib/tokens.gperf"
282  {"a:extLst",XML_A_EXTLST},
283 #line 40 "../../src/lib/tokens.gperf"
284  {"FillForegndTrans",XML_FILLFOREGNDTRANS},
285 #line 189 "../../src/lib/tokens.gperf"
286  {"a:theme",XML_A_THEME},
287 #line 211 "../../src/lib/tokens.gperf"
288  {"vt:themeScheme",XML_VT_THEMESCHEME},
289 #line 142 "../../src/lib/tokens.gperf"
290  {"Y",XML_Y},
291 #line 62 "../../src/lib/tokens.gperf"
292  {"InfiniteLine",XML_INFINITELINE},
293 #line 77 "../../src/lib/tokens.gperf"
294  {"NoFill",XML_NOFILL},
295 #line 75 "../../src/lib/tokens.gperf"
296  {"MoveTo",XML_MOVETO},
297 #line 104 "../../src/lib/tokens.gperf"
298  {"Shape",XML_SHAPE},
299 #line 193 "../../src/lib/tokens.gperf"
300  {"pp",XML_PP},
301 #line 68 "../../src/lib/tokens.gperf"
302  {"LineTo",XML_LINETO},
303 #line 161 "../../src/lib/tokens.gperf"
304  {"a:extraClrSchemeLst",XML_A_EXTRACLRSCHEMELST},
305 #line 72 "../../src/lib/tokens.gperf"
306  {"Master",XML_MASTER},
307 #line 169 "../../src/lib/tokens.gperf"
308  {"a:gsLst",XML_A_GSLST},
309 #line 124 "../../src/lib/tokens.gperf"
310  {"Text",XML_TEXT},
311 #line 67 "../../src/lib/tokens.gperf"
312  {"LinePattern",XML_LINEPATTERN},
313 #line 203 "../../src/lib/tokens.gperf"
314  {"vt:fmtSchemeLineStyles",XML_VT_FMTSCHEMELINESTYLES},
315 #line 136 "../../src/lib/tokens.gperf"
316  {"TxtPinY",XML_TXTPINY},
317 #line 73 "../../src/lib/tokens.gperf"
318  {"Masters",XML_MASTERS},
319 #line 16 "../../src/lib/tokens.gperf"
320  {"BottomMargin",XML_BOTTOMMARGIN},
321 #line 132 "../../src/lib/tokens.gperf"
322  {"TxtHeight",XML_TXTHEIGHT},
323 #line 34 "../../src/lib/tokens.gperf"
324  {"FaceName",XML_FACENAME},
325 #line 80 "../../src/lib/tokens.gperf"
326  {"Overline",XML_OVERLINE},
327  {(char*)0, 0},
328 #line 117 "../../src/lib/tokens.gperf"
329  {"SpLine",XML_SPLINE},
330 #line 201 "../../src/lib/tokens.gperf"
331  {"vt:fmtConnectorSchemeLineStyles",XML_VT_FMTCONNECTORSCHEMELINESTYLES},
332 #line 52 "../../src/lib/tokens.gperf"
333  {"HideText",XML_HIDETEXT},
334 #line 185 "../../src/lib/tokens.gperf"
335  {"a:shade",XML_A_SHADE},
336 #line 74 "../../src/lib/tokens.gperf"
337  {"Misc",XML_MISC},
338 #line 107 "../../src/lib/tokens.gperf"
339  {"Shapes",XML_SHAPES},
340 #line 190 "../../src/lib/tokens.gperf"
341  {"a:themeElements",XML_A_THEMEELEMENTS},
342 #line 26 "../../src/lib/tokens.gperf"
343  {"DblUnderline",XML_DBLUNDERLINE},
344 #line 137 "../../src/lib/tokens.gperf"
345  {"TxtWidth",XML_TXTWIDTH},
346 #line 82 "../../src/lib/tokens.gperf"
347  {"PageHeight",XML_PAGEHEIGHT},
348 #line 43 "../../src/lib/tokens.gperf"
349  {"FlipX",XML_FLIPX},
350 #line 65 "../../src/lib/tokens.gperf"
351  {"LineCap",XML_LINECAP},
352 #line 133 "../../src/lib/tokens.gperf"
353  {"TxtLocPinX",XML_TXTLOCPINX},
354  {(char*)0, 0},
355 #line 91 "../../src/lib/tokens.gperf"
356  {"PinY",XML_PINY},
357 #line 213 "../../src/lib/tokens.gperf"
358  {"vt:varColor2",XML_VT_VARCOLOR2},
359 #line 105 "../../src/lib/tokens.gperf"
360  {"ShapeShdwOffsetX",XML_SHAPESHDWOFFSETX},
361 #line 59 "../../src/lib/tokens.gperf"
362  {"IndFirst",XML_INDFIRST},
363 #line 35 "../../src/lib/tokens.gperf"
364  {"FaceNames",XML_FACENAMES},
365 #line 86 "../../src/lib/tokens.gperf"
366  {"PageWidth",XML_PAGEWIDTH},
367 #line 23 "../../src/lib/tokens.gperf"
368  {"ColorEntry",XML_COLORENTRY},
369 #line 78 "../../src/lib/tokens.gperf"
370  {"NoLine",XML_NOLINE},
371 #line 112 "../../src/lib/tokens.gperf"
372  {"ShdwPattern",XML_SHDWPATTERN},
373 #line 100 "../../src/lib/tokens.gperf"
374  {"ResizeMode",XML_RESIZEMODE},
375 #line 37 "../../src/lib/tokens.gperf"
376  {"FillBkgnd",XML_FILLBKGND},
377 #line 116 "../../src/lib/tokens.gperf"
378  {"SpBefore",XML_SPBEFORE},
379  {(char*)0, 0},
380 #line 70 "../../src/lib/tokens.gperf"
381  {"LocPinX",XML_LOCPINX},
382 #line 12 "../../src/lib/tokens.gperf"
383  {"Angle",XML_ANGLE},
384 #line 63 "../../src/lib/tokens.gperf"
385  {"LeftMargin",XML_LEFTMARGIN},
386 #line 109 "../../src/lib/tokens.gperf"
387  {"ShdwForegnd",XML_SHDWFOREGND},
388 #line 89 "../../src/lib/tokens.gperf"
389  {"Paragraph",XML_PARAGRAPH},
390 #line 212 "../../src/lib/tokens.gperf"
391  {"vt:varColor1",XML_VT_VARCOLOR1},
392 #line 184 "../../src/lib/tokens.gperf"
393  {"a:schemeClr",XML_A_SCHEMECLR},
394 #line 121 "../../src/lib/tokens.gperf"
395  {"Style",XML_STYLE},
396 #line 92 "../../src/lib/tokens.gperf"
397  {"PolylineTo",XML_POLYLINETO},
398 #line 170 "../../src/lib/tokens.gperf"
399  {"a:hlink",XML_A_HLINK},
400 #line 210 "../../src/lib/tokens.gperf"
401  {"vt:schemeID",XML_VT_SCHEMEID},
402 #line 130 "../../src/lib/tokens.gperf"
403  {"TopMargin",XML_TOPMARGIN},
404 #line 180 "../../src/lib/tokens.gperf"
405  {"a:objectDefaults",XML_A_OBJECTDEFAULTS},
406 #line 122 "../../src/lib/tokens.gperf"
407  {"StyleSheet",XML_STYLESHEET},
408 #line 38 "../../src/lib/tokens.gperf"
409  {"FillBkgndTrans",XML_FILLBKGNDTRANS},
410 #line 134 "../../src/lib/tokens.gperf"
411  {"TxtLocPinY",XML_TXTLOCPINY},
412 #line 31 "../../src/lib/tokens.gperf"
413  {"Ellipse",XML_ELLIPSE},
414 #line 15 "../../src/lib/tokens.gperf"
415  {"BeginArrow",XML_BEGINARROW},
416  {(char*)0, 0},
417 #line 106 "../../src/lib/tokens.gperf"
418  {"ShapeShdwOffsetY",XML_SHAPESHDWOFFSETY},
419 #line 202 "../../src/lib/tokens.gperf"
420  {"vt:fmtSchemeEx",XML_VT_FMTSCHEMEEX},
421 #line 97 "../../src/lib/tokens.gperf"
422  {"RelLineTo",XML_RELLINETO},
423 #line 131 "../../src/lib/tokens.gperf"
424  {"TxtAngle",XML_TXTANGLE},
425 #line 98 "../../src/lib/tokens.gperf"
426  {"RelMoveTo",XML_RELMOVETO},
427 #line 49 "../../src/lib/tokens.gperf"
428  {"Geom",XML_GEOM},
429 #line 144 "../../src/lib/tokens.gperf"
430  {"a:accent2",XML_A_ACCENT2},
431  {(char*)0, 0},
432 #line 188 "../../src/lib/tokens.gperf"
433  {"a:sysClr",XML_A_SYSCLR},
434 #line 60 "../../src/lib/tokens.gperf"
435  {"IndLeft",XML_INDLEFT},
436 #line 200 "../../src/lib/tokens.gperf"
437  {"vt:fmtConnectorSchemeEx",XML_VT_FMTCONNECTORSCHEMEEX},
438 #line 71 "../../src/lib/tokens.gperf"
439  {"LocPinY",XML_LOCPINY},
440 #line 32 "../../src/lib/tokens.gperf"
441  {"EllipticalArcTo",XML_ELLIPTICALARCTO},
442 #line 216 "../../src/lib/tokens.gperf"
443  {"vt:varColor5",XML_VT_VARCOLOR5},
444 #line 123 "../../src/lib/tokens.gperf"
445  {"StyleSheets",XML_STYLESHEETS},
446 #line 29 "../../src/lib/tokens.gperf"
447  {"DrawingScale",XML_DRAWINGSCALE},
448 #line 101 "../../src/lib/tokens.gperf"
449  {"RightMargin",XML_RIGHTMARGIN},
450 #line 51 "../../src/lib/tokens.gperf"
451  {"Height",XML_HEIGHT},
452 #line 102 "../../src/lib/tokens.gperf"
453  {"Row",XML_ROW},
454 #line 53 "../../src/lib/tokens.gperf"
455  {"Highlight",XML_HIGHLIGHT},
456 #line 61 "../../src/lib/tokens.gperf"
457  {"IndRight",XML_INDRIGHT},
458 #line 55 "../../src/lib/tokens.gperf"
459  {"ImgHeight",XML_IMGHEIGHT},
460 #line 182 "../../src/lib/tokens.gperf"
461  {"a:prstDash",XML_A_PRSTDASH},
462 #line 143 "../../src/lib/tokens.gperf"
463  {"a:accent1",XML_A_ACCENT1},
464 #line 44 "../../src/lib/tokens.gperf"
465  {"FlipY",XML_FLIPY},
466 #line 141 "../../src/lib/tokens.gperf"
467  {"XForm",XML_XFORM},
468 #line 14 "../../src/lib/tokens.gperf"
469  {"B",XML_B},
470 #line 181 "../../src/lib/tokens.gperf"
471  {"a:outerShdw",XML_A_OUTERSHDW},
472 #line 139 "../../src/lib/tokens.gperf"
473  {"Width",XML_WIDTH},
474 #line 215 "../../src/lib/tokens.gperf"
475  {"vt:varColor4",XML_VT_VARCOLOR4},
476 #line 13 "../../src/lib/tokens.gperf"
477  {"ArcTo",XML_ARCTO},
478 #line 214 "../../src/lib/tokens.gperf"
479  {"vt:varColor3",XML_VT_VARCOLOR3},
480  {(char*)0, 0},
481 #line 58 "../../src/lib/tokens.gperf"
482  {"ImgWidth",XML_IMGWIDTH},
483  {(char*)0, 0}, {(char*)0, 0},
484 #line 115 "../../src/lib/tokens.gperf"
485  {"SpAfter",XML_SPAFTER},
486  {(char*)0, 0},
487 #line 30 "../../src/lib/tokens.gperf"
488  {"E",XML_E},
489  {(char*)0, 0},
490 #line 178 "../../src/lib/tokens.gperf"
491  {"a:majorFont",XML_A_MAJORFONT},
492 #line 96 "../../src/lib/tokens.gperf"
493  {"RelEllipticalArcTo",XML_RELELLIPTICALARCTO},
494 #line 129 "../../src/lib/tokens.gperf"
495  {"TextXForm",XML_TEXTXFORM},
496  {(char*)0, 0},
497 #line 50 "../../src/lib/tokens.gperf"
498  {"Geometry",XML_GEOMETRY},
499  {(char*)0, 0},
500 #line 177 "../../src/lib/tokens.gperf"
501  {"a:lumMod",XML_A_LUMMOD},
502  {(char*)0, 0},
503 #line 108 "../../src/lib/tokens.gperf"
504  {"ShdwBkgnd",XML_SHDWBKGND},
505  {(char*)0, 0},
506 #line 147 "../../src/lib/tokens.gperf"
507  {"a:accent5",XML_A_ACCENT5},
508 #line 95 "../../src/lib/tokens.gperf"
509  {"RelCubBezTo",XML_RELCUBBEZTO},
510 #line 99 "../../src/lib/tokens.gperf"
511  {"RelQuadBezTo",XML_RELQUADBEZTO},
512 #line 125 "../../src/lib/tokens.gperf"
513  {"TextBkgnd",XML_TEXTBKGND},
514  {(char*)0, 0},
515 #line 56 "../../src/lib/tokens.gperf"
516  {"ImgOffsetX",XML_IMGOFFSETX},
517 #line 25 "../../src/lib/tokens.gperf"
518  {"D",XML_D},
519  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
520  {(char*)0, 0}, {(char*)0, 0},
521 #line 110 "../../src/lib/tokens.gperf"
522  {"ShdwOffsetX",XML_SHDWOFFSETX},
523 #line 128 "../../src/lib/tokens.gperf"
524  {"TextDirection",XML_TEXTDIRECTION},
525  {(char*)0, 0},
526 #line 146 "../../src/lib/tokens.gperf"
527  {"a:accent4",XML_A_ACCENT4},
528  {(char*)0, 0},
529 #line 145 "../../src/lib/tokens.gperf"
530  {"a:accent3",XML_A_ACCENT3},
531  {(char*)0, 0},
532 #line 126 "../../src/lib/tokens.gperf"
533  {"TextBkgndTrans",XML_TEXTBKGNDTRANS},
534  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
535  {(char*)0, 0},
536 #line 120 "../../src/lib/tokens.gperf"
537  {"Strikethru",XML_STRIKETHRU},
538  {(char*)0, 0},
539 #line 114 "../../src/lib/tokens.gperf"
540  {"SolutionXML",XML_SOLUTIONXML},
541  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
542  {(char*)0, 0},
543 #line 176 "../../src/lib/tokens.gperf"
544  {"a:lt2",XML_A_LT2},
545 #line 57 "../../src/lib/tokens.gperf"
546  {"ImgOffsetY",XML_IMGOFFSETY},
547  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
548 #line 79 "../../src/lib/tokens.gperf"
549  {"NoShow",XML_NOSHOW},
550  {(char*)0, 0}, {(char*)0, 0},
551 #line 111 "../../src/lib/tokens.gperf"
552  {"ShdwOffsetY",XML_SHDWOFFSETY},
553  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
554  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
555 #line 127 "../../src/lib/tokens.gperf"
556  {"TextBlock",XML_TEXTBLOCK},
557  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
558  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
559 #line 11 "../../src/lib/tokens.gperf"
560  {"A",XML_A},
561  {(char*)0, 0},
562 #line 54 "../../src/lib/tokens.gperf"
563  {"HorzAlign",XML_HORZALIGN},
564  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
565  {(char*)0, 0},
566 #line 175 "../../src/lib/tokens.gperf"
567  {"a:lt1",XML_A_LT1},
568  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
569  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
570  {(char*)0, 0}, {(char*)0, 0},
571 #line 76 "../../src/lib/tokens.gperf"
572  {"NURBSTo",XML_NURBSTO},
573  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
574  {(char*)0, 0},
575 #line 27 "../../src/lib/tokens.gperf"
576  {"DefaultTabStop",XML_DEFAULTTABSTOP},
577  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
578  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
579  {(char*)0, 0}, {(char*)0, 0},
580 #line 154 "../../src/lib/tokens.gperf"
581  {"a:dk2",XML_A_DK2},
582  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
583  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
584  {(char*)0, 0},
585 #line 33 "../../src/lib/tokens.gperf"
586  {"EndArrow",XML_ENDARROW},
587  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
588  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
589  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
590  {(char*)0, 0},
591 #line 28 "../../src/lib/tokens.gperf"
592  {"DoubleStrikethrough",XML_DOUBLESTRIKETHROUGH},
593  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
594  {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0}, {(char*)0, 0},
595  {(char*)0, 0},
596 #line 153 "../../src/lib/tokens.gperf"
597  {"a:dk1",XML_A_DK1}
598  };
599 
600 const struct xmltoken *
601 Perfect_Hash::in_word_set (register const char *str, register unsigned int len)
602 {
603  if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
604  {
605  register int key = hash (str, len);
606 
607  if (key <= MAX_HASH_VALUE && key >= 0)
608  {
609  register const char *s = wordlist[key].name;
610 
611  if (s && *str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
612  return &wordlist[key];
613  }
614  }
615  return 0;
616 }
617 #line 224 "../../src/lib/tokens.gperf"
618 
const int XML_TXTHEIGHT
Definition: tokens.h:125
const int XML_IMGOFFSETX
Definition: tokens.h:49
const int XML_DRAWINGSCALE
Definition: tokens.h:22
const int XML_LEFTMARGIN
Definition: tokens.h:56
const int XML_A_LN
Definition: tokens.h:166
const int XML_FLIPX
Definition: tokens.h:36
const int XML_GEOMETRY
Definition: tokens.h:43
const int XML_CHARACTER
Definition: tokens.h:14
const int XML_SHAPESHDWOFFSETX
Definition: tokens.h:98
const int XML_DBLUNDERLINE
Definition: tokens.h:19
const int XML_A_SCHEMECLR
Definition: tokens.h:177
const int XML_CASE
Definition: tokens.h:11
const int XML_SPAFTER
Definition: tokens.h:108
const int XML_FILLBKGNDTRANS
Definition: tokens.h:31
const int XML_HIDETEXT
Definition: tokens.h:45
const int XML_A_GSLST
Definition: tokens.h:162
const int XML_VT_LINESTYLES
Definition: tokens.h:202
const int XML_A_LIN
Definition: tokens.h:165
const int XML_A_FONTSCHEME
Definition: tokens.h:159
Definition: tokenhash.h:46
const int XML_COLORS
Definition: tokens.h:17
const int XML_C
Definition: tokens.h:10
const int XML_A_EXT
Definition: tokens.h:152
const int XML_OVERLINE
Definition: tokens.h:73
const int XML_A_HLINK
Definition: tokens.h:163
const int XML_VT_FMTCONNECTORSCHEMELINESTYLES
Definition: tokens.h:194
const int XML_VT_VARIATIONSTYLESCHEMELST
Definition: tokens.h:216
const int XML_VT_VARSTYLE
Definition: tokens.h:212
const int XML_CP
Definition: tokens.h:185
const int XML_LINETO
Definition: tokens.h:61
const int XML_PAGEPROPS
Definition: tokens.h:76
const int XML_VT_FILLPROPS
Definition: tokens.h:190
const int XML_PAGEHEIGHT
Definition: tokens.h:75
const int XML_A_EFFECTSTYLELST
Definition: tokens.h:151
const int XML_A_LT2
Definition: tokens.h:169
const int XML_PAGESHEET
Definition: tokens.h:78
const int XML_FLIPY
Definition: tokens.h:37
const int XML_LINEPATTERN
Definition: tokens.h:60
const int XML_VT_FONTSTYLES
Definition: tokens.h:198
const int XML_FILLBKGND
Definition: tokens.h:30
const int XML_FILLFOREGND
Definition: tokens.h:32
const int XML_NOLINE
Definition: tokens.h:71
const int XML_MASTER
Definition: tokens.h:65
const int XML_A_OBJECTDEFAULTS
Definition: tokens.h:173
const int XML_CHAR
Definition: tokens.h:13
const int XML_A_GRADFILL
Definition: tokens.h:160
const int XML_PAGESCALE
Definition: tokens.h:77
const int XML_SHAPE
Definition: tokens.h:97
const int XML_SHAPESHDWOFFSETY
Definition: tokens.h:99
const int XML_NURBSTO
Definition: tokens.h:69
const int XML_RESIZEMODE
Definition: tokens.h:93
const int XML_A_ACCENT3
Definition: tokens.h:138
const int XML_TEXTXFORM
Definition: tokens.h:122
const int XML_TEXTBLOCK
Definition: tokens.h:120
const int XML_VT_FILLSTYLES
Definition: tokens.h:191
const int XML_TEXTBKGND
Definition: tokens.h:118
const int XML_RELCUBBEZTO
Definition: tokens.h:88
const int XML_TXTPINX
Definition: tokens.h:128
const int XML_PAGEWIDTH
Definition: tokens.h:79
const int XML_A_FOLHLINK
Definition: tokens.h:157
const int XML_ENDARROW
Definition: tokens.h:26
const int XML_E
Definition: tokens.h:23
const int XML_FILLPATTERN
Definition: tokens.h:34
const int XML_A_MINORFONT
Definition: tokens.h:172
const int XML_FACENAME
Definition: tokens.h:27
const int XML_LOCPINY
Definition: tokens.h:64
const int XML_VT_THEMESCHEME
Definition: tokens.h:204
int tokenId
Definition: tokenhash.h:36
const int XML_IMGOFFSETY
Definition: tokens.h:50
const int XML_SPLINEKNOT
Definition: tokens.h:111
Definition: tokenhash.h:33
const int XML_TXTLOCPINX
Definition: tokens.h:126
const int XML_A_LT1
Definition: tokens.h:168
const int XML_PAGES
Definition: tokens.h:80
static struct xmltoken wordlist[]
Definition: tokenhash.h:107
const int XML_XFORM
Definition: tokens.h:134
const int XML_VT_VARCOLOR6
Definition: tokens.h:210
const int XML_A_SOLIDFILL
Definition: tokens.h:179
const int XML_TEXTBKGNDTRANS
Definition: tokens.h:119
const int XML_VT_FONTSTYLESGROUP
Definition: tokens.h:199
const int XML_BOTTOMMARGIN
Definition: tokens.h:9
const int XML_COLORENTRY
Definition: tokens.h:16
const int XML_A_ACCENT1
Definition: tokens.h:136
const int XML_SPBEFORE
Definition: tokens.h:109
const int XML_A_PRSTDASH
Definition: tokens.h:175
const int XML_A_FONT
Definition: tokens.h:158
const int XML_STYLESHEETS
Definition: tokens.h:116
const int XML_INDFIRST
Definition: tokens.h:52
const int XML_FLAGS
Definition: tokens.h:35
const int XML_A_LNSTYLELST
Definition: tokens.h:167
const int XML_CELL
Definition: tokens.h:12
const int XML_A_SYSCLR
Definition: tokens.h:181
const int XML_INFINITELINE
Definition: tokens.h:55
const int XML_A_ACCENT4
Definition: tokens.h:139
const int XML_FOREIGN
Definition: tokens.h:40
const int XML_B
Definition: tokens.h:7
const int XML_FOREIGNDATA
Definition: tokens.h:41
const int XML_WIDTH
Definition: tokens.h:132
const int XML_SECTION
Definition: tokens.h:96
const int XML_A_ALPHA
Definition: tokens.h:142
const int XML_A_LUMMOD
Definition: tokens.h:170
const int XML_A_BGFILLSTYLELST
Definition: tokens.h:143
const int XML_VT_VARCOLOR2
Definition: tokens.h:206
const int XML_A_EXTLST
Definition: tokens.h:153
const int XML_SHDWPATTERN
Definition: tokens.h:105
const int XML_VT_VARCOLOR3
Definition: tokens.h:207
static struct xmltoken * in_word_set(const char *str, unsigned int len)
Definition: tokenhash.h:601
const int XML_TXTPINY
Definition: tokens.h:129
const int XML_TEXT
Definition: tokens.h:117
const int XML_MASTERS
Definition: tokens.h:66
const int XML_ARCTO
Definition: tokens.h:6
const int XML_A_MAJORFONT
Definition: tokens.h:171
const int XML_TXTANGLE
Definition: tokens.h:124
const int XML_VT_VARCOLOR4
Definition: tokens.h:208
const int XML_VERTICALALIGN
Definition: tokens.h:131
const int XML_PINX
Definition: tokens.h:83
const int XML_RELQUADBEZTO
Definition: tokens.h:92
const int XML_A_FMTSCHEME
Definition: tokens.h:156
const int XML_VT_VARIATIONCLRSCHEME
Definition: tokens.h:213
const int XML_PARA
Definition: tokens.h:81
const int XML_PAGE
Definition: tokens.h:74
const int XML_ROW
Definition: tokens.h:95
const int XML_A_LATIN
Definition: tokens.h:164
const int XML_A_ACCENT2
Definition: tokens.h:137
const int XML_Y
Definition: tokens.h:135
const int XML_MISC
Definition: tokens.h:67
const int XML_A
Definition: tokens.h:4
const int XML_GEOM
Definition: tokens.h:42
const int XML_REL
Definition: tokens.h:87
const int XML_VT_VARCOLOR1
Definition: tokens.h:205
const int XML_ELLIPTICALARCTO
Definition: tokens.h:25
const int XML_NOSHOW
Definition: tokens.h:72
const int XML_TOPMARGIN
Definition: tokens.h:123
const int XML_VT_VARCOLOR5
Definition: tokens.h:209
const int XML_VT_COLOR
Definition: tokens.h:188
const int XML_RELELLIPTICALARCTO
Definition: tokens.h:89
const int XML_VT_LINESTYLE
Definition: tokens.h:201
const int XML_RELMOVETO
Definition: tokens.h:91
static unsigned int hash(const char *str, unsigned int len)
Definition: tokenhash.h:55
const int XML_A_EFFECTLST
Definition: tokens.h:149
const int XML_POS
Definition: tokens.h:86
const int XML_COLOR
Definition: tokens.h:15
const int XML_VT_CONNECTORFONTSTYLES
Definition: tokens.h:189
const int XML_IMGHEIGHT
Definition: tokens.h:48
const int XML_VT_FONTPROPS
Definition: tokens.h:197
const int XML_SHDWFOREGND
Definition: tokens.h:102
const int XML_VT_FMTCONNECTORSCHEMEEX
Definition: tokens.h:193
const int XML_SHDWOFFSETY
Definition: tokens.h:104
const int XML_VT_VARCOLOR7
Definition: tokens.h:211
const int XML_A_DK1
Definition: tokens.h:146
const int XML_SIZE
Definition: tokens.h:106
const int XML_FACENAMES
Definition: tokens.h:28
const int XML_VT_SCHEMEID
Definition: tokens.h:203
const int XML_PP
Definition: tokens.h:186
const int XML_VT_LINEEX
Definition: tokens.h:200
const int XML_VT_FMTCONNECTORSCHEME
Definition: tokens.h:192
const int XML_X
Definition: tokens.h:133
const int XML_A_FILLSTYLELST
Definition: tokens.h:155
const int XML_BEGINARROW
Definition: tokens.h:8
const int XML_A_ACCENT6
Definition: tokens.h:141
const int XML_POLYLINETO
Definition: tokens.h:85
const int XML_LOCPINX
Definition: tokens.h:63
const int XML_DOUBLESTRIKETHROUGH
Definition: tokens.h:21
const int XML_VT_BKGND
Definition: tokens.h:187
const int XML_RIGHTMARGIN
Definition: tokens.h:94
const int XML_TXTWIDTH
Definition: tokens.h:130
const int XML_PINY
Definition: tokens.h:84
const int XML_FILLFOREGNDTRANS
Definition: tokens.h:33
const int XML_A_SATMOD
Definition: tokens.h:176
const int XML_HEIGHT
Definition: tokens.h:44
const char * name
Definition: tokenhash.h:35
const int XML_IMGWIDTH
Definition: tokens.h:51
const int XML_INDRIGHT
Definition: tokens.h:54
const int XML_SPLINESTART
Definition: tokens.h:112
const int XML_A_EXTRACLRSCHEMELST
Definition: tokens.h:154
const int XML_ANGLE
Definition: tokens.h:5
const int XML_SHAPES
Definition: tokens.h:100
const int XML_FONT
Definition: tokens.h:38
const int XML_LINEWEIGHT
Definition: tokens.h:62
const int XML_SPLINE
Definition: tokens.h:110
const int XML_A_OUTERSHDW
Definition: tokens.h:174
const int XML_D
Definition: tokens.h:18
const int XML_A_GS
Definition: tokens.h:161
const int XML_A_DK2
Definition: tokens.h:147
const int XML_A_SHADE
Definition: tokens.h:178
const int XML_RELLINETO
Definition: tokens.h:90
const int XML_A_THEME
Definition: tokens.h:182
const int XML_A_THEMEELEMENTS
Definition: tokens.h:183
const int XML_PARAGRAPH
Definition: tokens.h:82
const int XML_STYLESHEET
Definition: tokens.h:115
const int XML_ELLIPSE
Definition: tokens.h:24
const int XML_A_EA
Definition: tokens.h:148
const int XML_VT_VARIATIONSTYLESCHEME
Definition: tokens.h:215
const int XML_SHDWBKGND
Definition: tokens.h:101
const int XML_A_ACCENT5
Definition: tokens.h:140
const int XML_LINECOLOR
Definition: tokens.h:59
const int XML_STRIKETHRU
Definition: tokens.h:113
const int XML_A_TINT
Definition: tokens.h:184
const int XML_A_SRGBCLR
Definition: tokens.h:180
const int XML_A_CS
Definition: tokens.h:145
const int XML_TXTLOCPINY
Definition: tokens.h:127
const int XML_TEXTDIRECTION
Definition: tokens.h:121
const int XML_MOVETO
Definition: tokens.h:68
const int XML_VT_FMTSCHEMELINESTYLES
Definition: tokens.h:196
const int XML_DEFAULTTABSTOP
Definition: tokens.h:20
const int XML_LINE
Definition: tokens.h:57
const int XML_SHDWOFFSETX
Definition: tokens.h:103
const int XML_VT_FMTSCHEMEEX
Definition: tokens.h:195
#define MIN_WORD_LENGTH
Definition: VSDXMLTokenMap.cpp:41
const int XML_NOFILL
Definition: tokens.h:70
const int XML_FILL
Definition: tokens.h:29
const int XML_INDLEFT
Definition: tokens.h:53
const int XML_HIGHLIGHT
Definition: tokens.h:46
const int XML_FONTSCALE
Definition: tokens.h:39
const int XML_A_EFFECTSTYLE
Definition: tokens.h:150
const int XML_LINECAP
Definition: tokens.h:58
const int XML_A_CLRSCHEME
Definition: tokens.h:144
const int XML_STYLE
Definition: tokens.h:114
const int XML_HORZALIGN
Definition: tokens.h:47
const int XML_SOLUTIONXML
Definition: tokens.h:107
const int XML_VT_VARIATIONCLRSCHEMELST
Definition: tokens.h:214

Generated for libvisio by doxygen 1.8.5