summaryrefslogtreecommitdiff
path: root/xmloff/source/core/xmltoken.cxx
blob: 6879f37db2950624230e6a1c05aced03abab52b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include <sal/macros.h>
#include <xmloff/xmltoken.hxx>
#include <rtl/ustring.hxx>
#include <rtl/string.hxx>
#include <sal/log.hxx>
#include <optional>
#include <set>


namespace xmloff::token {

    // keep the tokens (and their length)
    namespace
    {
        struct XMLTokenEntry
        {
            const char* pChar;
            std::optional<OUString> xOUString;
            sal_Int32 nLength;
#if OSL_DEBUG_LEVEL > 0
            XMLTokenEnum eToken;
#endif
#if OSL_DEBUG_LEVEL > 0
            XMLTokenEntry(sal_Int32 nLen, const char* p, std::optional<OUString> xStr, XMLTokenEnum eTok)
                : pChar(p), xOUString(std::move(xStr)), nLength(nLen), eToken(eTok) {}
#else
            XMLTokenEntry(sal_Int32 nLen, const char* p, std::optional<OUString> xStr)
                : pChar(p), xOUString(std::move(xStr)), nLength(nLen) {}
#endif
        };
    }


#if OSL_DEBUG_LEVEL > 0
    #define TOKEN( s, e ) { sizeof(s)-1, s, std::nullopt, e }
#else
    #define TOKEN( s, e ) { sizeof(s)-1, s, std::nullopt }
#endif

    // IMPORTANT! aTokenList order MUST be in synch with XMLTokenEnum in include/xmloff/xmltoken.hxx
    // and with xmloff/source/token/tokens.txt.

    struct XMLTokenEntry aTokenList[] =
    {
#if OSL_DEBUG_LEVEL > 0
        { 0, nullptr, std::nullopt, XML_TOKEN_START },
#else
        { 0, nullptr, std::nullopt },                            // XML_TOKEN_START
#endif

        // common XML
        TOKEN( "CDATA",                 XML_CDATA ),
        TOKEN( " ",                     XML_WS ),
        TOKEN( "xml",                   XML_XML ),
        TOKEN( "xmlns",                 XML_XMLNS ),
        TOKEN( "version=\"1.0\" encoding=\"UTF-8\"",      XML_XML_PI ),
        TOKEN( "<!DOCTYPE ",            XML_XML_DOCTYPE_PREFIX ),
        TOKEN( " PUBLIC \"-//OpenOffice.org//DTD OfficeDocument 1.0//EN\" \"office.dtd\">",      XML_XML_DOCTYPE_SUFFIX ),

        // namespace prefixes and names
        TOKEN( "http://www.w3.org/XML/1998/namespace",      XML_N_XML ),
        TOKEN( "office",                XML_NP_OFFICE ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:office:1.0",      XML_N_OFFICE ),
        TOKEN( "http://sun.com/xmlns/staroffice/office",      XML_N_OFFICE_OLD ),
        TOKEN( "meta",                  XML_NP_META ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:meta:1.0",      XML_N_META ),
        TOKEN( "http://sun.com/xmlns/staroffice/meta",      XML_N_META_OLD ),
        TOKEN( "style",                 XML_NP_STYLE ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:style:1.0",      XML_N_STYLE ),
        TOKEN( "http://sun.com/xmlns/staroffice/style",      XML_N_STYLE_OLD ),
        TOKEN( "number",                XML_NP_NUMBER ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0",      XML_N_NUMBER ),
        TOKEN( "http://sun.com/xmlns/staroffice/number",      XML_N_NUMBER_OLD ),
        TOKEN( "text",                  XML_NP_TEXT ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:text:1.0",      XML_N_TEXT ),
        TOKEN( "http://sun.com/xmlns/staroffice/text",      XML_N_TEXT_OLD ),
        TOKEN( "table",                 XML_NP_TABLE ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:table:1.0",      XML_N_TABLE ),
        TOKEN( "http://sun.com/xmlns/staroffice/table",      XML_N_TABLE_OLD ),
        TOKEN( "draw",                  XML_NP_DRAW ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0",      XML_N_DRAW ),
        TOKEN( "dr3d",                  XML_NP_DR3D ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0",      XML_N_DR3D ),
        TOKEN( "http://sun.com/xmlns/staroffice/draw",      XML_N_DRAW_OLD ),
        TOKEN( "presentation",             XML_NP_PRESENTATION ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0",      XML_N_PRESENTATION ),
        TOKEN( "http://sun.com/xmlns/staroffice/presentation",      XML_N_PRESENTATION_OLD ),
        TOKEN( "chart",                     XML_NP_CHART ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:chart:1.0",      XML_N_CHART ),
        TOKEN( "config",                    XML_NP_CONFIG ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:config:1.0",      XML_N_CONFIG ),
        TOKEN( "http://sun.com/xmlns/staroffice/chart",      XML_N_CHART_OLD ),
        TOKEN( "fo",                        XML_NP_FO ),
        TOKEN( "http://www.w3.org/1999/XSL/Format/",      XML_N_FO_OLD ),
        TOKEN( "http://www.w3.org/1999/XSL/Format",      XML_N_FO ),
        TOKEN( "xlink",                     XML_NP_XLINK ),
        TOKEN( "http://www.w3.org/1999/xlink",      XML_N_XLINK ),
        TOKEN( "http://www.w3.org/1999/xlink/namespace",      XML_N_XLINK_OLD ),
        TOKEN( "dc",                        XML_NP_DC ),
        TOKEN( "http://purl.org/dc/elements/1.1/",      XML_N_DC ),
        TOKEN( "svg",                       XML_NP_SVG ),
        TOKEN( "http://www.w3.org/2000/svg",      XML_N_SVG ),
        TOKEN( "form",                      XML_NP_FORM ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:form:1.0",      XML_N_FORM ),
        TOKEN( "script",                    XML_NP_SCRIPT ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:script:1.0",      XML_N_SCRIPT ),
        TOKEN( "tcd",                    XML_NP_TCD ),
        TOKEN( "http://openoffice.org/2003/text-conversion-dictionary",      XML_N_TCD ),
        TOKEN( "xforms",                                    XML_NP_XFORMS_1_0 ),
        TOKEN( "http://www.w3.org/2002/xforms",             XML_N_XFORMS_1_0 ),
        TOKEN( "xsd",                                       XML_NP_XSD ),
        TOKEN( "http://www.w3.org/2001/XMLSchema",          XML_N_XSD ),
        TOKEN( "xsi",                                       XML_NP_XSI ),
        TOKEN( "http://www.w3.org/2001/XMLSchema-instance", XML_N_XSI ),

        TOKEN( "block-list",                XML_NP_BLOCK_LIST ),
        TOKEN( "http://openoffice.org/2001/block-list",      XML_N_BLOCK_LIST ),

        TOKEN( "math",                      XML_NP_MATH ),
        TOKEN( "http://www.w3.org/1998/Math/MathML",      XML_N_MATH ),

        TOKEN( "VL",                        XML_NP_VERSIONS_LIST ),
        TOKEN( "http://openoffice.org/2001/versions-list",      XML_N_VERSIONS_LIST ),

        // erAck: 2008-04-09T20:12+0200  OpenFormula aka ODFF
        TOKEN( "of",                    XML_NP_OF ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:of:1.2",  XML_N_OF ),

        // ODF 1.2 metadata: RDFa and GRDDL
        TOKEN( "xhtml",                                 XML_NP_XHTML ),
        TOKEN( "http://www.w3.org/1999/xhtml",          XML_N_XHTML ),
        TOKEN( "grddl",                                 XML_NP_GRDDL ),
        TOKEN( "http://www.w3.org/2003/g/data-view#",   XML_N_GRDDL ),

        // OOo extension digital signatures, used in ODF 1.1
        TOKEN( "dsigooo", XML_NP_DSIG_OOO ),
        TOKEN( "http://openoffice.org/2004/documentsignatures", XML_N_DSIG_OOO ),
        // ODF 1.2 digital signature namespaces
        TOKEN( "dsig", XML_NP_DSIG ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0", XML_N_DSIG ),
        TOKEN( "ds", XML_NP_DS ),
        TOKEN( "http://www.w3.org/2000/09/xmldsig#", XML_N_DS ),
        TOKEN( "xades132", XML_NP_XADES132 ),
        TOKEN( "http://uri.etsi.org/01903/v1.3.2#", XML_N_XADES132 ),
        TOKEN( "xades141", XML_NP_XADES141 ),
        TOKEN( "http://uri.etsi.org/01903/v1.4.1#", XML_N_XADES141 ),

        // ODF Enhanced namespaces
        TOKEN( "officeooo", XML_NP_OFFICE_EXT ),
        TOKEN( "http://openoffice.org/2009/office", XML_N_OFFICE_EXT ),

        // jonp: 2008-09-24 Excel Interop
        TOKEN( "formx",                           XML_NP_FORMX ),
        TOKEN( "urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0", XML_N_FORMX ),
        TOKEN( "tableooo", XML_NP_TABLE_EXT ),
        TOKEN( "http://openoffice.org/2009/table", XML_N_TABLE_EXT ),

        TOKEN( "drawooo", XML_NP_DRAW_EXT ),
        TOKEN( "http://openoffice.org/2010/draw", XML_N_DRAW_EXT ),

        TOKEN( "css3t",                        XML_NP_CSS3TEXT ),
        TOKEN( "http://www.w3.org/TR/css3-text/", XML_N_CSS3TEXT ),

        // extension namespace for calc extensions
        TOKEN( "calcext",                         XML_NP_CALC_EXT ),
        TOKEN( "urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0", XML_N_CALC_EXT ),
        TOKEN( "loext",                           XML_NP_LO_EXT ),
        TOKEN( "urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0", XML_N_LO_EXT ),

        TOKEN( "urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0",   XML_N_FIELD ),
        TOKEN( "field",         XML_NP_FIELD ),

        // units
        TOKEN( "m",                               XML_UNIT_M ),
        TOKEN( "cm",                              XML_UNIT_CM ),
        TOKEN( "pt",                              XML_UNIT_PT ),
        TOKEN( "pc",                              XML_UNIT_PC ),
        TOKEN( "ft",                              XML_UNIT_FOOT ),

        // any other
        TOKEN( "1",                               XML_1 ),
        TOKEN( "10",                              XML_10 ),
        TOKEN( "2",                               XML_2 ),
        TOKEN( "3",                               XML_3 ),
        TOKEN( "4",                               XML_4 ),
        TOKEN( "5",                               XML_5 ),
        TOKEN( "6",                               XML_6 ),
        TOKEN( "7",                               XML_7 ),
        TOKEN( "8",                               XML_8 ),
        TOKEN( "9",                               XML_9 ),
        TOKEN( "A",                               XML_A_UPCASE ),
        TOKEN( "I",                               XML_I_UPCASE ),
        TOKEN( "IBM437",                          XML_IBM437 ),
        TOKEN( "IBM850",                          XML_IBM850 ),
        TOKEN( "IBM860",                          XML_IBM860 ),
        TOKEN( "IBM861",                          XML_IBM861 ),
        TOKEN( "IBM863",                          XML_IBM863 ),
        TOKEN( "IBM865",                          XML_IBM865 ),
        TOKEN( "ISO-8859-1",                      XML_ISO_8859_1 ),
        TOKEN( "ole2",                            XML_OLE2 ),
        TOKEN( ":",                               XML__COLON ),
        TOKEN( "",                                XML__EMPTY ),
        TOKEN( "_unknown_",                       XML__UNKNOWN_ ),

        TOKEN( "a",                               XML_A ),
        TOKEN( "abbreviated-name",                XML_ABBREVIATED_NAME ),
        TOKEN( "above",                           XML_ABOVE ),
        TOKEN( "abs",                             XML_ABS ),
        TOKEN( "accent",                          XML_ACCENT ),
        TOKEN( "accentunder",                     XML_ACCENTUNDER ),
        TOKEN( "acceptance-state",                XML_ACCEPTANCE_STATE ),
        TOKEN( "accepted",                        XML_ACCEPTED ),
        TOKEN( "action",                          XML_ACTION ),
        TOKEN( "active",                          XML_ACTIVE ),
        TOKEN( "active-split-range",              XML_ACTIVE_SPLIT_RANGE ),
        TOKEN( "active-table",                    XML_ACTIVE_TABLE ),
        TOKEN( "actuate",                         XML_ACTUATE ),
        TOKEN( "add-in",                          XML_ADD_IN ),
        TOKEN( "add-in-name",                     XML_ADD_IN_NAME ),
        TOKEN( "address",                         XML_ADDRESS ),
        TOKEN( "adjustment",                      XML_ADJUSTMENT ),
        TOKEN( "algorithm",                       XML_ALGORITHM ),
        TOKEN( "align",                           XML_ALIGN ),
        TOKEN( "all",                             XML_ALL ),
        TOKEN( "allow-empty-cell",                XML_ALLOW_EMPTY_CELL ),
        TOKEN( "allow-deletes",                   XML_ALLOW_DELETES ),
        TOKEN( "allow-inserts",                   XML_ALLOW_INSERTS ),
        TOKEN( "allow-updates",                   XML_ALLOW_UPDATES ),
        TOKEN( "alphabetical-index",              XML_ALPHABETICAL_INDEX ),
        TOKEN( "alphabetical-index-auto-mark-file",       XML_ALPHABETICAL_INDEX_AUTO_MARK_FILE ),
        TOKEN( "alphabetical-index-entry-template",       XML_ALPHABETICAL_INDEX_ENTRY_TEMPLATE ),
        TOKEN( "alphabetical-index-mark",         XML_ALPHABETICAL_INDEX_MARK ),
        TOKEN( "alphabetical-index-mark-end",     XML_ALPHABETICAL_INDEX_MARK_END ),
        TOKEN( "alphabetical-index-mark-start",       XML_ALPHABETICAL_INDEX_MARK_START ),
        TOKEN( "alphabetical-index-source",       XML_ALPHABETICAL_INDEX_SOURCE ),
        TOKEN( "alphabetical-separators",         XML_ALPHABETICAL_SEPARATORS ),
        TOKEN( "alternate",                       XML_ALTERNATE ),
        TOKEN( "am-pm",                           XML_AM_PM ),
        TOKEN( "ambient-color",                   XML_AMBIENT_COLOR ),
        TOKEN( "anchor-page-number",              XML_ANCHOR_PAGE_NUMBER ),
        TOKEN( "anchor-type",                     XML_ANCHOR_TYPE ),
        TOKEN( "and",                             XML_AND ),
        TOKEN( "animation",                       XML_ANIMATION ),
        TOKEN( "animation-delay",                 XML_ANIMATION_DELAY ),
        TOKEN( "animation-direction",             XML_ANIMATION_DIRECTION ),
        TOKEN( "animation-repeat",                XML_ANIMATION_REPEAT ),
        TOKEN( "animation-start-inside",          XML_ANIMATION_START_INSIDE ),
        TOKEN( "animation-steps",                 XML_ANIMATION_STEPS ),
        TOKEN( "animation-stop-inside",           XML_ANIMATION_STOP_INSIDE ),
        TOKEN( "animations",                      XML_ANIMATIONS ),
        TOKEN( "annotation",                      XML_ANNOTATION ),
        TOKEN( "annotation-end",                  XML_ANNOTATION_END ),
        TOKEN( "annotations",                     XML_ANNOTATIONS ),
        TOKEN( "annote",                          XML_ANNOTE ),
        TOKEN( "appear",                          XML_APPEAR ),
        TOKEN( "applet",                          XML_APPLET ),
        TOKEN( "applet-name",                     XML_APPLET_NAME ),
        TOKEN( "application-data",                XML_APPLICATION_DATA ),
        TOKEN( "application-xml",                 XML_APPLICATION_XML ),
        TOKEN( "apply",                           XML_APPLY ),
        TOKEN( "apply-design-mode",               XML_APPLY_DESIGN_MODE ),
        TOKEN( "apply-style-name",                XML_APPLY_STYLE_NAME ),
        TOKEN( "aqua",                            XML_AQUA ),
        TOKEN( "arc",                             XML_ARC ),
        TOKEN( "arccos",                          XML_ARCCOS ),
        TOKEN( "archive",                         XML_ARCHIVE ),
        TOKEN( "arcsin",                          XML_ARCSIN ),
        TOKEN( "arctan",                          XML_ARCTAN ),
        TOKEN( "area",                            XML_AREA ),
        TOKEN( "area-circle",                     XML_AREA_CIRCLE ),
        TOKEN( "area-polygon",                    XML_AREA_POLYGON ),
        TOKEN( "area-rectangle",                  XML_AREA_RECTANGLE ),
        TOKEN( "article",                         XML_ARTICLE ),
        TOKEN( "as-char",                         XML_AS_CHAR ),
        TOKEN( "ascending",                       XML_ASCENDING ),
        TOKEN( "attached-axis",                   XML_ATTACHED_AXIS ),
        TOKEN( "attractive",                      XML_ATTRACTIVE ),
        TOKEN( "author",                          XML_AUTHOR ),
        TOKEN( "author-initials",                 XML_AUTHOR_INITIALS ),
        TOKEN( "author-name",                     XML_AUTHOR_NAME ),
        TOKEN( "auto",                            XML_AUTO ),
        TOKEN( "auto-complete",                   XML_AUTO_COMPLETE ),
        TOKEN( "auto-create-new-frame",           XML_AUTO_CREATE_NEW_FRAME ),
        TOKEN( "auto-grow-height",                XML_AUTO_GROW_HEIGHT ),
        TOKEN( "auto-grow-width",                 XML_AUTO_GROW_WIDTH ),
        TOKEN( "auto-reload",                     XML_AUTO_RELOAD ),
        TOKEN( "auto-text",                       XML_AUTO_TEXT ),
        TOKEN( "auto-text-events",                XML_AUTO_TEXT_EVENTS ),
        TOKEN( "auto-text-group",                 XML_AUTO_TEXT_GROUP ),
        TOKEN( "auto-text-indent",                XML_AUTO_TEXT_INDENT ),
        TOKEN( "auto-update",                     XML_AUTO_UPDATE ),
        TOKEN( "automatic",                       XML_AUTOMATIC ),
        TOKEN( "automatic-find-labels",           XML_AUTOMATIC_FIND_LABELS ),
        TOKEN( "automatic-focus",                 XML_AUTOMATIC_FOCUS ),
        TOKEN( "automatic-order",                 XML_AUTOMATIC_ORDER ),
        TOKEN( "automatic-styles",                XML_AUTOMATIC_STYLES ),
        TOKEN( "automatic-update",                XML_AUTOMATIC_UPDATE ),
        TOKEN( "autosize",                        XML_AUTOSIZE ),
        TOKEN( "average",                         XML_AVERAGE ),
        TOKEN( "averaged-abscissa",               XML_AVERAGED_ABSCISSA ),
        TOKEN( "axis",                            XML_AXIS ),
        TOKEN( "axis-color",                      XML_AXIS_COLOR ),
        TOKEN( "back-scale",                      XML_BACK_SCALE ),
        TOKEN( "backface-culling",                XML_BACKFACE_CULLING ),
        TOKEN( "background",                      XML_BACKGROUND ),
        TOKEN( "background-color",                XML_BACKGROUND_COLOR ),
        TOKEN( "background-complex-color",        XML_BACKGROUND_COMPLEX_COLOR ),
        TOKEN( "background-image",                XML_BACKGROUND_IMAGE ),
        TOKEN( "no-repeat",                       XML_BACKGROUND_NO_REPEAT ),
        TOKEN( "bar",                             XML_BAR ),
        TOKEN( "base64Binary",                    XML_BASE64BINARY ),
        TOKEN( "base-cell-address",               XML_BASE_CELL_ADDRESS ),
        TOKEN( "baseline",                        XML_BASELINE ),
        TOKEN( "before-date-time",                XML_BEFORE_DATE_TIME ),
        TOKEN( "below",                           XML_BELOW ),
        TOKEN( "between-date-times",              XML_BETWEEN_DATE_TIMES ),
        TOKEN( "bevel",                           XML_BEVEL ),
        TOKEN( "bevelled",                        XML_BEVELLED ),
        TOKEN( "bibiliographic-type",             XML_BIBILIOGRAPHIC_TYPE ),
        TOKEN( "bibliography",                    XML_BIBLIOGRAPHY ),
        TOKEN( "bibliography-configuration",      XML_BIBLIOGRAPHY_CONFIGURATION ),
        TOKEN( "bibliography-data-field",         XML_BIBLIOGRAPHY_DATA_FIELD ),
        TOKEN( "bibliography-entry-template",     XML_BIBLIOGRAPHY_ENTRY_TEMPLATE ),
        TOKEN( "bibliography-mark",               XML_BIBLIOGRAPHY_MARK ),
        TOKEN( "bibliography-source",             XML_BIBLIOGRAPHY_SOURCE ),
        TOKEN( "bibliography-type",               XML_BIBLIOGRAPHY_TYPE ),
        TOKEN( "bind-styles-to-content",          XML_BIND_STYLES_TO_CONTENT ),
        TOKEN( "bitmap",                          XML_BITMAP ),
        TOKEN( "bitmap-table",                    XML_BITMAP_TABLE ),
        TOKEN( "black",                           XML_BLACK ),
        TOKEN( "blend",                           XML_BLEND ),
        TOKEN( "blinking",                        XML_BLINKING ),
        TOKEN( "block",                           XML_BLOCK ),
        TOKEN( "block-list",                      XML_BLOCK_LIST ),
        TOKEN( "blue",                            XML_BLUE ),
        TOKEN( "body",                            XML_BODY ),
        TOKEN( "bold",                            XML_BOLD ),
        TOKEN( "book",                            XML_BOOK ),
        TOKEN( "booklet",                         XML_BOOKLET ),
        TOKEN( "bookmark",                        XML_BOOKMARK ),
        TOKEN( "bookmark-end",                    XML_BOOKMARK_END ),
        TOKEN( "bookmark-ref",                    XML_BOOKMARK_REF ),
        TOKEN( "bookmark-start",                  XML_BOOKMARK_START ),
        TOKEN( "booktitle",                       XML_BOOKTITLE ),
        TOKEN( "boolean",                         XML_BOOLEAN ),
        TOKEN( "boolean-style",                   XML_BOOLEAN_STYLE ),
        TOKEN( "boolean-value",                   XML_BOOLEAN_VALUE ),
        TOKEN( "border",                          XML_BORDER ),
        TOKEN( "border-bottom",                   XML_BORDER_BOTTOM ),
        TOKEN( "border-bottom-complex-color",     XML_BORDER_BOTTOM_COMPLEX_COLOR ),
        TOKEN( "border-color",                    XML_BORDER_COLOR ),
        TOKEN( "border-left",                     XML_BORDER_LEFT ),
        TOKEN( "border-left-complex-color",       XML_BORDER_LEFT_COMPLEX_COLOR ),
        TOKEN( "border-line-width",               XML_BORDER_LINE_WIDTH ),
        TOKEN( "border-line-width-bottom",        XML_BORDER_LINE_WIDTH_BOTTOM ),
        TOKEN( "border-line-width-left",          XML_BORDER_LINE_WIDTH_LEFT ),
        TOKEN( "border-line-width-right",         XML_BORDER_LINE_WIDTH_RIGHT ),
        TOKEN( "border-line-width-top",           XML_BORDER_LINE_WIDTH_TOP ),
        TOKEN( "border-right",                    XML_BORDER_RIGHT ),
        TOKEN( "border-right-complex-color",      XML_BORDER_RIGHT_COMPLEX_COLOR ),
        TOKEN( "border-top",                      XML_BORDER_TOP ),
        TOKEN( "border-top-complex-color",        XML_BORDER_TOP_COMPLEX_COLOR ),
        TOKEN( "both",                            XML_BOTH ),
        TOKEN( "bottom",                          XML_BOTTOM ),
        TOKEN( "bottom-left",                     XML_BOTTOM_LEFT ),
        TOKEN( "bottom percent",                  XML_BOTTOM_PERCENT ),
        TOKEN( "bottom-right",                    XML_BOTTOM_RIGHT ),
        TOKEN( "bottom values",                   XML_BOTTOM_VALUES ),
        TOKEN( "bottom-arc",                      XML_BOTTOMARC ),
        TOKEN( "bottom-circle",                   XML_BOTTOMCIRCLE ),
        TOKEN( "bound-column",                    XML_BOUND_COLUMN ),
        TOKEN( "break-after",                     XML_BREAK_AFTER ),
        TOKEN( "break-before",                    XML_BREAK_BEFORE ),
        TOKEN( "break-inside",                    XML_BREAK_INSIDE ),
        TOKEN( "bubble",                          XML_BUBBLE ),
        TOKEN( "bullet-char",                     XML_BULLET_CHAR ),
        TOKEN( "bullet-relative-size",            XML_BULLET_RELATIVE_SIZE ),
        TOKEN( "butt",                            XML_BUTT ),
        TOKEN( "button1",                         XML_BUTTON1 ),
        TOKEN( "button2",                         XML_BUTTON2 ),
        TOKEN( "button3",                         XML_BUTTON3 ),
        TOKEN( "button4",                         XML_BUTTON4 ),
        TOKEN( "buttons",                         XML_BUTTONS ),
        TOKEN( "button-type",                     XML_BUTTON_TYPE ),
        TOKEN( "bvar",                            XML_BVAR ),
        TOKEN( "c",                               XML_C ),
        TOKEN( "calculation-settings",            XML_CALCULATION_SETTINGS ),
        TOKEN( "calendar",                        XML_CALENDAR ),
        TOKEN( "capitalize-entries",              XML_CAPITALIZE_ENTRIES ),
        TOKEN( "can-add-comment",                 XML_CAN_ADD_COMMENT ),
        TOKEN( "caption",                         XML_CAPTION ),
        TOKEN( "caption-point-x",                 XML_CAPTION_POINT_X ),
        TOKEN( "caption-point-y",                 XML_CAPTION_POINT_Y ),
        TOKEN( "caption-sequence-format",         XML_CAPTION_SEQUENCE_FORMAT ),
        TOKEN( "caption-sequence-name",           XML_CAPTION_SEQUENCE_NAME ),
        TOKEN( "case-sensitive",                  XML_CASE_SENSITIVE ),
        TOKEN( "capitalize",                      XML_CASEMAP_CAPITALIZE ),
        TOKEN( "lowercase",                       XML_CASEMAP_LOWERCASE ),
        TOKEN( "small-caps",                      XML_CASEMAP_SMALL_CAPS ),
        TOKEN( "uppercase",                       XML_CASEMAP_UPPERCASE ),
        TOKEN( "categories",                      XML_CATEGORIES ),
        TOKEN( "category",                        XML_CATEGORY ),
        TOKEN( "category-and-value",              XML_CATEGORY_AND_VALUE ),
        TOKEN( "cell-address",                    XML_CELL_ADDRESS ),
        TOKEN( "cell-content-change",             XML_CELL_CONTENT_CHANGE ),
        TOKEN( "cell-content-deletion",           XML_CELL_CONTENT_DELETION ),
        TOKEN( "cell-count",                      XML_CELL_COUNT ),
        TOKEN( "cell-protect",                    XML_CELL_PROTECT ),
        TOKEN( "cell-range-address",              XML_CELL_RANGE_ADDRESS ),
        TOKEN( "cell-range-address-list",         XML_CELL_RANGE_ADDRESS_LIST ),
        TOKEN( "cell-range-source",               XML_CELL_RANGE_SOURCE ),
        TOKEN( "center",                          XML_CENTER ),
        TOKEN( "central",                         XML_CENTRAL ),
        TOKEN( "chain-next-name",                 XML_CHAIN_NEXT_NAME ),
        TOKEN( "change",                          XML_CHANGE ),
        TOKEN( "change-deletion",                 XML_CHANGE_DELETION ),
        TOKEN( "change-end",                      XML_CHANGE_END ),
        TOKEN( "change-id",                       XML_CHANGE_ID ),
        TOKEN( "change-info",                     XML_CHANGE_INFO ),
        TOKEN( "change-start",                    XML_CHANGE_START ),
        TOKEN( "change-track-table-cell",         XML_CHANGE_TRACK_TABLE_CELL ),
        TOKEN( "change-view-conditions",          XML_CHANGE_VIEW_CONDITIONS ),
        TOKEN( "change-view-settings",            XML_CHANGE_VIEW_SETTINGS ),
        TOKEN( "changed-region",                  XML_CHANGED_REGION ),
        TOKEN( "chapter",                         XML_CHAPTER ),
        TOKEN( "char",                            XML_CHAR ),
        TOKEN( "char-shading-value",              XML_CHAR_SHADING_VALUE ),
        TOKEN( "character-count",                 XML_CHARACTER_COUNT ),
        TOKEN( "chart",                           XML_CHART ),
        TOKEN( "charts",                          XML_CHARTS ),
        TOKEN( "checkerboard",                    XML_CHECKERBOARD ),
        TOKEN( "chg-author",                      XML_CHG_AUTHOR ),
        TOKEN( "chg-comment",                     XML_CHG_COMMENT ),
        TOKEN( "chg-date-time",                   XML_CHG_DATE_TIME ),
        TOKEN( "ci",                              XML_CI ),
        TOKEN( "circle",                          XML_CIRCLE ),
        TOKEN( "citation-body-style-name",        XML_CITATION_BODY_STYLE_NAME ),
        TOKEN( "citation-style-name",             XML_CITATION_STYLE_NAME ),
        TOKEN( "class",                           XML_CLASS ),
        TOKEN( "class-id",                        XML_CLASS_ID ),
        TOKEN( "clip",                            XML_CLIP ),
        TOKEN( "clockwise",                       XML_CLOCKWISE ),
        TOKEN( "close",                           XML_CLOSE ),
        TOKEN( "close-horizontal",                XML_CLOSE_HORIZONTAL ),
        TOKEN( "close-vertical",                  XML_CLOSE_VERTICAL ),
        TOKEN( "cn",                              XML_CN ),
        TOKEN( "code",                            XML_CODE ),
        TOKEN( "codebase",                        XML_CODEBASE ),
        TOKEN( "collapse",                        XML_COLLAPSE ),
        TOKEN( "color",                           XML_COLOR ),
        TOKEN( "color-axis",                      XML_COLOR_AXIS ),
        TOKEN( "color-first",                     XML_COLOR_FIRST ),
        TOKEN( "color-high",                      XML_COLOR_HIGH ),
        TOKEN( "color-inversion",                 XML_COLOR_INVERSION ),
        TOKEN( "color-last",                      XML_COLOR_LAST ),
        TOKEN( "color-low",                       XML_COLOR_LOW ),
        TOKEN( "color-markers",                   XML_COLOR_MARKERS ),
        TOKEN( "color-mode",                      XML_COLOR_MODE ),
        TOKEN( "color-negative",                  XML_COLOR_NEGATIVE ),
        TOKEN( "color-series",                    XML_COLOR_SERIES ),
        TOKEN( "color-scale",                     XML_COLOR_SCALE ),
        TOKEN( "color-scale-entry",               XML_COLOR_SCALE_ENTRY ),
        TOKEN( "color-table",                     XML_COLOR_TABLE ),
        TOKEN( "column",                          XML_COLUMN ),
        TOKEN( "column-count",                    XML_COLUMN_COUNT ),
        TOKEN( "column-gap",                      XML_COLUMN_GAP ),
        TOKEN( "column-name",                     XML_COLUMN_NAME ),
        TOKEN( "column-sep",                      XML_COLUMN_SEP ),
        TOKEN( "column-width",                    XML_COLUMN_WIDTH ),
        TOKEN( "columnalign",                     XML_COLUMNALIGN ),
        TOKEN( "columns",                         XML_COLUMNS ),
        TOKEN( "avoid",                           XML_COLUMNSPLIT_AVOID ),
        TOKEN( "combine-entries",                 XML_COMBINE_ENTRIES ),
        TOKEN( "combine-entries-with-dash",       XML_COMBINE_ENTRIES_WITH_DASH ),
        TOKEN( "combine-entries-with-pp",         XML_COMBINE_ENTRIES_WITH_PP ),
        TOKEN( "comma-separated",                 XML_COMMA_SEPARATED ),
        TOKEN( "command",                         XML_COMMAND ),
        TOKEN( "comment",                         XML_COMMENT ),
        TOKEN( "compose",                         XML_COMPOSE ),
        TOKEN( "cond-style-name",                 XML_COND_STYLE_NAME ),
        TOKEN( "condition",                       XML_CONDITION ),
        TOKEN( "condition-source",                XML_CONDITION_SOURCE ),
        TOKEN( "condition-source-range-address",      XML_CONDITION_SOURCE_RANGE_ADDRESS ),
        TOKEN( "conditional-text",                XML_CONDITIONAL_TEXT ),
        TOKEN( "conditional-format",              XML_CONDITIONAL_FORMAT ),
        TOKEN( "conditional-formats",             XML_CONDITIONAL_FORMATS ),
        TOKEN( "cone",                            XML_CONE ),
        TOKEN( "conference",                      XML_CONFERENCE ),
        TOKEN( "config-item",                     XML_CONFIG_ITEM ),
        TOKEN( "config-item-map-entry",           XML_CONFIG_ITEM_MAP_ENTRY ),
        TOKEN( "config-item-map-indexed",         XML_CONFIG_ITEM_MAP_INDEXED ),
        TOKEN( "config-item-map-named",           XML_CONFIG_ITEM_MAP_NAMED ),
        TOKEN( "config-item-set",                 XML_CONFIG_ITEM_SET ),
        TOKEN( "configuration-settings",          XML_CONFIGURATION_SETTINGS ),
        TOKEN( "conjugate",                       XML_CONJUGATE ),
        TOKEN( "connect-bars",                    XML_CONNECT_BARS ),
        TOKEN( "connection-name",                 XML_CONNECTION_NAME ),
        TOKEN( "connector",                       XML_CONNECTOR ),
        TOKEN( "consecutive-numbering",           XML_CONSECUTIVE_NUMBERING ),
        TOKEN( "consolidation",                   XML_CONSOLIDATION ),
        TOKEN( "constant",                        XML_CONSTANT ),
        TOKEN( "contains-error",                  XML_CONTAINS_ERROR ),
        TOKEN( "contains-header",                 XML_CONTAINS_HEADER ),
        TOKEN( "content",                         XML_CONTENT ),
        TOKEN( "content-validation",              XML_CONTENT_VALIDATION ),
        TOKEN( "content-validation-name",         XML_CONTENT_VALIDATION_NAME ),
        TOKEN( "content-validations",             XML_CONTENT_VALIDATIONS ),
        TOKEN( "contextual-spacing",              XML_CONTEXTUAL_SPACING ),
        TOKEN( "continue",                        XML_CONTINUE ),
        TOKEN( "continue-numbering",              XML_CONTINUE_NUMBERING ),
        TOKEN( "contour-path",                    XML_CONTOUR_PATH ),
        TOKEN( "contour-polygon",                 XML_CONTOUR_POLYGON ),
        TOKEN( "contrast",                        XML_CONTRAST ),
        TOKEN( "contributor",                     XML_CONTRIBUTOR ),
        TOKEN( "control",                         XML_CONTROL ),
        TOKEN( "conversion-mode",                 XML_CONVERSION_MODE ),
        TOKEN( "conversion-type",                 XML_CONVERSION_TYPE ),
        TOKEN( "convert-empty-to-null",           XML_CONVERT_EMPTY_TO_NULL ),
        TOKEN( "copy-back",                       XML_COPY_BACK ),
        TOKEN( "copy-formulas",                   XML_COPY_FORMULAS ),
        TOKEN( "copy-outline-levels",             XML_COPY_OUTLINE_LEVELS ),
        TOKEN( "copy-results-only",               XML_COPY_RESULTS_ONLY ),
        TOKEN( "copy-styles",                     XML_COPY_STYLES ),
        TOKEN( "corner-radius",                   XML_CORNER_RADIUS ),
        TOKEN( "correct",                         XML_CORRECT ),
        TOKEN( "cos",                             XML_COS ),
        TOKEN( "cosh",                            XML_COSH ),
        TOKEN( "cot",                             XML_COT ),
        TOKEN( "coth",                            XML_COTH ),
        TOKEN( "count",                           XML_COUNT ),
        TOKEN( "count-empty-lines",               XML_COUNT_EMPTY_LINES ),
        TOKEN( "count-in-floating-frames",        XML_COUNT_IN_FLOATING_FRAMES ),
        TOKEN( "counter-clockwise",               XML_COUNTER_CLOCKWISE ),
        TOKEN( "counterclockwise",                XML_COUNTERCLOCKWISE ),
        TOKEN( "countnums",                       XML_COUNTNUMS ),
        TOKEN( "country",                         XML_COUNTRY ),
        TOKEN( "country-asian",                   XML_COUNTRY_ASIAN ),
        TOKEN( "country-complex",                 XML_COUNTRY_COMPLEX ),
        TOKEN( "coverage",                        XML_COVERAGE ),
        TOKEN( "covered-table-cell",              XML_COVERED_TABLE_CELL ),
        TOKEN( "create-date",                     XML_CREATE_DATE ),
        TOKEN( "create-date-string",              XML_CREATE_DATE_STRING ),
        TOKEN( "creation-date",                   XML_CREATION_DATE ),
        TOKEN( "creation-time",                   XML_CREATION_TIME ),
        TOKEN( "creator",                         XML_CREATOR ),
        TOKEN( "csc",                             XML_CSC ),
        TOKEN( "csch",                            XML_CSCH ),
        TOKEN( "cube",                            XML_CUBE ),
        TOKEN( "cuboid",                          XML_CUBOID ),
        TOKEN( "currency",                        XML_CURRENCY ),
        TOKEN( "currency-style",                  XML_CURRENCY_STYLE ),
        TOKEN( "currency-symbol",                 XML_CURRENCY_SYMBOL ),
        TOKEN( "current",                         XML_CURRENT ),
        TOKEN( "current-value",                   XML_CURRENT_VALUE ),
        TOKEN( "cursor-position",                 XML_CURSOR_POSITION ),
        TOKEN( "cursor-position-x",               XML_CURSOR_POSITION_X ),
        TOKEN( "cursor-position-y",               XML_CURSOR_POSITION_Y ),
        TOKEN( "curve",                           XML_CURVE ),
        TOKEN( "custom1",                         XML_CUSTOM1 ),
        TOKEN( "custom2",                         XML_CUSTOM2 ),
        TOKEN( "custom3",                         XML_CUSTOM3 ),
        TOKEN( "custom4",                         XML_CUSTOM4 ),
        TOKEN( "custom5",                         XML_CUSTOM5 ),
        TOKEN( "custom-iconset",                  XML_CUSTOM_ICONSET ),
        TOKEN( "custom-iconset-index",            XML_CUSTOM_ICONSET_INDEX ),
        TOKEN( "custom-iconset-name",             XML_CUSTOM_ICONSET_NAME ),
        TOKEN( "custom-label-field",              XML_CUSTOM_LABEL_FIELD ),
        TOKEN( "custom-label-pos-x",              XML_CUSTOM_LABEL_POS_X ),
        TOKEN( "custom-label-pos-y",              XML_CUSTOM_LABEL_POS_Y ),
        TOKEN( "custom-leader-lines",             XML_CUSTOM_LEADERLINES ),
        TOKEN( "cut",                             XML_CUT ),
        TOKEN( "cut-offs",                        XML_CUT_OFFS ),
        TOKEN( "cut_offs",                        XML_CUT_OFFS2 ),
        TOKEN( "cx",                              XML_CX ),
        TOKEN( "cy",                              XML_CY ),
        TOKEN( "cylinder",                        XML_CYLINDER ),
        TOKEN( "d",                               XML_D ),
        TOKEN( "dash",                            XML_DASH ),
        TOKEN( "dash-dot",                        XML_DASH_DOT ),
        TOKEN( "dash-dot-dot",                    XML_DASH_DOT_DOT ),
        TOKEN( "dash-table",                      XML_DASH_TABLE ),
        TOKEN( "dashed",                          XML_DASHED ),
        TOKEN( "data",                            XML_DATA ),
        TOKEN( "data-bar",                        XML_DATA_BAR ),
        TOKEN( "data-bar-entry",                  XML_DATA_BAR_ENTRY ),
        TOKEN( "data-cell-range-address",         XML_DATA_CELL_RANGE_ADDRESS ),
        TOKEN( "data-label",                      XML_DATA_LABEL ),
        TOKEN( "data-label-guid",                 XML_DATA_LABEL_GUID ),
        TOKEN( "data-label-number",               XML_DATA_LABEL_NUMBER ),
        TOKEN( "data-label-symbol",               XML_DATA_LABEL_SYMBOL ),
        TOKEN( "data-label-text",                 XML_DATA_LABEL_TEXT ),
        TOKEN( "data-label-series",               XML_DATA_LABEL_SERIES ),
        TOKEN( "data-labels-cell-range",          XML_DATA_LABELS_CELL_RANGE ),
        TOKEN( "data-pilot-source",               XML_DATA_PILOT_SOURCE ),
        TOKEN( "data-pilot-field",                XML_DATA_PILOT_FIELD ),
        TOKEN( "data-pilot-grand-total",          XML_DATA_PILOT_GRAND_TOTAL ),
        TOKEN( "data-pilot-level",                XML_DATA_PILOT_LEVEL ),
        TOKEN( "data-pilot-member",               XML_DATA_PILOT_MEMBER ),
        TOKEN( "data-pilot-members",              XML_DATA_PILOT_MEMBERS ),
        TOKEN( "data-pilot-subtotal",             XML_DATA_PILOT_SUBTOTAL ),
        TOKEN( "data-pilot-subtotals",            XML_DATA_PILOT_SUBTOTALS ),
        TOKEN( "data-pilot-table",                XML_DATA_PILOT_TABLE ),
        TOKEN( "data-pilot-tables",               XML_DATA_PILOT_TABLES ),
        TOKEN( "data-point",                      XML_DATA_POINT ),
        TOKEN( "data-range",                      XML_DATA_RANGE ),
        TOKEN( "data-stream-source",              XML_DATA_STREAM_SOURCE ),
        TOKEN( "data-style",                      XML_DATA_STYLE ),
        TOKEN( "data-style-name",                 XML_DATA_STYLE_NAME ),
        TOKEN( "data-table",                      XML_DATA_TABLE ),
        TOKEN( "data-type",                       XML_DATA_TYPE ),
        TOKEN( "database-display",                XML_DATABASE_DISPLAY ),
        TOKEN( "database-name",                   XML_DATABASE_NAME ),
        TOKEN( "database-next",                   XML_DATABASE_NEXT ),
        TOKEN( "database-range",                  XML_DATABASE_RANGE ),
        TOKEN( "database-ranges",                 XML_DATABASE_RANGES ),
        TOKEN( "database-row-number",             XML_DATABASE_ROW_NUMBER ),
        TOKEN( "database-select",                 XML_DATABASE_SELECT ),
        TOKEN( "database-source-query",           XML_DATABASE_SOURCE_QUERY ),
        TOKEN( "database-source-sql",             XML_DATABASE_SOURCE_SQL ),
        TOKEN( "database-source-table",           XML_DATABASE_SOURCE_TABLE ),
        TOKEN( "database-table-name",             XML_DATABASE_TABLE_NAME ),
        TOKEN( "date",                            XML_DATE ),
        TOKEN( "date-axis",                       XML_DATE_AXIS ),
        TOKEN( "date-is",                         XML_DATE_IS ),
        TOKEN( "date-adjust",                     XML_DATE_ADJUST ),
        TOKEN( "date-style",                      XML_DATE_STYLE ),
        TOKEN( "date-time",                       XML_DATE_TIME ),
        TOKEN( "date-time-update",                XML_DATE_TIME_UPDATE ),
        TOKEN( "date-time-visible",               XML_DATE_TIME_VISIBLE ),
        TOKEN( "date-value",                      XML_DATE_VALUE ),
        TOKEN( "datetime",                        XML_DATETIME ),
        TOKEN( "day",                             XML_DAY ),
        TOKEN( "day-of-week",                     XML_DAY_OF_WEEK ),
        TOKEN( "dde-application",                 XML_DDE_APPLICATION ),
        TOKEN( "dde-connection",                  XML_DDE_CONNECTION ),
        TOKEN( "dde-connection-decl",             XML_DDE_CONNECTION_DECL ),
        TOKEN( "dde-connection-decls",            XML_DDE_CONNECTION_DECLS ),
        TOKEN( "dde-item",                        XML_DDE_ITEM ),
        TOKEN( "dde-link",                        XML_DDE_LINK ),
        TOKEN( "dde-links",                       XML_DDE_LINKS ),
        TOKEN( "dde-source",                      XML_DDE_SOURCE ),
        TOKEN( "dde-topic",                       XML_DDE_TOPIC ),
        TOKEN( "decimal-places",                  XML_DECIMAL_PLACES ),
        TOKEN( "decimal-replacement",             XML_DECIMAL_REPLACEMENT ),
        TOKEN( "declare",                         XML_DECLARE ),
        TOKEN( "decorate-words-only",             XML_DECORATE_WORDS_ONLY ),
        TOKEN( "decorative",                      XML_DECORATIVE ),
        TOKEN( "deep",                            XML_DEEP ),
        TOKEN( "default",                         XML_DEFAULT ),
        TOKEN( "default-button",                  XML_DEFAULT_BUTTON ),
        TOKEN( "default-cell-style-name",         XML_DEFAULT_CELL_STYLE_NAME ),
        TOKEN( "default-style",                   XML_DEFAULT_STYLE ),
        TOKEN( "default-style-name",              XML_DEFAULT_STYLE_NAME ),
        TOKEN( "degree",                          XML_DEGREE ),
        TOKEN( "delay",                           XML_DELAY ),
        TOKEN( "delay-for-repeat",                XML_DELAY_FOR_REPEAT ),
        TOKEN( "delete-columns",                  XML_DELETE_COLUMNS ),
        TOKEN( "delete-rows",                     XML_DELETE_ROWS ),
        TOKEN( "deletion",                        XML_DELETION ),
        TOKEN( "deletions",                       XML_DELETIONS ),
        TOKEN( "denomalign"       ,               XML_DENOMALIGN ),
        TOKEN( "denominator-value",               XML_DENOMINATOR_VALUE ),
        TOKEN( "dependence",                      XML_DEPENDENCE ),
        TOKEN( "dependences",                     XML_DEPENDENCES ),
        TOKEN( "dependencies",                    XML_DEPENDENCIES ),
        TOKEN( "depth",                           XML_DEPTH ),
        TOKEN( "desc",                            XML_DESC ),
        TOKEN( "descending",                      XML_DESCENDING ),
        TOKEN( "description",                     XML_DESCRIPTION ),
        TOKEN( "detective",                       XML_DETECTIVE ),
        TOKEN( "determinant",                     XML_DETERMINANT ),
        TOKEN( "diff",                            XML_DIFF ),
        TOKEN( "diffuse-color",                   XML_DIFFUSE_COLOR ),
        TOKEN( "dim",                             XML_DIM ),
        TOKEN( "direction",                       XML_DIRECTION ),
        TOKEN( "disabled",                        XML_DISABLED ),
        TOKEN( "disc",                            XML_DISC ),
        TOKEN( "display",                         XML_DISPLAY ),
        TOKEN( "display-border",                  XML_DISPLAY_BORDER ),
        TOKEN( "display-details",                 XML_DISPLAY_DETAILS ),
        TOKEN( "display-duplicates",              XML_DISPLAY_DUPLICATES ),
        TOKEN( "display-empty",                   XML_DISPLAY_EMPTY ),
        TOKEN( "display-empty-cells-as",          XML_DISPLAY_EMPTY_CELLS_AS ),
        TOKEN( "display-filter-buttons",          XML_DISPLAY_FILTER_BUTTONS ),
        TOKEN( "display-formula",                 XML_DISPLAY_FORMULA ),
        TOKEN( "display-hidden",                  XML_DISPLAY_HIDDEN ),
        TOKEN( "display-label",                   XML_DISPLAY_LABEL ),
        TOKEN( "display-levels",                  XML_DISPLAY_LEVELS ),
        TOKEN( "display-name",                    XML_DISPLAY_NAME ),
        TOKEN( "display-outline-level",           XML_DISPLAY_OUTLINE_LEVEL ),
        TOKEN( "display-x-axis",                  XML_DISPLAY_X_AXIS ),
        TOKEN( "dissolve",                        XML_DISSOLVE ),
        TOKEN( "distance",                        XML_DISTANCE ),
        TOKEN( "distance-after-sep",              XML_DISTANCE_AFTER_SEP ),
        TOKEN( "distance-before-sep",             XML_DISTANCE_BEFORE_SEP ),
        TOKEN( "distribute",                      XML_DISTRIBUTE ),
        TOKEN( "distribute-letter",               XML_DISTRIBUTE_LETTER ),
        TOKEN( "distribute-space",                XML_DISTRIBUTE_SPACE ),
        TOKEN( "divide",                          XML_DIVIDE ),
        TOKEN( "document",                        XML_DOCUMENT ),
        TOKEN( "document-content",                XML_DOCUMENT_CONTENT ),
        TOKEN( "document-meta",                   XML_DOCUMENT_META ),
        TOKEN( "document-settings",               XML_DOCUMENT_SETTINGS ),
        TOKEN( "document-statistic",              XML_DOCUMENT_STATISTIC ),
        TOKEN( "document-styles",                 XML_DOCUMENT_STYLES ),
        TOKEN( "domain",                          XML_DOMAIN ),
        TOKEN( "dot",                             XML_DOT ),
        TOKEN( "dots1",                           XML_DOTS1 ),
        TOKEN( "dots1-length",                    XML_DOTS1_LENGTH ),
        TOKEN( "dots2",                           XML_DOTS2 ),
        TOKEN( "dots2-length",                    XML_DOTS2_LENGTH ),
        TOKEN( "dotted",                          XML_DOTTED ),
        TOKEN( "double",                          XML_DOUBLE ),
        TOKEN( "double-sided",                    XML_DOUBLE_SIDED ),
        TOKEN( "double-thin",                     XML_DOUBLE_THIN ),
        TOKEN( "down",                            XML_DOWN ),
        TOKEN( "draft",                           XML_DRAFT ),
        TOKEN( "draw",                            XML_DRAW ),
        TOKEN( "ole-draw-aspect",                 XML_DRAW_ASPECT ),
        TOKEN( "drawing",                         XML_DRAWING ),
        TOKEN( "drawings",                        XML_DRAWINGS ),
        TOKEN( "drawpool",                        XML_DRAWPOOL ),
        TOKEN( "dropdown",                        XML_DROPDOWN ),
        TOKEN( "drop-cap",                        XML_DROP_CAP ),
        TOKEN( "dynamic",                         XML_DYNAMIC ),
        TOKEN( "echo-char",                       XML_ECHO_CHAR ),
        TOKEN( "edge-rounding",                   XML_EDGE_ROUNDING ),
        TOKEN( "editable",                        XML_EDITABLE ),
        TOKEN( "editing-cycles",                  XML_EDITING_CYCLES ),
        TOKEN( "editing-duration",                XML_EDITING_DURATION ),
        TOKEN( "edition",                         XML_EDITION ),
        TOKEN( "editor",                          XML_EDITOR ),
        TOKEN( "effect",                          XML_EFFECT ),
        TOKEN( "ellipse",                         XML_ELLIPSE ),
        TOKEN( "email",                           XML_EMAIL ),
        TOKEN( "embed",                           XML_EMBED ),
        TOKEN( "embedded-visible-area",           XML_EMBEDDED_VISIBLE_AREA ),
        TOKEN( "embossed",                        XML_EMBOSSED ),
        TOKEN( "emissive-color",                  XML_EMISSIVE_COLOR ),
        TOKEN( "empty",                           XML_EMPTY ),
        TOKEN( "empty-line-refresh",              XML_EMPTY_LINE_REFRESH ),
        TOKEN( "enable-numbering",                XML_ENABLE_NUMBERING ),
        TOKEN( "enabled",                         XML_ENABLED ),
        TOKEN( "encoding",                        XML_ENCODING ),
        TOKEN( "enctype",                         XML_ENCTYPE ),
        TOKEN( "end",                             XML_END ),
        TOKEN( "end-angle",                       XML_END_ANGLE ),
        TOKEN( "end-cell-address",                XML_END_CELL_ADDRESS ),
        TOKEN( "end-color",                       XML_END_COLOR ),
        TOKEN( "end-column",                      XML_END_COLUMN ),
        TOKEN( "end-glue-point",                  XML_END_GLUE_POINT ),
        TOKEN( "end-guide",                       XML_END_GUIDE ),
        TOKEN( "end-intensity",                   XML_END_INTENSITY ),
        TOKEN( "end-line-spacing-horizontal",     XML_END_LINE_SPACING_HORIZONTAL ),
        TOKEN( "end-line-spacing-vertical",       XML_END_LINE_SPACING_VERTICAL ),
        TOKEN( "end-position",                    XML_END_POSITION ),
        TOKEN( "end-row",                         XML_END_ROW ),
        TOKEN( "end-shape",                       XML_END_SHAPE ),
        TOKEN( "end-table",                       XML_END_TABLE ),
        TOKEN( "end-x",                           XML_END_X ),
        TOKEN( "end-y",                           XML_END_Y ),
        TOKEN( "endless",                         XML_ENDLESS ),
        TOKEN( "endnote",                         XML_ENDNOTE ),
        TOKEN( "endnote-body",                    XML_ENDNOTE_BODY ),
        TOKEN( "endnote-citation",                XML_ENDNOTE_CITATION ),
        TOKEN( "endnote-ref",                     XML_ENDNOTE_REF ),
        TOKEN( "endnotes-configuration",          XML_ENDNOTES_CONFIGURATION ),
        TOKEN( "engraved",                        XML_ENGRAVED ),
        TOKEN( "entry",                           XML_ENTRY ),
        TOKEN( "eq",                              XML_EQ ),
        TOKEN( "equal-author",                    XML_EQUAL_AUTHOR ),
        TOKEN( "equal-comment",                   XML_EQUAL_COMMENT ),
        TOKEN( "equal-date",                      XML_EQUAL_DATE ),
        TOKEN( "era",                             XML_ERA ),
        TOKEN( "ergo-sum",                        XML_ERGO_SUM ),
        TOKEN( "error-category",                  XML_ERROR_CATEGORY ),
        TOKEN( "error-lower-indicator",           XML_ERROR_LOWER_INDICATOR ),
        TOKEN( "error-lower-limit",               XML_ERROR_LOWER_LIMIT ),
        TOKEN( "error-macro",                     XML_ERROR_MACRO ),
        TOKEN( "error-margin",                    XML_ERROR_MARGIN ),
        TOKEN( "error-message",                   XML_ERROR_MESSAGE ),
        TOKEN( "error-percentage",                XML_ERROR_PERCENTAGE ),
        TOKEN( "error-upper-indicator",           XML_ERROR_UPPER_INDICATOR ),
        TOKEN( "error-upper-limit",               XML_ERROR_UPPER_LIMIT ),
        TOKEN( "sub",                             XML_ESCAPEMENT_SUB ),
        TOKEN( "super",                           XML_ESCAPEMENT_SUPER ),
        TOKEN( "even-page",                       XML_EVEN_PAGE ),
        TOKEN( "event",                           XML_EVENT ),
        TOKEN( "event-name",                      XML_EVENT_NAME ),
        TOKEN( "events",                          XML_EVENTS ),
        TOKEN( "execute",                         XML_EXECUTE ),
        TOKEN( "execute-macro",                   XML_EXECUTE_MACRO ),
        TOKEN( "exists",                          XML_EXISTS ),
        TOKEN( "exp",                             XML_EXP ),
        TOKEN( "exponential",                     XML_EXPONENTIAL ),
        TOKEN( "expression",                      XML_EXPRESSION ),
        TOKEN( "extra",                           XML_EXTRA ),
        TOKEN( "extrude",                         XML_EXTRUDE ),
        TOKEN( "factorial",                       XML_FACTORIAL ),
        TOKEN( "fade",                            XML_FADE ),
        TOKEN( "fade-from-bottom",                XML_FADE_FROM_BOTTOM ),
        TOKEN( "fade-from-center",                XML_FADE_FROM_CENTER ),
        TOKEN( "fade-from-left",                  XML_FADE_FROM_LEFT ),
        TOKEN( "fade-from-lowerleft",             XML_FADE_FROM_LOWERLEFT ),
        TOKEN( "fade-from-lowerright",            XML_FADE_FROM_LOWERRIGHT ),
        TOKEN( "fade-from-right",                 XML_FADE_FROM_RIGHT ),
        TOKEN( "fade-from-top",                   XML_FADE_FROM_TOP ),
        TOKEN( "fade-from-upperleft",             XML_FADE_FROM_UPPERLEFT ),
        TOKEN( "fade-from-upperright",            XML_FADE_FROM_UPPERRIGHT ),
        TOKEN( "fade-out",                        XML_FADE_OUT ),
        TOKEN( "fade-to-center",                  XML_FADE_TO_CENTER ),
        TOKEN( "false",                           XML_FALSE ),
        TOKEN( "family",                          XML_FAMILY ),
        TOKEN( "fast",                            XML_FAST ),
        TOKEN( "fence",                           XML_FENCE ),
        TOKEN( "field-number",                    XML_FIELD_NUMBER ),
        TOKEN( "file-name",                       XML_FILE_NAME ),
        TOKEN( "fill",                            XML_FILL ),
        TOKEN( "fill-character",                  XML_FILL_CHARACTER ),
        TOKEN( "fill-color",                      XML_FILL_COLOR ),
        TOKEN( "fill-gradient-name",              XML_FILL_GRADIENT_NAME ),
        TOKEN( "fill-hatch-name",                 XML_FILL_HATCH_NAME ),
        TOKEN( "fill-hatch-solid",                XML_FILL_HATCH_SOLID ),
        TOKEN( "fill-image",                      XML_FILL_IMAGE ),
        TOKEN( "fill-image-height",               XML_FILL_IMAGE_HEIGHT ),
        TOKEN( "fill-image-name",                 XML_FILL_IMAGE_NAME ),
        TOKEN( "fill-image-ref-point",            XML_FILL_IMAGE_REF_POINT ),
        TOKEN( "fill-image-ref-point-x",          XML_FILL_IMAGE_REF_POINT_X ),
        TOKEN( "fill-image-ref-point-y",          XML_FILL_IMAGE_REF_POINT_Y ),
        TOKEN( "fill-image-width",                XML_FILL_IMAGE_WIDTH ),
        TOKEN( "fill-rule",                       XML_FILL_RULE ),
        TOKEN( "filter",                          XML_FILTER ),
        TOKEN( "filter-and",                      XML_FILTER_AND ),
        TOKEN( "filter-condition",                XML_FILTER_CONDITION ),
        TOKEN( "filter-name",                     XML_FILTER_NAME ),
        TOKEN( "filter-options",                  XML_FILTER_OPTIONS ),
        TOKEN( "filter-or",                       XML_FILTER_OR ),
        TOKEN( "filter-set-item",                 XML_FILTER_SET_ITEM ),
        TOKEN( "fine-dashed",                     XML_FINE_DASHED ),
        TOKEN( "first-date-time",                 XML_FIRST_DATE_TIME ),
        TOKEN( "first-page",                      XML_FIRST_PAGE ),
        TOKEN( "first-page-number",               XML_FIRST_PAGE_NUMBER ),
        TOKEN( "fit-to-contour",                  XML_FIT_TO_CONTOUR ),
        TOKEN( "fit-to-size",                     XML_FIT_TO_SIZE ),
        TOKEN( "fix",                             XML_FIX ),
        TOKEN( "fixed",                           XML_FIXED ),
        TOKEN( "flat",                            XML_FLAT ),
        TOKEN( "float",                           XML_FLOAT ),
        TOKEN( "floating-frame",                  XML_FLOATING_FRAME ),
        TOKEN( "floor",                           XML_FLOOR ),
        TOKEN( "fn",                              XML_FN ),
        TOKEN( "focal-length",                    XML_FOCAL_LENGTH ),
        TOKEN( "focus-on-click",                  XML_FOCUS_ON_CLICK ),
        TOKEN( "font-char-width",                 XML_FONT_CHAR_WIDTH ),
        TOKEN( "font-charset",                    XML_FONT_CHARSET ),
        TOKEN( "font-charset-asian",              XML_FONT_CHARSET_ASIAN ),
        TOKEN( "font-charset-complex",            XML_FONT_CHARSET_COMPLEX ),
        TOKEN( "font-color",                      XML_FONT_COLOR ),
        TOKEN( "font-decl",                       XML_FONT_DECL ),
        TOKEN( "font-decls",                      XML_FONT_DECLS ),
        TOKEN( "font-family",                     XML_FONT_FAMILY ),
        TOKEN( "font-family-asian",               XML_FONT_FAMILY_ASIAN ),
        TOKEN( "font-family-complex",             XML_FONT_FAMILY_COMPLEX ),
        TOKEN( "font-family-generic",             XML_FONT_FAMILY_GENERIC ),
        TOKEN( "font-family-generic-asian",       XML_FONT_FAMILY_GENERIC_ASIAN ),
        TOKEN( "font-family-generic-complex",     XML_FONT_FAMILY_GENERIC_COMPLEX ),
        TOKEN( "font-kerning",                    XML_FONT_KERNING ),
        TOKEN( "font-name",                       XML_FONT_NAME ),
        TOKEN( "font-name-asian",                 XML_FONT_NAME_ASIAN ),
        TOKEN( "font-name-complex",               XML_FONT_NAME_COMPLEX ),
        TOKEN( "font-pitch",                      XML_FONT_PITCH ),
        TOKEN( "font-pitch-asian",                XML_FONT_PITCH_ASIAN ),
        TOKEN( "font-pitch-complex",              XML_FONT_PITCH_COMPLEX ),
        TOKEN( "font-relief",                     XML_FONT_RELIEF ),
        TOKEN( "font-size",                       XML_FONT_SIZE ),
        TOKEN( "font-size-asian",                 XML_FONT_SIZE_ASIAN ),
        TOKEN( "font-size-complex",               XML_FONT_SIZE_COMPLEX ),
        TOKEN( "font-size-rel",                   XML_FONT_SIZE_REL ),
        TOKEN( "font-size-rel-asian",             XML_FONT_SIZE_REL_ASIAN ),
        TOKEN( "font-size-rel-complex",           XML_FONT_SIZE_REL_COMPLEX ),
        TOKEN( "font-style",                      XML_FONT_STYLE ),
        TOKEN( "font-style-asian",                XML_FONT_STYLE_ASIAN ),
        TOKEN( "font-style-complex",              XML_FONT_STYLE_COMPLEX ),
        TOKEN( "font-style-name",                 XML_FONT_STYLE_NAME ),
        TOKEN( "font-style-name-asian",           XML_FONT_STYLE_NAME_ASIAN ),
        TOKEN( "font-style-name-complex",         XML_FONT_STYLE_NAME_COMPLEX ),
        TOKEN( "font-variant",                    XML_FONT_VARIANT ),
        TOKEN( "font-weight",                     XML_FONT_WEIGHT ),
        TOKEN( "font-weight-asian",               XML_FONT_WEIGHT_ASIAN ),
        TOKEN( "font-weight-complex",             XML_FONT_WEIGHT_COMPLEX ),
        TOKEN( "font-width",                      XML_FONT_WIDTH ),
        TOKEN( "font-word-line-mode",             XML_FONT_WORD_LINE_MODE ),
        TOKEN( "fontfamily",                      XML_FONTFAMILY ),
        TOKEN( "fontsize",                        XML_FONTSIZE ),
        TOKEN( "fontstyle",                       XML_FONTSTYLE ),
        TOKEN( "fontweight",                      XML_FONTWEIGHT ),
        TOKEN( "fontwork-adjust",                 XML_FONTWORK_ADJUST ),
        TOKEN( "fontwork-distance",               XML_FONTWORK_DISTANCE ),
        TOKEN( "fontwork-form",                   XML_FONTWORK_FORM ),
        TOKEN( "fontwork-hide-form",              XML_FONTWORK_HIDE_FORM ),
        TOKEN( "fontwork-mirror",                 XML_FONTWORK_MIRROR ),
        TOKEN( "fontwork-outline",                XML_FONTWORK_OUTLINE ),
        TOKEN( "fontwork-shadow",                 XML_FONTWORK_SHADOW ),
        TOKEN( "fontwork-shadow-color",           XML_FONTWORK_SHADOW_COLOR ),
        TOKEN( "fontwork-shadow-offset-x",        XML_FONTWORK_SHADOW_OFFSET_X ),
        TOKEN( "fontwork-shadow-offset-y",        XML_FONTWORK_SHADOW_OFFSET_Y ),
        TOKEN( "fontwork-shadow-transparence",        XML_FONTWORK_SHADOW_TRANSPARENCE ),
        TOKEN( "fontwork-start",                  XML_FONTWORK_START ),
        TOKEN( "fontwork-style",                  XML_FONTWORK_STYLE ),
        TOKEN( "footer",                          XML_FOOTER ),
        TOKEN( "footer-first",                    XML_FOOTER_FIRST ),
        TOKEN( "footer-left",                     XML_FOOTER_LEFT ),
        TOKEN( "footer-style",                    XML_FOOTER_STYLE ),
        TOKEN( "footer-visible",                  XML_FOOTER_VISIBLE ),
        TOKEN( "footnote",                        XML_FOOTNOTE ),
        TOKEN( "footnote-body",                   XML_FOOTNOTE_BODY ),
        TOKEN( "footnote-citation",               XML_FOOTNOTE_CITATION ),
        TOKEN( "footnote-continuation-notice-backward",       XML_FOOTNOTE_CONTINUATION_NOTICE_BACKWARD ),
        TOKEN( "footnote-continuation-notice-forward",        XML_FOOTNOTE_CONTINUATION_NOTICE_FORWARD ),
        TOKEN( "footnote-max-height",             XML_FOOTNOTE_MAX_HEIGHT ),
        TOKEN( "footnote-ref",                    XML_FOOTNOTE_REF ),
        TOKEN( "footnote-sep",                    XML_FOOTNOTE_SEP ),
        TOKEN( "footnotes-configuration",         XML_FOOTNOTES_CONFIGURATION ),
        TOKEN( "footnotes-position",              XML_FOOTNOTES_POSITION ),
        TOKEN( "for",                             XML_FOR ),
        TOKEN( "forall",                          XML_FORALL ),
        TOKEN( "force-manual",                    XML_FORCE_MANUAL ),
        TOKEN( "foreground",                      XML_FOREGROUND ),
        TOKEN( "foreign-object",                  XML_FOREIGN_OBJECT ),
        TOKEN( "format-change",                   XML_FORMAT_CHANGE ),
        TOKEN( "format-source",                   XML_FORMAT_SOURCE ),
        TOKEN( "formatting-entry",                XML_FORMATTING_ENTRY ),
        TOKEN( "forms",                           XML_FORMS ),
        TOKEN( "formula",                         XML_FORMULA ),
        TOKEN( "formula-hidden",                  XML_FORMULA_HIDDEN ),
        TOKEN( "formulas",                        XML_FORMULAS ),
        TOKEN( "fraction",                        XML_FRACTION ),
        TOKEN( "frame",                           XML_FRAME ),
        TOKEN( "frame-content",                   XML_FRAME_CONTENT ),
        TOKEN( "frame-display-border",            XML_FRAME_DISPLAY_BORDER ),
        TOKEN( "frame-display-scrollbar",         XML_FRAME_DISPLAY_SCROLLBAR ),
        TOKEN( "frame-end-margin",                XML_FRAME_END_MARGIN ),
        TOKEN( "frame-margin-horizontal",         XML_FRAME_MARGIN_HORIZONTAL ),
        TOKEN( "frame-margin-vertical",           XML_FRAME_MARGIN_VERTICAL ),
        TOKEN( "frame-name",                      XML_FRAME_NAME ),
        TOKEN( "frame-start-margin",              XML_FRAME_START_MARGIN ),
        TOKEN( "freeze",                          XML_FREEZE ),
        TOKEN( "freeze-position",                 XML_FREEZE_POSITION ),
        TOKEN( "from-another-table",              XML_FROM_ANOTHER_TABLE ),
        TOKEN( "from-bottom",                     XML_FROM_BOTTOM ),
        TOKEN( "from-center",                     XML_FROM_CENTER ),
        TOKEN( "from-inside",                     XML_FROM_INSIDE ),
        TOKEN( "from-left",                       XML_FROM_LEFT ),
        TOKEN( "from-lower-left",                 XML_FROM_LOWER_LEFT ),
        TOKEN( "from-lower-right",                XML_FROM_LOWER_RIGHT ),
        TOKEN( "from-right",                      XML_FROM_RIGHT ),
        TOKEN( "from-same-table",                 XML_FROM_SAME_TABLE ),
        TOKEN( "from-top",                        XML_FROM_TOP ),
        TOKEN( "from-upper-left",                 XML_FROM_UPPER_LEFT ),
        TOKEN( "from-upper-right",                XML_FROM_UPPER_RIGHT ),
        TOKEN( "fuchsia",                         XML_FUCHSIA ),
        TOKEN( "full",                            XML_FULL ),
        TOKEN( "full-screen",                     XML_FULL_SCREEN ),
        TOKEN( "function",                        XML_FUNCTION ),
        TOKEN( "fx",                              XML_FX ),
        TOKEN( "fy",                              XML_FY ),
        TOKEN( "g",                               XML_G ),
        TOKEN( "gamma",                           XML_GAMMA ),
        TOKEN( "gap",                             XML_GAP ),
        TOKEN( "gap-width",                       XML_GAP_WIDTH ),
        TOKEN( "gcd",                             XML_GCD ),
        TOKEN( "generator",                       XML_GENERATOR ),
        TOKEN( "geq",                             XML_GEQ ),
        TOKEN( "glow-radius",                     XML_GLOW_RADIUS ),
        TOKEN( "glow-color",                      XML_GLOW_COLOR ),
        TOKEN( "glow-transparency",               XML_GLOW_TRANSPARENCY ),
        TOKEN( "gouraud",                         XML_GOURAUD ),
        TOKEN( "gradient",                        XML_GRADIENT ),
        TOKEN( "angle",                           XML_GRADIENT_ANGLE ),
        TOKEN( "gradient-step-count",             XML_GRADIENT_STEP_COUNT ),
        TOKEN( "gradient-style",                  XML_GRADIENT_STYLE ),
        TOKEN( "gradient-table",                  XML_GRADIENT_TABLE ),
        TOKEN( "axial",                           XML_GRADIENTSTYLE_AXIAL ),
        TOKEN( "ellipsoid",                       XML_GRADIENTSTYLE_ELLIPSOID ),
        TOKEN( "radial",                          XML_GRADIENTSTYLE_RADIAL ),
        TOKEN( "rectangular",                     XML_GRADIENTSTYLE_RECTANGULAR ),
        TOKEN( "square",                          XML_GRADIENTSTYLE_SQUARE ),
        TOKEN( "gradientTransform",               XML_GRADIENTTRANSFORM ),
        TOKEN( "grand-total",                     XML_GRAND_TOTAL ),
        TOKEN( "graphic",                         XML_GRAPHIC ),
        TOKEN( "gray",                            XML_GRAY ),
        TOKEN( "green",                           XML_GREEN ),
        TOKEN( "greyscale",                       XML_GREYSCALE ),
        TOKEN( "grid",                            XML_GRID ),
        TOKEN( "groove",                          XML_GROOVE ),
        TOKEN( "group-by-field-number",           XML_GROUP_BY_FIELD_NUMBER ),
        TOKEN( "group-name",                      XML_GROUP_NAME ),
        TOKEN( "grouping",                        XML_GROUPING ),
        TOKEN( "gt",                              XML_GT ),
        TOKEN( "guide-distance",                  XML_GUIDE_DISTANCE ),
        TOKEN( "guide-overhang",                  XML_GUIDE_OVERHANG ),
        TOKEN( "h",                               XML_H ),
        TOKEN( "hanging",                         XML_HANGING ),
        TOKEN( "has-persistent-data",             XML_HAS_PERSISTENT_DATA ),
        TOKEN( "hatch",                           XML_HATCH ),
        TOKEN( "hatch-table",                     XML_HATCH_TABLE ),
        TOKEN( "triple",                          XML_HATCHSTYLE_TRIPLE ),
        TOKEN( "header",                          XML_HEADER ),
        TOKEN( "header-first",                    XML_HEADER_FIRST ),
        TOKEN( "header-left",                     XML_HEADER_LEFT ),
        TOKEN( "header-style",                    XML_HEADER_STYLE ),
        TOKEN( "headers",                         XML_HEADERS ),
        TOKEN( "height",                          XML_HEIGHT ),
        TOKEN( "help",                            XML_HELP),
        TOKEN( "help-file-name",                  XML_HELP_FILE_NAME ),
        TOKEN( "help-id",                         XML_HELP_ID ),
        TOKEN( "help-message",                    XML_HELP_MESSAGE ),
        TOKEN( "hidden",                          XML_HIDDEN ),
        TOKEN( "hidden-and-protected",            XML_HIDDEN_AND_PROTECTED ),
        TOKEN( "hidden-paragraph",                XML_HIDDEN_PARAGRAPH ),
        TOKEN( "hidden-text",                     XML_HIDDEN_TEXT ),
        TOKEN( "hide",                            XML_HIDE ),
        TOKEN( "hide-legend",                     XML_HIDE_LEGEND ),
        TOKEN( "hide-shape",                      XML_HIDE_SHAPE ),
        TOKEN( "hide-text",                       XML_HIDE_TEXT ),
        TOKEN( "highlighted-range",               XML_HIGHLIGHTED_RANGE ),
        TOKEN( "hint",                            XML_HINT),
        TOKEN( "horizontal",                      XML_HORIZONTAL ),
        TOKEN( "horizontalstrike",                XML_HORIZONTALSTRIKE ),
        TOKEN( "horizontal-lines",                XML_HORIZONTAL_LINES ),
        /* XML_HORIZONTAL_ON_LEFT_PAGES and XML_HORIZONTAL_ON_RIGHT_PAGES
           are replaced by XML_HORIZONTAL_ON_EVEN and XML_HORIZONTAL_ON_ODD.
           Usage is deprecated, but the old token are needed for the
           OpenOffice.org file format import/export filter for the renaming (#i49139#)
        */
        TOKEN( "horizontal-on-left-pages",        XML_HORIZONTAL_ON_LEFT_PAGES ),
        TOKEN( "horizontal-on-right-pages",       XML_HORIZONTAL_ON_RIGHT_PAGES ),
        TOKEN( "horizontal-pos",                  XML_HORIZONTAL_POS ),
        TOKEN( "horizontal-rel",                  XML_HORIZONTAL_REL ),
        TOKEN( "horizontal-scrollbar-width",      XML_HORIZONTAL_SCROLLBAR_WIDTH ),
        TOKEN( "horizontal-segments",             XML_HORIZONTAL_SEGMENTS ),
        TOKEN( "horizontal-split-mode",           XML_HORIZONTAL_SPLIT_MODE ),
        TOKEN( "horizontal-split-position",       XML_HORIZONTAL_SPLIT_POSITION ),
        TOKEN( "horizontal-stripes",              XML_HORIZONTAL_STRIPES ),
        TOKEN( "hours",                           XML_HOURS ),
        TOKEN( "howpublished",                    XML_HOWPUBLISHED ),
        TOKEN( "href",                            XML_HREF ),
        TOKEN( "html",                            XML_HTML ),
        TOKEN( "hyperlink",                       XML_HYPERLINK ),
        TOKEN( "hyperlink-behaviour",             XML_HYPERLINK_BEHAVIOUR ),
        TOKEN( "hyphenate",                       XML_HYPHENATE ),
        TOKEN( "hyphenation-keep",                XML_HYPHENATION_KEEP ),
        TOKEN( "hyphenation-ladder-count",        XML_HYPHENATION_LADDER_COUNT ),
        TOKEN( "hyphenation-push-char-count",     XML_HYPHENATION_PUSH_CHAR_COUNT ),
        TOKEN( "hyphenation-remain-char-count",       XML_HYPHENATION_REMAIN_CHAR_COUNT ),
        TOKEN( "hyphenation-no-caps",             XML_HYPHENATION_NO_CAPS ),
        TOKEN( "hyphenation-no-last-word",        XML_HYPHENATION_NO_LAST_WORD ),
        TOKEN( "hyphenation-word-char-count",     XML_HYPHENATION_WORD_CHAR_COUNT ),
        TOKEN( "hyphenation-zone",                XML_HYPHENATION_ZONE ),
        TOKEN( "i",                               XML_I ),
        TOKEN( "icon",                            XML_ICON ),
        TOKEN( "icon-set",                        XML_ICON_SET ),
        TOKEN( "icon-set-type",                   XML_ICON_SET_TYPE ),
        TOKEN( "id",                              XML_ID ),
        TOKEN( "ident",                           XML_IDENT ),
        TOKEN( "identifier",                      XML_IDENTIFIER ),
        TOKEN( "identify-categories",             XML_IDENTIFY_CATEGORIES ),
        TOKEN( "ideograph-alpha",                 XML_IDEOGRAPH_ALPHA ),
        TOKEN( "ignore-case",                     XML_IGNORE_CASE ),
        TOKEN( "ignore-empty-rows",               XML_IGNORE_EMPTY_ROWS ),
        TOKEN( "ignore-result",                   XML_IGNORE_RESULT ),
        TOKEN( "ignore-selected-page",            XML_IGNORE_SELECTED_PAGE ),
        TOKEN( "illustration-index",              XML_ILLUSTRATION_INDEX ),
        TOKEN( "illustration-index-entry-template",       XML_ILLUSTRATION_INDEX_ENTRY_TEMPLATE ),
        TOKEN( "illustration-index-source",       XML_ILLUSTRATION_INDEX_SOURCE ),
        TOKEN( "image",                           XML_IMAGE ),
        TOKEN( "image-count",                     XML_IMAGE_COUNT ),
        TOKEN( "image-map",                       XML_IMAGE_MAP ),
        TOKEN( "implies",                         XML_IMPLIES ),
        TOKEN( "in",                              XML_IN ),
        TOKEN( "in-range",                        XML_IN_RANGE ),
        TOKEN( "inbook",                          XML_INBOOK ),
        TOKEN( "incollection",                    XML_INCOLLECTION ),
        TOKEN( "increment",                       XML_INCREMENT ),
        TOKEN( "index",                           XML_INDEX ),
        TOKEN( "index-body",                      XML_INDEX_BODY ),
        TOKEN( "index-entry-bibliography",        XML_INDEX_ENTRY_BIBLIOGRAPHY ),
        TOKEN( "index-entry-chapter",             XML_INDEX_ENTRY_CHAPTER ),
        TOKEN( "index-entry-chapter-number",      XML_INDEX_ENTRY_CHAPTER_NUMBER ),
        TOKEN( "index-entry-link-end",            XML_INDEX_ENTRY_LINK_END ),
        TOKEN( "index-entry-link-start",          XML_INDEX_ENTRY_LINK_START ),
        TOKEN( "index-entry-page-number",         XML_INDEX_ENTRY_PAGE_NUMBER ),
        TOKEN( "index-entry-span",                XML_INDEX_ENTRY_SPAN ),
        TOKEN( "index-entry-tab-stop",            XML_INDEX_ENTRY_TAB_STOP ),
        TOKEN( "index-entry-template",            XML_INDEX_ENTRY_TEMPLATE ),
        TOKEN( "index-entry-text",                XML_INDEX_ENTRY_TEXT ),
        TOKEN( "index-name",                      XML_INDEX_NAME ),
        TOKEN( "index-scope",                     XML_INDEX_SCOPE ),
        TOKEN( "index-source-style",              XML_INDEX_SOURCE_STYLE ),
        TOKEN( "index-source-styles",             XML_INDEX_SOURCE_STYLES ),
        TOKEN( "index-title",                     XML_INDEX_TITLE ),
        TOKEN( "index-title-template",            XML_INDEX_TITLE_TEMPLATE ),
        TOKEN( "information",                     XML_INFORMATION ),
        TOKEN( "initial-creator",                 XML_INITIAL_CREATOR ),
        TOKEN( "inproceedings",                   XML_INPROCEEDINGS ),
        TOKEN( "input-required",                  XML_INPUT_REQUIRED ),
        TOKEN( "insert-columns",                  XML_INSERT_COLUMNS ),
        TOKEN( "insert-rows",                     XML_INSERT_ROWS ),
        TOKEN( "insertion",                       XML_INSERTION ),
        TOKEN( "insertion-cut-off",               XML_INSERTION_CUT_OFF ),
        TOKEN( "insertion-position",              XML_INSERTION_POSITION ),
        TOKEN( "inset",                           XML_INSET ),
        TOKEN( "inside",                          XML_INSIDE ),
        TOKEN( "institution",                     XML_INSTITUTION ),
        TOKEN( "int",                             XML_INT ),
        TOKEN( "intensity",                       XML_INTENSITY ),
        TOKEN( "inter-character",                 XML_INTER_CHARACTER ),
        TOKEN( "intersect",                       XML_INTERSECT ),
        TOKEN( "interval",                        XML_INTERVAL ),
        TOKEN( "interval-major",                  XML_INTERVAL_MAJOR ),
        TOKEN( "interval-minor",                  XML_INTERVAL_MINOR ),
        TOKEN( "into-english-number",             XML_INTO_ENGLISH_NUMBER ),
        TOKEN( "inverse",                         XML_INVERSE ),
        TOKEN( "is-active",                       XML_IS_ACTIVE ),
        TOKEN( "is-data-layout-field",            XML_IS_DATA_LAYOUT_FIELD ),
        TOKEN( "is-hidden",                       XML_IS_HIDDEN ),
        TOKEN( "is-legal",                        XML_IS_LEGAL ),
        TOKEN( "is-selection",                    XML_IS_SELECTION ),
        TOKEN( "isbn",                            XML_ISBN ),
        TOKEN( "italic",                          XML_ITALIC ),
        TOKEN( "item",                            XML_ITEM ),
        TOKEN( "iteration",                       XML_ITERATION ),
        TOKEN( "journal",                         XML_JOURNAL ),
        TOKEN( "justified",                       XML_JUSTIFIED ),
        TOKEN( "justify",                         XML_JUSTIFY ),
        TOKEN( "justify-single-word",             XML_JUSTIFY_SINGLE_WORD ),
        TOKEN( "keep-with-next",                  XML_KEEP_WITH_NEXT ),
        TOKEN( "key",                             XML_KEY ),
        TOKEN( "key1",                            XML_KEY1 ),
        TOKEN( "key2",                            XML_KEY2 ),
        TOKEN( "keyword",                         XML_KEYWORD ),
        TOKEN( "keywords",                        XML_KEYWORDS ),
        TOKEN( "kind",                            XML_KIND ),
        TOKEN( "km",                              XML_KM ),
        TOKEN( "label",                           XML_LABEL ),
        TOKEN( "label-arrangement",               XML_LABEL_ARRANGEMENT ),
        TOKEN( "label-cell-address",              XML_LABEL_CELL_ADDRESS ),
        TOKEN( "label-cell-range-address",        XML_LABEL_CELL_RANGE_ADDRESS ),
        TOKEN( "label-fill",                      XML_LABEL_FILL ),
        TOKEN( "label-fill-color",                XML_LABEL_FILL_COLOR ),
        TOKEN( "label-range",                     XML_LABEL_RANGE ),
        TOKEN( "label-ranges",                    XML_LABEL_RANGES ),
        TOKEN( "label-string",                    XML_LABEL_STRING ),
        TOKEN( "label-stroke",                    XML_LABEL_STROKE ),
        TOKEN( "label-stroke-color",              XML_LABEL_STROKE_COLOR ),
        TOKEN( "label-stroke-opacity",            XML_LABEL_STROKE_OPACITY ),
        TOKEN( "label-stroke-width",              XML_LABEL_STROKE_WIDTH ),
        TOKEN( "lambda",                          XML_LAMBDA ),
        TOKEN( "landscape",                       XML_LANDSCAPE ),
        TOKEN( "lang",                            XML_LANG ),
        TOKEN( "language",                        XML_LANGUAGE ),
        TOKEN( "language-asian",                  XML_LANGUAGE_ASIAN ),
        TOKEN( "language-complex",                XML_LANGUAGE_COMPLEX ),
        TOKEN( "laser",                           XML_LASER ),
        TOKEN( "last-column-spanned",             XML_LAST_COLUMN_SPANNED ),
        TOKEN( "last-page",                       XML_LAST_PAGE ),
        TOKEN( "last-row-spanned",                XML_LAST_ROW_SPANNED ),
        TOKEN( "layer",                           XML_LAYER ),
        TOKEN( "layer-set",                       XML_LAYER_SET ),
        TOKEN( "leader-char",                     XML_LEADER_CHAR ),
        TOKEN( "left",                            XML_LEFT ),
        TOKEN( "left-outside",                    XML_LEFT_OUTSIDE ),
        TOKEN( "left-text",                       XML_LEFT_TEXT ),
        TOKEN( "left-top-position",               XML_LEFT_TOP_POSITION ),
        TOKEN( "left-arc",                        XML_LEFTARC ),
        TOKEN( "left-circle",                     XML_LEFTCIRCLE ),
        TOKEN( "legend",                          XML_LEGEND ),
        TOKEN( "legend-position",                 XML_LEGEND_POSITION ),
        TOKEN( "length",                          XML_LENGTH ),
        TOKEN( "leq",                             XML_LEQ ),
        TOKEN( "let-text",                        XML_LET_TEXT ),
        TOKEN( "keep-text",                       XML_KEEP_TEXT ),
        TOKEN( "letter-kerning",                  XML_LETTER_KERNING ),
        TOKEN( "letter-spacing",                  XML_LETTER_SPACING ),
        TOKEN( "letters",                         XML_LETTERS ),
        TOKEN( "level",                           XML_LEVEL ),
        TOKEN( "library",                         XML_LIBRARY ),
        TOKEN( "library-embedded",                XML_LIBRARY_EMBEDDED ),
        TOKEN( "library-linked",                  XML_LIBRARY_LINKED ),
        TOKEN( "light",                           XML_LIGHT ),
        TOKEN( "lighting-mode",                   XML_LIGHTING_MODE ),
        TOKEN( "lime",                            XML_LIME ),
        TOKEN( "limit",                           XML_LIMIT ),
        TOKEN( "line",                            XML_LINE ),
        TOKEN( "line-break",                      XML_LINE_BREAK ),
        TOKEN( "clear",                           XML_CLEAR ),
        TOKEN( "line-distance",                   XML_LINE_DISTANCE ),
        TOKEN( "line-height",                     XML_LINE_HEIGHT ),
        TOKEN( "line-height-at-least",            XML_LINE_HEIGHT_AT_LEAST ),
        TOKEN( "line-number",                     XML_LINE_NUMBER ),
        TOKEN( "line-skew",                       XML_LINE_SKEW ),
        TOKEN( "line-spacing",                    XML_LINE_SPACING ),
        TOKEN( "line-style",                      XML_LINE_STYLE ),
        TOKEN( "line-width",                      XML_LINE_WIDTH ),
        TOKEN( "linear",                          XML_LINEAR ),
        TOKEN( "linearGradient",                  XML_LINEARGRADIENT ),
        TOKEN( "linenumbering-configuration",     XML_LINENUMBERING_CONFIGURATION ),
        TOKEN( "linenumbering-separator",         XML_LINENUMBERING_SEPARATOR ),
        TOKEN( "lines",                           XML_LINES ),
        TOKEN( "lines-used",                      XML_LINES_USED ),
        TOKEN( "linked-cell",                     XML_LINKED_CELL ),
        TOKEN( "link-to-source-data",             XML_LINK_TO_SOURCE_DATA ),
        TOKEN( "list",                            XML_LIST ),
        TOKEN( "marker-style-name",               XML_MARKER_STYLE_NAME ),
        TOKEN( "list-block",                      XML_LIST_BLOCK ),
        TOKEN( "list-header",                     XML_LIST_HEADER ),
        TOKEN( "list-info",                       XML_LIST_INFO ),
        TOKEN( "list-item",                       XML_LIST_ITEM ),
        TOKEN( "list-level",                      XML_LIST_LEVEL ),
        TOKEN( "list-level-style-bullet",         XML_LIST_LEVEL_STYLE_BULLET ),
        TOKEN( "list-level-style-image",          XML_LIST_LEVEL_STYLE_IMAGE ),
        TOKEN( "list-level-style-number",         XML_LIST_LEVEL_STYLE_NUMBER ),
        TOKEN( "list-linkage-type",               XML_LIST_LINKAGE_TYPE ),
        TOKEN( "list-name",                       XML_LIST_NAME ),
        TOKEN( "list-style",                      XML_LIST_STYLE ),
        TOKEN( "list-style-name",                 XML_LIST_STYLE_NAME ),
        TOKEN( "ln",                              XML_LN ),
        TOKEN( "lock",                            XML_LOCK ),
        TOKEN( "locked",                          XML_LOCKED ),
        TOKEN( "log",                             XML_LOG ),
        TOKEN( "logarithmic",                     XML_LOGARITHMIC ),
        TOKEN( "logbase",                         XML_LOGBASE ),
        TOKEN( "long",                            XML_LONG ),
        TOKEN( "low",                             XML_LOW ),
        TOKEN( "lowlimit",                        XML_LOWLIMIT ),
        TOKEN( "lr-tb",                           XML_LR_TB ),
        TOKEN( "lt",                              XML_LT ),
        TOKEN( "ltr",                             XML_LTR ),
        TOKEN( "luminance",                       XML_LUMINANCE ),
        TOKEN( "macro-name",                      XML_MACRO_NAME ),
        TOKEN( "maction",                         XML_MACTION ),
        TOKEN( "main-entry-style-name",           XML_MAIN_ENTRY_STYLE_NAME ),
        TOKEN( "major",                           XML_MAJOR ),
        TOKEN( "major-origin",                    XML_MAJOR_ORIGIN ),
        TOKEN( "maligngroup",                     XML_MALIGNGROUP ),
        TOKEN( "malignmark",                      XML_MALIGNMARK ),
        TOKEN( "manual",                          XML_MANUAL ),
        TOKEN( "manual-min",                      XML_MANUAL_MIN ),
        TOKEN( "manual-max",                      XML_MANUAL_MAX ),
        TOKEN( "map",                             XML_MAP ),
        TOKEN( "margin-bottom",                   XML_MARGIN_BOTTOM ),
        TOKEN( "margin-left",                     XML_MARGIN_LEFT ),
        TOKEN( "margin-right",                    XML_MARGIN_RIGHT ),
        TOKEN( "margin-top",                      XML_MARGIN_TOP ),
        TOKEN( "margins",                         XML_MARGINS ),
        TOKEN( "marker",                          XML_MARKER ),
        TOKEN( "markers",                         XML_MARKERS ),
        TOKEN( "marker-end",                      XML_MARKER_END ),
        TOKEN( "marker-end-center",               XML_MARKER_END_CENTER ),
        TOKEN( "marker-end-width",                XML_MARKER_END_WIDTH ),
        TOKEN( "marker-start",                    XML_MARKER_START ),
        TOKEN( "marker-start-center",             XML_MARKER_START_CENTER ),
        TOKEN( "marker-start-width",              XML_MARKER_START_WIDTH ),
        TOKEN( "marker-table",                    XML_MARKER_TABLE ),
        TOKEN( "maroon",                          XML_MAROON ),
        TOKEN( "master-page",                     XML_MASTER_PAGE ),
        TOKEN( "master-page-name",                XML_MASTER_PAGE_NAME ),
        TOKEN( "master-styles",                   XML_MASTER_STYLES ),
        TOKEN( "mastersthesis",                   XML_MASTERSTHESIS ),
        TOKEN( "match",                           XML_MATCH ),
        TOKEN( "math",                            XML_MATH ),
        TOKEN( "matrix",                          XML_MATRIX ),
        TOKEN( "matrix-covered",                  XML_MATRIX_COVERED ),
        TOKEN( "matrixrow",                       XML_MATRIXROW ),
        TOKEN( "max",                             XML_MAX ),
        TOKEN( "max-axis-type",                   XML_MAX_AXIS_TYPE ),
        TOKEN( "max-edge",                        XML_MAX_EDGE ),
        TOKEN( "max-height",                      XML_MAX_HEIGHT ),
        TOKEN( "max-length",                      XML_MAX_LENGTH ),
        TOKEN( "max-width",                       XML_MAX_WIDTH ),
        TOKEN( "maximum",                         XML_MAXIMUM ),
        TOKEN( "maximum-difference",              XML_MAXIMUM_DIFFERENCE ),
        TOKEN( "may-break-between-rows",          XML_MAY_BREAK_BETWEEN_ROWS ),
        TOKEN( "may-script",                      XML_MAY_SCRIPT ),
        TOKEN( "mean",                            XML_MEAN ),
        TOKEN( "mean-value",                      XML_MEAN_VALUE ),
        TOKEN( "measure",                         XML_MEASURE ),
        TOKEN( "measure-align",                   XML_MEASURE_ALIGN ),
        TOKEN( "measure-vertical-align",          XML_MEASURE_VERTICAL_ALIGN ),
        TOKEN( "median",                          XML_MEDIAN ),
        TOKEN( "medium",                          XML_MEDIUM ),
        TOKEN( "menclose",                        XML_MENCLOSE ),
        TOKEN( "merror",                          XML_MERROR ),
        TOKEN( "message-type",                    XML_MESSAGE_TYPE ),
        TOKEN( "meta",                            XML_META ),
        TOKEN( "mfenced",                         XML_MFENCED ),
        TOKEN( "mfrac",                           XML_MFRAC ),
        TOKEN( "mi",                              XML_MI ),
        TOKEN( "middle",                          XML_MIDDLE ),
        TOKEN( "mime-type",                       XML_MIME_TYPE ),
        TOKEN( "min",                             XML_MIN ),
        TOKEN( "min-axis-type",                   XML_MIN_AXIS_TYPE ),
        TOKEN( "min-denominator-digits",          XML_MIN_DENOMINATOR_DIGITS ),
        TOKEN( "min-edge",                        XML_MIN_EDGE ),
        TOKEN( "min-exponent-digits",             XML_MIN_EXPONENT_DIGITS ),
        TOKEN( "min-height",                      XML_MIN_HEIGHT ),
        TOKEN( "min-integer-digits",              XML_MIN_INTEGER_DIGITS ),
        TOKEN( "min-label-distance",              XML_MIN_LABEL_DISTANCE ),
        TOKEN( "min-label-width",                 XML_MIN_LABEL_WIDTH ),
        TOKEN( "min-length",                      XML_MIN_LENGTH ),
        TOKEN( "min-line-height",                 XML_MIN_LINE_HEIGHT ),
        TOKEN( "min-numerator-digits",            XML_MIN_NUMERATOR_DIGITS ),
        TOKEN( "min-row-height",                  XML_MIN_ROW_HEIGHT ),
        TOKEN( "min-width",                       XML_MIN_WIDTH ),
        TOKEN( "minimum",                         XML_MINIMUM ),
        TOKEN( "minor",                           XML_MINOR ),
        TOKEN( "minus",                           XML_MINUS ),
        TOKEN( "minutes",                         XML_MINUTES ),
        TOKEN( "mirror",                          XML_MIRROR ),
        TOKEN( "mirrored",                        XML_MIRRORED ),
        TOKEN( "misc",                            XML_MISC ),
        TOKEN( "miter",                           XML_MITER ),
        TOKEN( "mm",                              XML_MM ),
        TOKEN( "mmultiscripts",                   XML_MMULTISCRIPTS ),
        TOKEN( "mn",                              XML_MN ),
        TOKEN( "mo",                              XML_MO ),
        TOKEN( "mode",                            XML_MODE ),
        TOKEN( "modern",                          XML_MODERN ),
        TOKEN( "modification-date",               XML_MODIFICATION_DATE ),
        TOKEN( "modification-time",               XML_MODIFICATION_TIME ),
        TOKEN( "modulate",                        XML_MODULATE ),
        TOKEN( "module",                          XML_MODULE ),
        TOKEN( "moment",                          XML_MOMENT ),
        TOKEN( "mono",                            XML_MONO ),
        TOKEN( "month",                           XML_MONTH ),
        TOKEN( "mouse-as-pen",                    XML_MOUSE_AS_PEN ),
        TOKEN( "mouse-visible",                   XML_MOUSE_VISIBLE ),
        TOKEN( "move",                            XML_MOVE ),
        TOKEN( "move-from-bottom",                XML_MOVE_FROM_BOTTOM ),
        TOKEN( "move-from-left",                  XML_MOVE_FROM_LEFT ),
        TOKEN( "move-from-right",                 XML_MOVE_FROM_RIGHT ),
        TOKEN( "move-from-top",                   XML_MOVE_FROM_TOP ),
        TOKEN( "move-id",                         XML_MOVE_ID ),
        TOKEN( "move-protect",                    XML_MOVE_PROTECT ),
        TOKEN( "move-short",                      XML_MOVE_SHORT ),
        TOKEN( "movement",                        XML_MOVEMENT ),
        TOKEN( "movement-cut-off",                XML_MOVEMENT_CUT_OFF ),
        TOKEN( "mover",                           XML_MOVER ),
        TOKEN( "moving-average",                  XML_MOVING_AVERAGE ),
        TOKEN( "mpadded",                         XML_MPADDED ),
        TOKEN( "mphantom",                        XML_MPHANTOM ),
        TOKEN( "mprescripts",                     XML_MPRESCRIPTS ),
        TOKEN( "mroot",                           XML_MROOT ),
        TOKEN( "mrow",                            XML_MROW ),
        TOKEN( "ms",                              XML_MS ),
        TOKEN( "mspace",                          XML_MSPACE ),
        TOKEN( "msqrt",                           XML_MSQRT ),
        TOKEN( "mstyle",                          XML_MSTYLE ),
        TOKEN( "msub",                            XML_MSUB ),
        TOKEN( "msubsup",                         XML_MSUBSUP ),
        TOKEN( "msup",                            XML_MSUP ),
        TOKEN( "mtable",                          XML_MTABLE ),
        TOKEN( "mtd",                             XML_MTD ),
        TOKEN( "mtext",                           XML_MTEXT ),
        TOKEN( "mtr",                             XML_MTR ),
        TOKEN( "multi-deletion-spanned",          XML_MULTI_DELETION_SPANNED ),
        TOKEN( "multi-line",                      XML_MULTI_LINE ),
        TOKEN( "multiple",                        XML_MULTIPLE ),
        TOKEN( "munder",                          XML_MUNDER ),
        TOKEN( "munderover",                      XML_MUNDEROVER ),
        TOKEN( "name",                            XML_NAME ),
        TOKEN( "name-and-extension",              XML_NAME_AND_EXTENSION ),
        TOKEN( "named-expression",                XML_NAMED_EXPRESSION ),
        TOKEN( "named-expressions",               XML_NAMED_EXPRESSIONS ),
        TOKEN( "named-range",                     XML_NAMED_RANGE ),
        TOKEN( "navigation-mode",                 XML_NAVIGATION_MODE ),
        TOKEN( "navy",                            XML_NAVY ),
        TOKEN( "negative",                        XML_NEGATIVE ),
        TOKEN( "negative-color",                  XML_NEGATIVE_COLOR ),
        TOKEN( "neq",                             XML_NEQ ),
        TOKEN( "new",                             XML_NEW ),
        TOKEN( "next",                            XML_NEXT ),
        TOKEN( "next-page",                       XML_NEXT_PAGE ),
        TOKEN( "next-style-name",                 XML_NEXT_STYLE_NAME ),
        TOKEN( "no-limit",                        XML_NO_LIMIT ),
        TOKEN( "no-wrap",                         XML_NO_WRAP ),
        TOKEN( "!empty",                          XML_NOEMPTY ),
        TOKEN( "nohref",                          XML_NOHREF ),
        TOKEN( "!match",                          XML_NOMATCH ),
        TOKEN( "non-whitespace-character-count",  XML_NON_WHITESPACE_CHARACTER_COUNT ),
        TOKEN( "none",                            XML_NONE ),
        TOKEN( "normal",                          XML_NORMAL ),
        TOKEN( "normals-direction",               XML_NORMALS_DIRECTION ),
        TOKEN( "normals-kind",                    XML_NORMALS_KIND ),
        TOKEN( "not",                             XML_NOT ),
        TOKEN( "not-equal-date",                  XML_NOT_EQUAL_DATE ),
        TOKEN( "notation",                        XML_NOTATION ),
        TOKEN( "note",                            XML_NOTE ),
        TOKEN( "notes",                           XML_NOTES ),
        TOKEN( "notin",                           XML_NOTIN ),
        TOKEN( "notprsubset",                     XML_NOTPRSUBSET ),
        TOKEN( "notsubset",                       XML_NOTSUBSET ),
        TOKEN( "null-date",                       XML_NULL_DATE ),
        TOKEN( "null-year",                       XML_NULL_YEAR ),
        TOKEN( "num-format",                      XML_NUM_FORMAT ),
        TOKEN( "num-letter-sync",                 XML_NUM_LETTER_SYNC ),
        TOKEN( "num-list-format",                 XML_NUM_LIST_FORMAT ),
        TOKEN( "num-prefix",                      XML_NUM_PREFIX ),
        TOKEN( "num-suffix",                      XML_NUM_SUFFIX ),
        TOKEN( "numalign",                        XML_NUMALIGN ),
        TOKEN( "number",                          XML_NUMBER ),
        TOKEN( "number-and-name",                 XML_NUMBER_AND_NAME ),
        TOKEN( "number-columns-repeated",         XML_NUMBER_COLUMNS_REPEATED ),
        TOKEN( "number-columns-spanned",          XML_NUMBER_COLUMNS_SPANNED ),
        TOKEN( "number-lines",                    XML_NUMBER_LINES ),
        TOKEN( "number-matrix-columns-spanned",       XML_NUMBER_MATRIX_COLUMNS_SPANNED ),
        TOKEN( "number-matrix-rows-spanned",      XML_NUMBER_MATRIX_ROWS_SPANNED ),
        TOKEN( "number-position",                 XML_NUMBER_POSITION ),
        TOKEN( "number-rows-repeated",            XML_NUMBER_ROWS_REPEATED ),
        TOKEN( "number-rows-spanned",             XML_NUMBER_ROWS_SPANNED ),
        TOKEN( "number-style",                    XML_NUMBER_STYLE ),
        TOKEN( "number-wrapped-paragraphs",       XML_NUMBER_WRAPPED_PARAGRAPHS ),
        TOKEN( "numbered-entries",                XML_NUMBERED_ENTRIES ),
        TOKEN( "object",                          XML_OBJECT ),
        TOKEN( "object-count",                    XML_OBJECT_COUNT ),
        TOKEN( "object-index",                    XML_OBJECT_INDEX ),
        TOKEN( "object-index-entry-template",     XML_OBJECT_INDEX_ENTRY_TEMPLATE ),
        TOKEN( "object-index-source",             XML_OBJECT_INDEX_SOURCE ),
        TOKEN( "object-name",                     XML_OBJECT_NAME ),
        TOKEN( "object-ole",                      XML_OBJECT_OLE ),
        TOKEN( "objects",                         XML_OBJECTS ),
        TOKEN( "odd-page",                        XML_ODD_PAGE ),
        TOKEN( "offset",                          XML_OFFSET ),
        TOKEN( "olive",                           XML_OLIVE ),
        TOKEN( "onLoad",                          XML_ONLOAD ),
        TOKEN( "onRequest",                       XML_ONREQUEST ),
        TOKEN( "on-update-keep-size",             XML_ON_UPDATE_KEEP_SIZE ),
        TOKEN( "on-update-keep-styles",           XML_ON_UPDATE_KEEP_STYLES ),
        TOKEN( "online",                          XML_ONLINE ),
        TOKEN( "online-text",                     XML_ONLINE_TEXT ),
        TOKEN( "open",                            XML_OPEN ),
        TOKEN( "open-horizontal",                 XML_OPEN_HORIZONTAL ),
        TOKEN( "open-vertical",                   XML_OPEN_VERTICAL ),
        TOKEN( "operation",                       XML_OPERATION ),
        TOKEN( "operator",                        XML_OPERATOR ),
        TOKEN( "optimal",                         XML_OPTIMAL ),
        TOKEN( "option",                          XML_OPTION ),
        TOKEN( "or",                              XML_OR ),
        TOKEN( "order",                           XML_ORDER ),
        TOKEN( "ordered-list",                    XML_ORDERED_LIST ),
        TOKEN( "organizations",                   XML_ORGANIZATIONS ),
        TOKEN( "orientation",                     XML_ORIENTATION ),
        TOKEN( "orientation-landscape",           XML_ORIENTATION_LANDSCAPE ),
        TOKEN( "orientation-portrait",            XML_ORIENTATION_PORTRAIT ),
        TOKEN( "origin",                          XML_ORIGIN ),
        TOKEN( "orphans",                         XML_ORPHANS ),
        TOKEN( "outline-content-visible",         XML_OUTLINE_CONTENT_VISIBLE ),
        TOKEN( "outline-level",                   XML_OUTLINE_LEVEL ),
        TOKEN( "outline-level-style",             XML_OUTLINE_LEVEL_STYLE ),
        TOKEN( "outline-style",                   XML_OUTLINE_STYLE ),
        TOKEN( "outset",                          XML_OUTSET ),
        TOKEN( "outside",                         XML_OUTSIDE ),
        TOKEN( "overflow-behavior",               XML_OVERFLOW_BEHAVIOR ),
        TOKEN( "overlap",                         XML_OVERLAP ),
        TOKEN( "overlay",                         XML_OVERLAY ),
        TOKEN( "p",                               XML_P ),
        TOKEN( "package-name",                    XML_PACKAGE_NAME ),
        TOKEN( "padding",                         XML_PADDING ),
        TOKEN( "padding-bottom",                  XML_PADDING_BOTTOM ),
        TOKEN( "padding-left",                    XML_PADDING_LEFT ),
        TOKEN( "padding-right",                   XML_PADDING_RIGHT ),
        TOKEN( "padding-top",                     XML_PADDING_TOP ),
        TOKEN( "page",                            XML_PAGE ),
        TOKEN( "page-adjust",                     XML_PAGE_ADJUST ),
        TOKEN( "page-breaks-on-group-change",     XML_PAGE_BREAKS_ON_GROUP_CHANGE ),
        TOKEN( "page-content",                    XML_PAGE_CONTENT ),
        TOKEN( "page-continuation-string",        XML_PAGE_CONTINUATION_STRING ),
        TOKEN( "page-count",                      XML_PAGE_COUNT ),
        TOKEN( "page-end-margin",                 XML_PAGE_END_MARGIN ),
        TOKEN( "page-height",                     XML_PAGE_HEIGHT ),
        TOKEN( "page-master",                     XML_PAGE_MASTER ),
        TOKEN( "page-master-name",                XML_PAGE_MASTER_NAME ),
        TOKEN( "page-name",                       XML_PAGE_NAME ),
        TOKEN( "page-number",                     XML_PAGE_NUMBER ),
        TOKEN( "page-number-visible",             XML_PAGE_NUMBER_VISIBLE ),
        TOKEN( "page-start-margin",               XML_PAGE_START_MARGIN ),
        TOKEN( "page-step-size",                  XML_PAGE_STEP_SIZE ),
        TOKEN( "page-style-name",                 XML_PAGE_STYLE_NAME ),
        TOKEN( "page-thumbnail",                  XML_PAGE_THUMBNAIL ),
        TOKEN( "page-usage",                      XML_PAGE_USAGE ),
        TOKEN( "page-variable-get",               XML_PAGE_VARIABLE_GET ),
        TOKEN( "page-variable-set",               XML_PAGE_VARIABLE_SET ),
        TOKEN( "page-view-zoom-value",            XML_PAGE_VIEW_ZOOM_VALUE ),
        TOKEN( "page-width",                      XML_PAGE_WIDTH ),
        TOKEN( "pages",                           XML_PAGES ),
        TOKEN( "paper-tray-number",               XML_PAPER_TRAY_NUMBER ),
        TOKEN( "paragraph",                       XML_PARAGRAPH ),
        TOKEN( "paragraph-content",               XML_PARAGRAPH_CONTENT ),
        TOKEN( "paragraph-count",                 XML_PARAGRAPH_COUNT ),
        TOKEN( "paragraph-end-margin",            XML_PARAGRAPH_END_MARGIN ),
        TOKEN( "paragraph-start-margin",          XML_PARAGRAPH_START_MARGIN ),
        TOKEN( "parallel",                        XML_PARALLEL ),
        TOKEN( "param",                           XML_PARAM ),
        TOKEN( "parent-name",                     XML_PARENT_NAME ),
        TOKEN( "parent-style-name",               XML_PARENT_STYLE_NAME ),
        TOKEN( "parse-sql-statement",             XML_PARSE_SQL_STATEMENT ),
        TOKEN( "parsed",                          XML_PARSED ),
        TOKEN( "partialdiff",                     XML_PARTIALDIFF ),
        TOKEN( "password",                        XML_PASSWORD ),
        TOKEN( "passwort",                        XML_PASSWORT ),
        TOKEN( "path",                            XML_PATH ),
        TOKEN( "path-id",                         XML_PATH_ID ),
        TOKEN( "pause",                           XML_PAUSE ),
        TOKEN( "pending",                         XML_PENDING ),
        TOKEN( "percentage",                      XML_PERCENTAGE ),
        TOKEN( "percentage-style",                XML_PERCENTAGE_STYLE ),
        TOKEN( "perspective",                     XML_PERSPECTIVE ),
        TOKEN( "phdthesis",                       XML_PHDTHESIS ),
        TOKEN( "phong",                           XML_PHONG ),
        TOKEN( "velocity-x",                      XML_PHYSICS_ANIMATION_START_VELOCITY_X ),
        TOKEN( "velocity-y",                      XML_PHYSICS_ANIMATION_START_VELOCITY_Y ),
        TOKEN( "density",                         XML_PHYSICS_ANIMATION_DENSITY ),
        TOKEN( "bounciness",                      XML_PHYSICS_ANIMATION_BOUNCINESS ),
        TOKEN( "pie-offset",                      XML_PIE_OFFSET ),
        TOKEN( "placeholder",                     XML_PLACEHOLDER ),
        TOKEN( "placeholder-type",                XML_PLACEHOLDER_TYPE ),
        TOKEN( "placing",                         XML_PLACING ),
        TOKEN( "plain-number",                    XML_PLAIN_NUMBER ),
        TOKEN( "plain-number-and-name",           XML_PLAIN_NUMBER_AND_NAME ),
        TOKEN( "play-full",                       XML_PLAY_FULL ),
        TOKEN( "plot-area",                       XML_PLOT_AREA ),
        TOKEN( "plugin",                          XML_PLUGIN ),
        TOKEN( "plus",                            XML_PLUS ),
        TOKEN( "points",                          XML_POINTS ),
        TOKEN( "polygon",                         XML_POLYGON ),
        TOKEN( "polyline",                        XML_POLYLINE ),
        TOKEN( "polynomial",                      XML_POLYNOMIAL ),
        TOKEN( "pool-id",                         XML_POOL_ID ),
        TOKEN( "portrait",                        XML_PORTRAIT ),
        TOKEN( "position",                        XML_POSITION ),
        TOKEN( "position-bottom",                 XML_POSITION_BOTTOM ),
        TOKEN( "position-left",                   XML_POSITION_LEFT ),
        TOKEN( "position-right",                  XML_POSITION_RIGHT ),
        TOKEN( "position-top",                    XML_POSITION_TOP ),
        TOKEN( "positive-color",                  XML_POSITIVE_COLOR ),
        TOKEN( "oblique",                         XML_POSTURE_OBLIQUE ),
        TOKEN( "power",                           XML_POWER ),
        TOKEN( "precision-as-shown",              XML_PRECISION_AS_SHOWN ),
        TOKEN( "prefix",                          XML_PREFIX ),
        TOKEN( "infix",                           XML_INFIX ),
        TOKEN( "postfix",                         XML_POSTFIX ),
        TOKEN( "presentation",                    XML_PRESENTATION ),
        TOKEN( "orgchart",                        XML_PRESENTATION_ORGCHART ),
        TOKEN( "outline",                         XML_PRESENTATION_OUTLINE ),
        TOKEN( "presentation-page-layout",        XML_PRESENTATION_PAGE_LAYOUT ),
        TOKEN( "presentation-page-layout-name",   XML_PRESENTATION_PAGE_LAYOUT_NAME ),
        TOKEN( "previous",                        XML_PREVIOUS ),
        TOKEN( "previous-page",                   XML_PREVIOUS_PAGE ),
        TOKEN( "print",                           XML_PRINT ),
        TOKEN( "print-content",                   XML_PRINT_CONTENT ),
        TOKEN( "print-date",                      XML_PRINT_DATE ),
        TOKEN( "print-orientation",               XML_PRINT_ORIENTATION ),
        TOKEN( "print-page-order",                XML_PRINT_PAGE_ORDER ),
        TOKEN( "print-range",                     XML_PRINT_RANGE ),
        TOKEN( "print-ranges",                    XML_PRINT_RANGES ),
        TOKEN( "print-time",                      XML_PRINT_TIME ),
        TOKEN( "printable",                       XML_PRINTABLE ),
        TOKEN( "printed-by",                      XML_PRINTED_BY ),
        TOKEN( "prior",                           XML_PRIOR ),
        TOKEN( "proceedings",                     XML_PROCEEDINGS ),
        TOKEN( "product",                         XML_PRODUCT ),
        TOKEN( "projection",                      XML_PROJECTION ),
        TOKEN( "properties",                      XML_PROPERTIES ),
        TOKEN( "protect",                         XML_PROTECT ),
        TOKEN( "protected",                       XML_PROTECTED ),
        TOKEN( "protection-key",                  XML_PROTECTION_KEY ),
        TOKEN( "protection-key-digest-algorithm",   XML_PROTECTION_KEY_DIGEST_ALGORITHM ),
        TOKEN( "protection-key-digest-algorithm-2", XML_PROTECTION_KEY_DIGEST_ALGORITHM_2 ),
        TOKEN( "prsubset",                        XML_PRSUBSET ),
        TOKEN( "publisher",                       XML_PUBLISHER ),
        TOKEN( "punctuation-wrap",                XML_PUNCTUATION_WRAP ),
        TOKEN( "purple",                          XML_PURPLE ),
        TOKEN( "pyramid",                         XML_PYRAMID ),
        TOKEN( "qrcode",                          XML_QRCODE ),
        TOKEN( "qrcode-border",                   XML_QRCODE_BORDER ),
        TOKEN( "qrcode-errorcorrection",          XML_QRCODE_ERROR_CORRECTION ),
        TOKEN( "qrcode-type",                     XML_QRCODE_TYPE ),
        TOKEN( "quarter",                         XML_QUARTER ),
        TOKEN( "query-name",                      XML_QUERY_NAME ),
        TOKEN( "quo-vadis",                       XML_QUO_VADIS ),
        TOKEN( "quotient",                        XML_QUOTIENT ),
        TOKEN( "r",                               XML_R ),
        TOKEN( "radar",                           XML_RADAR ),
        TOKEN( "random",                          XML_RANDOM ),
        TOKEN( "range-address",                   XML_RANGE_ADDRESS ),
        TOKEN( "range-usable-as",                 XML_RANGE_USABLE_AS ),
        TOKEN( "recreate-on-edit",                XML_RECREATE_ON_EDIT ),
        TOKEN( "rect",                            XML_RECT ),
        TOKEN( "red",                             XML_RED ),
        TOKEN( "ref-name",                        XML_REF_NAME ),
        TOKEN( "reference",                       XML_REFERENCE ),
        TOKEN( "reference-end",                   XML_REFERENCE_END ),
        TOKEN( "reference-format",                XML_REFERENCE_FORMAT ),
        TOKEN( "reference-from-bottom",           XML_REFERENCE_FROM_BOTTOM ),
        TOKEN( "reference-hide-non-numerical",    XML_REFERENCE_HIDE_NON_NUMERICAL ),
        TOKEN( "reference-mark",                  XML_REFERENCE_MARK ),
        TOKEN( "reference-mark-end",              XML_REFERENCE_MARK_END ),
        TOKEN( "reference-mark-start",            XML_REFERENCE_MARK_START ),
        TOKEN( "reference-ref",                   XML_REFERENCE_REF ),
        TOKEN( "reference-start",                 XML_REFERENCE_START ),
        TOKEN( "reference-type",                  XML_REFERENCE_TYPE ),
        TOKEN( "refresh-delay",                   XML_REFRESH_DELAY ),
        TOKEN( "region-center",                   XML_REGION_CENTER ),
        TOKEN( "region-left",                     XML_REGION_LEFT ),
        TOKEN( "region-right",                    XML_REGION_RIGHT ),
        TOKEN( "register-true",                   XML_REGISTER_TRUE ),
        TOKEN( "register-truth-ref-style-name",       XML_REGISTER_TRUTH_REF_STYLE_NAME ),
        TOKEN( "rejected",                        XML_REJECTED ),
        TOKEN( "rejecting-change-id",             XML_REJECTING_CHANGE_ID ),
        TOKEN( "rejection",                       XML_REJECTION ),
        TOKEN( "rel-column-width",                XML_REL_COLUMN_WIDTH ),
        TOKEN( "rel-height",                      XML_REL_HEIGHT ),
        TOKEN( "rel-height-rel",                  XML_REL_HEIGHT_REL ),
        TOKEN( "rel-width",                       XML_REL_WIDTH ),
        TOKEN( "rel-width-rel",                   XML_REL_WIDTH_REL ),
        TOKEN( "relation",                        XML_RELATION ),
        TOKEN( "relative",                        XML_RELATIVE ),
        TOKEN( "relative-tab-stop-position",      XML_RELATIVE_TAB_STOP_POSITION ),
        TOKEN( "reln",                            XML_RELN ),
        TOKEN( "rem",                             XML_REM ),
        TOKEN( "remove-dependents",               XML_REMOVE_DEPENDENTS ),
        TOKEN( "remove-precedents",               XML_REMOVE_PRECEDENTS ),
        TOKEN( "repeat",                          XML_REPEAT ),
        TOKEN( "repeat-column",                   XML_REPEAT_COLUMN ),
        TOKEN( "repeat-row",                      XML_REPEAT_ROW ),
        TOKEN( "repeated",                        XML_REPEATED ),
        TOKEN( "replace",                         XML_REPLACE ),
        TOKEN( "report-type",                     XML_REPORT_TYPE ),
        TOKEN( "restart-on-page",                 XML_RESTART_ON_PAGE ),
        TOKEN( "revision",                        XML_REVISION ),
        TOKEN( "ridge",                           XML_RIDGE ),
        TOKEN( "right",                           XML_RIGHT ),
        TOKEN( "right-outside",                   XML_RIGHT_OUTSIDE ),
        TOKEN( "right-text",                      XML_RIGHT_TEXT ),
        TOKEN( "right-to-left",                   XML_RIGHT_TO_LEFT ),
        TOKEN( "right-arc",                       XML_RIGHTARC ),
        TOKEN( "right-circle",                    XML_RIGHTCIRCLE ),
        TOKEN( "rights",                          XML_RIGHTS ),
        TOKEN( "ring",                            XML_RING ),
        TOKEN( "role",                            XML_ROLE ),
        TOKEN( "roll-from-bottom",                XML_ROLL_FROM_BOTTOM ),
        TOKEN( "roll-from-left",                  XML_ROLL_FROM_LEFT ),
        TOKEN( "roll-from-right",                 XML_ROLL_FROM_RIGHT ),
        TOKEN( "roman",                           XML_ROMAN ),
        TOKEN( "root",                            XML_ROOT ),
        TOKEN( "rotate",                          XML_ROTATE ),
        TOKEN( "rotation",                        XML_ROTATION ),
        TOKEN( "rotation-align",                  XML_ROTATION_ALIGN ),
        TOKEN( "rotation-angle",                  XML_ROTATION_ANGLE ),
        TOKEN( "round",                           XML_ROUND ),
        TOKEN( "row",                             XML_ROW ),
        TOKEN( "row-height",                      XML_ROW_HEIGHT ),
        TOKEN( "row-number",                      XML_ROW_NUMBER ),
        TOKEN( "rows",                            XML_ROWS ),
        TOKEN( "rsid",                            XML_RSID ),
        TOKEN( "paragraph-rsid",                  XML_PARRSID ),
        TOKEN( "ruby",                            XML_RUBY ),
        TOKEN( "ruby-align",                      XML_RUBY_ALIGN ),
        TOKEN( "ruby-base",                       XML_RUBY_BASE ),
        TOKEN( "ruby-position",                   XML_RUBY_POSITION ),
        TOKEN( "ruby-text",                       XML_RUBY_TEXT ),
        TOKEN( "run-through",                     XML_RUN_THROUGH ),
        TOKEN( "rx",                              XML_RX ),
        TOKEN( "ry",                              XML_RY ),
        TOKEN( "s",                               XML_S ),
        TOKEN( "scale",                           XML_SCALE ),
        TOKEN( "scale-min",                       XML_SCALE_MIN ),
        TOKEN( "scale-text",                      XML_SCALE_TEXT ),
        TOKEN( "scale-to",                        XML_SCALE_TO ),
        TOKEN( "scale-to-pages",                  XML_SCALE_TO_PAGES ),
        TOKEN( "scatter",                         XML_SCATTER ),
        TOKEN( "scenario",                        XML_SCENARIO ),
        TOKEN( "scenario-ranges",                 XML_SCENARIO_RANGES ),
        TOKEN( "scene",                           XML_SCENE ),
        TOKEN( "school",                          XML_SCHOOL ),
        TOKEN( "scientific-number",               XML_SCIENTIFIC_NUMBER ),
        TOKEN( "score-spaces",                    XML_SCORE_SPACES ),
        TOKEN( "script",                          XML_SCRIPT ),
        TOKEN( "script-asian",                    XML_SCRIPT_ASIAN ),
        TOKEN( "script-complex",                  XML_SCRIPT_COMPLEX ),
        TOKEN( "scroll",                          XML_SCROLL ),
        TOKEN( "sdev",                            XML_SDEV ),
        TOKEN( "search-criteria-must-apply-to-whole-cell",        XML_SEARCH_CRITERIA_MUST_APPLY_TO_WHOLE_CELL ),
        TOKEN( "sec",                             XML_SEC ),
        TOKEN( "sech",                            XML_SECH ),
        TOKEN( "second-date-time",                XML_SECOND_DATE_TIME ),
        TOKEN( "seconds",                         XML_SECONDS ),
        TOKEN( "section",                         XML_SECTION ),
        TOKEN( "section-desc",                    XML_SECTION_DESC ),
        TOKEN( "section-name",                    XML_SECTION_NAME ),
        TOKEN( "section-source",                  XML_SECTION_SOURCE ),
        TOKEN( "select-page",                     XML_SELECT_PAGE ),
        TOKEN( "select-protected-cells",          XML_SELECT_PROTECTED_CELLS ),
        TOKEN( "select-unprotected-cells",        XML_SELECT_UNPROTECTED_CELLS ),
        TOKEN( "selector",                        XML_SELECTOR ),
        TOKEN( "semantics",                       XML_SEMANTICS ),
        TOKEN( "semi-automatic",                  XML_SEMI_AUTOMATIC ),
        TOKEN( "sender-city",                     XML_SENDER_CITY ),
        TOKEN( "sender-company",                  XML_SENDER_COMPANY ),
        TOKEN( "sender-country",                  XML_SENDER_COUNTRY ),
        TOKEN( "sender-email",                    XML_SENDER_EMAIL ),
        TOKEN( "sender-fax",                      XML_SENDER_FAX ),
        TOKEN( "sender-firstname",                XML_SENDER_FIRSTNAME ),
        TOKEN( "sender-initials",                 XML_SENDER_INITIALS ),
        TOKEN( "sender-lastname",                 XML_SENDER_LASTNAME ),
        TOKEN( "sender-phone-private",            XML_SENDER_PHONE_PRIVATE ),
        TOKEN( "sender-phone-work",               XML_SENDER_PHONE_WORK ),
        TOKEN( "sender-position",                 XML_SENDER_POSITION ),
        TOKEN( "sender-postal-code",              XML_SENDER_POSTAL_CODE ),
        TOKEN( "sender-state-or-province",        XML_SENDER_STATE_OR_PROVINCE ),
        TOKEN( "sender-street",                   XML_SENDER_STREET ),
        TOKEN( "sender-title",                    XML_SENDER_TITLE ),
        TOKEN( "sep",                             XML_SEP ),
        TOKEN( "separation-character",            XML_SEPARATION_CHARACTER ),
        TOKEN( "separator",                       XML_SEPARATOR ),
        TOKEN( "sequence",                        XML_SEQUENCE ),
        TOKEN( "sequence-decl",                   XML_SEQUENCE_DECL ),
        TOKEN( "sequence-decls",                  XML_SEQUENCE_DECLS ),
        TOKEN( "sequence-ref",                    XML_SEQUENCE_REF ),
        TOKEN( "series",                          XML_SERIES ),
        TOKEN( "series-source",                   XML_SERIES_SOURCE ),
        TOKEN( "server-map",                      XML_SERVER_MAP ),
        TOKEN( "set",                             XML_SET ),
        TOKEN( "setdiff",                         XML_SETDIFF ),
        TOKEN( "settings",                        XML_SETTINGS ),
        TOKEN( "shade-mode",                      XML_SHADE_MODE ),
        TOKEN( "shadow",                          XML_SHADOW ),
        TOKEN( "shadow-color",                    XML_SHADOW_COLOR ),
        TOKEN( "shadow-offset-x",                 XML_SHADOW_OFFSET_X ),
        TOKEN( "shadow-offset-y",                 XML_SHADOW_OFFSET_Y ),
        TOKEN( "shadow-slant",                    XML_SHADOW_SLANT ),
        TOKEN( "shadow-transparency",             XML_SHADOW_TRANSPARENCY ),
        TOKEN( "shadow-blur",                     XML_SHADOW_BLUR ),
        TOKEN( "shape",                           XML_SHAPE ),
        TOKEN( "shape-id",                        XML_SHAPE_ID ),
        TOKEN( "shapes",                          XML_SHAPES ),
        TOKEN( "sheet-name",                      XML_SHEET_NAME ),
        TOKEN( "shininess",                       XML_SHININESS ),
        TOKEN( "short",                           XML_SHORT ),
        TOKEN( "show",                            XML_SHOW ),
        TOKEN( "show-accepted-changes",           XML_SHOW_ACCEPTED_CHANGES ),
        TOKEN( "show-changes",                    XML_SHOW_CHANGES ),
        TOKEN( "show-changes-by-author",          XML_SHOW_CHANGES_BY_AUTHOR ),
        TOKEN( "show-changes-by-author-name",     XML_SHOW_CHANGES_BY_AUTHOR_NAME ),
        TOKEN( "show-changes-by-comment",         XML_SHOW_CHANGES_BY_COMMENT ),
        TOKEN( "show-changes-by-comment-text",        XML_SHOW_CHANGES_BY_COMMENT_TEXT ),
        TOKEN( "show-changes-by-datetime",        XML_SHOW_CHANGES_BY_DATETIME ),
        TOKEN( "show-changes-by-datetime-first-datetime",     XML_SHOW_CHANGES_BY_DATETIME_FIRST_DATETIME ),
        TOKEN( "show-changes-by-datetime-mode",       XML_SHOW_CHANGES_BY_DATETIME_MODE ),
        TOKEN( "show-changes-by-datetime-second-datetime",        XML_SHOW_CHANGES_BY_DATETIME_SECOND_DATETIME ),
        TOKEN( "show-changes-by-ranges",          XML_SHOW_CHANGES_BY_RANGES ),
        TOKEN( "show-changes-by-ranges-list",     XML_SHOW_CHANGES_BY_RANGES_LIST ),
        TOKEN( "show-horizontal-border",          XML_SHOW_HORIZONTAL_BORDER ),
        TOKEN( "show-keys",                       XML_SHOW_KEYS ),
        TOKEN( "show-logo",                       XML_SHOW_LOGO ),
        TOKEN( "show-rejected-changes",           XML_SHOW_REJECTED_CHANGES ),
        TOKEN( "show-shape",                      XML_SHOW_SHAPE ),
        TOKEN( "show-text",                       XML_SHOW_TEXT ),
        TOKEN( "show-unit",                       XML_SHOW_UNIT ),
        TOKEN( "show-value",                      XML_SHOW_VALUE ),
        TOKEN( "show-vertical-border",            XML_SHOW_VERTICAL_BORDER ),
        TOKEN( "show-outline",                    XML_SHOW_OUTLINE ),
        TOKEN( "shows",                           XML_SHOWS ),
        TOKEN( "side-by-side",                    XML_SIDE_BY_SIDE ),
        TOKEN( "silver",                          XML_SILVER ),
        TOKEN( "simple",                          XML_SIMPLE ),
        TOKEN( "sin",                             XML_SIN ),
        TOKEN( "since-date-time",                 XML_SINCE_DATE_TIME ),
        TOKEN( "since-save",                      XML_SINCE_SAVE ),
        TOKEN( "sinh",                            XML_SINH ),
        TOKEN( "size",                            XML_SIZE ),
        TOKEN( "size-protect",                    XML_SIZE_PROTECT ),
        TOKEN( "slant",                           XML_SLANT ),
        TOKEN( "slant-x",                         XML_SLANT_X ),
        TOKEN( "slant-y",                         XML_SLANT_Y ),
        TOKEN( "slide",                           XML_SLIDE ),
        TOKEN( "slow",                            XML_SLOW ),
        TOKEN( "softedge-radius",                 XML_SOFTEDGE_RADIUS ),
        TOKEN( "solid",                           XML_SOLID ),
        TOKEN( "solid-type",                      XML_SOLID_TYPE ),
        TOKEN( "sort",                            XML_SORT ),
        TOKEN( "sort-ascending",                  XML_SORT_ASCENDING ),
        TOKEN( "sort-by",                         XML_SORT_BY ),
        TOKEN( "sort-by-position",                XML_SORT_BY_POSITION ),
        TOKEN( "sort-groups",                     XML_SORT_GROUPS ),
        TOKEN( "sort-key",                        XML_SORT_KEY ),
        TOKEN( "sound",                           XML_SOUND ),
        TOKEN( "source-cell-range",               XML_SOURCE_CELL_RANGE ),
        TOKEN( "source-cell-range-addresses",     XML_SOURCE_CELL_RANGE_ADDRESSES ),
        TOKEN( "source-field-name",               XML_SOURCE_FIELD_NAME ),
        TOKEN( "source-name",                     XML_SOURCE_NAME ),
        TOKEN( "source-range-address",            XML_SOURCE_RANGE_ADDRESS ),
        TOKEN( "source-service",                  XML_SOURCE_SERVICE ),
        TOKEN( "space-before",                    XML_SPACE_BEFORE ),
        TOKEN( "sparkline",                       XML_SPARKLINE ),
        TOKEN( "sparklines",                      XML_SPARKLINES ),
        TOKEN( "sparkline-axis-complex-color",    XML_SPARKLINE_AXIS_COMPLEX_COLOR),
        TOKEN( "sparkline-first-complex-color",   XML_SPARKLINE_FIRST_COMPLEX_COLOR),
        TOKEN( "sparkline-group",                 XML_SPARKLINE_GROUP ),
        TOKEN( "sparkline-groups",                XML_SPARKLINE_GROUPS ),
        TOKEN( "sparkline-high-complex-color",    XML_SPARKLINE_HIGH_COMPLEX_COLOR),
        TOKEN( "sparkline-last-complex-color",    XML_SPARKLINE_LAST_COMPLEX_COLOR),
        TOKEN( "sparkline-low-complex-color",     XML_SPARKLINE_LOW_COMPLEX_COLOR),
        TOKEN( "sparkline-markers-complex-color", XML_SPARKLINE_MARKERS_COMPLEX_COLOR),
        TOKEN( "sparkline-negative-complex-color", XML_SPARKLINE_NEGATIVE_COMPLEX_COLOR),
        TOKEN( "sparkline-series-complex-color",  XML_SPARKLINE_SERIES_COMPLEX_COLOR),
        TOKEN( "span",                            XML_SPAN ),
        TOKEN( "specular",                        XML_SPECULAR ),
        TOKEN( "specular-color",                  XML_SPECULAR_COLOR ),
        TOKEN( "speed",                           XML_SPEED ),
        TOKEN( "sphere",                          XML_SPHERE ),
        TOKEN( "spiral",                          XML_SPIRAL ),
        TOKEN( "spiral-in",                       XML_SPIRAL_IN ),
        TOKEN( "spiral-inward-left",              XML_SPIRAL_INWARD_LEFT ),
        TOKEN( "spiral-inward-right",             XML_SPIRAL_INWARD_RIGHT ),
        TOKEN( "spiral-out",                      XML_SPIRAL_OUT ),
        TOKEN( "spiral-outward-left",             XML_SPIRAL_OUTWARD_LEFT ),
        TOKEN( "spiral-outward-right",            XML_SPIRAL_OUTWARD_RIGHT ),
        TOKEN( "spiralin-left",                   XML_SPIRALIN_LEFT ),
        TOKEN( "spiralin-right",                  XML_SPIRALIN_RIGHT ),
        TOKEN( "spiralout-left",                  XML_SPIRALOUT_LEFT ),
        TOKEN( "spiralout-right",                 XML_SPIRALOUT_RIGHT ),
        TOKEN( "splines",                         XML_SPLINES ),
        TOKEN( "split",                           XML_SPLIT ),
        TOKEN( "split-column",                    XML_SPLIT_COLUMN ),
        TOKEN( "split-position",                  XML_SPLIT_POSITION ),
        TOKEN( "split-row",                       XML_SPLIT_ROW ),
        TOKEN( "spreadsheet",                     XML_SPREADSHEET ),
        TOKEN( "spreadMethod",                    XML_SPREADMETHOD ),
        TOKEN( "sql-statement",                   XML_SQL_STATEMENT ),
        TOKEN( "stacked",                         XML_STACKED ),
        TOKEN( "stagger-even",                    XML_STAGGER_EVEN ),
        TOKEN( "stagger-odd",                     XML_STAGGER_ODD ),
        TOKEN( "standard",                        XML_STANDARD ),
        TOKEN( "standard-deviation",              XML_STANDARD_DEVIATION ),
        TOKEN( "starbasic",                       XML_STARBASIC ),
        TOKEN( "start",                           XML_START ),
        TOKEN( "start-angle",                     XML_START_ANGLE ),
        TOKEN( "start-color",                     XML_START_COLOR ),
        TOKEN( "start-column",                    XML_START_COLUMN ),
        TOKEN( "start-glue-point",                XML_START_GLUE_POINT ),
        TOKEN( "start-guide",                     XML_START_GUIDE ),
        TOKEN( "start-intensity",                 XML_START_INTENSITY ),
        TOKEN( "start-line-spacing-horizontal",       XML_START_LINE_SPACING_HORIZONTAL ),
        TOKEN( "start-line-spacing-vertical",     XML_START_LINE_SPACING_VERTICAL ),
        TOKEN( "start-numbering-at",              XML_START_NUMBERING_AT ),
        TOKEN( "start-page",                      XML_START_PAGE ),
        TOKEN( "start-position",                  XML_START_POSITION ),
        TOKEN( "start-row",                       XML_START_ROW ),
        TOKEN( "start-scale",                     XML_START_SCALE ),
        TOKEN( "start-shape",                     XML_START_SHAPE ),
        TOKEN( "start-table",                     XML_START_TABLE ),
        TOKEN( "start-value",                     XML_START_VALUE ),
        TOKEN( "start-with-navigator",            XML_START_WITH_NAVIGATOR ),
        TOKEN( "state",                           XML_STATE ),
        TOKEN( "statistics",                      XML_STATISTICS ),
        TOKEN( "status",                          XML_STATUS ),
        TOKEN( "stay-on-top",                     XML_STAY_ON_TOP ),
        TOKEN( "stdev",                           XML_STDEV ),
        TOKEN( "stdevp",                          XML_STDEVP ),
        TOKEN( "steps",                           XML_STEPS ),
        TOKEN( "step-size",                       XML_STEP_SIZE ),
        TOKEN( "stock",                           XML_STOCK ),
        TOKEN( "stock-updown-bars",               XML_STOCK_UPDOWN_BARS ),
        TOKEN( "stock-with-volume",               XML_STOCK_WITH_VOLUME ),
        TOKEN( "stop",                            XML_STOP ),
        TOKEN( "stop-color",                      XML_STOP_COLOR ),
        TOKEN( "stop-opacity",                    XML_STOP_OPACITY ),
        TOKEN( "stretch",                         XML_STRETCH ),
        TOKEN( "stretch-from-bottom",             XML_STRETCH_FROM_BOTTOM ),
        TOKEN( "stretch-from-left",               XML_STRETCH_FROM_LEFT ),
        TOKEN( "stretch-from-right",              XML_STRETCH_FROM_RIGHT ),
        TOKEN( "stretch-from-top",                XML_STRETCH_FROM_TOP ),
        TOKEN( "stretchy",                        XML_STRETCHY ),
        TOKEN( "strict",                          XML_STRICT ),
        TOKEN( "string",                          XML_STRING ),
        TOKEN( "string-value",                    XML_STRING_VALUE ),
        TOKEN( "string-value-if-false",           XML_STRING_VALUE_IF_FALSE ),
        TOKEN( "string-value-if-true",            XML_STRING_VALUE_IF_TRUE ),
        TOKEN( "stripes",                         XML_STRIPES ),
        TOKEN( "stroke",                          XML_STROKE ),
        TOKEN( "stroke-color",                    XML_STROKE_COLOR ),
        TOKEN( "stroke-complex-color",            XML_STROKE_COMPLEX_COLOR ),
        TOKEN( "stroke-dash",                     XML_STROKE_DASH ),
        TOKEN( "stroke-linecap",                  XML_STROKE_LINECAP ),
        TOKEN( "stroke-linejoin",                 XML_STROKE_LINEJOIN ),
        TOKEN( "stroke-opacity",                  XML_STROKE_OPACITY ),
        TOKEN( "stroke-width",                    XML_STROKE_WIDTH ),
        TOKEN( "structure-protected",             XML_STRUCTURE_PROTECTED ),
        TOKEN( "style",                           XML_STYLE ),
        TOKEN( "style-name",                      XML_STYLE_NAME ),
        TOKEN( "style-ref",                       XML_STYLE_REF ),
        TOKEN( "styles",                          XML_STYLES ),
        TOKEN( "stylesheet",                      XML_STYLESHEET ),
        TOKEN( "sub-table",                       XML_SUB_TABLE ),
        TOKEN( "subject",                         XML_SUBJECT ),
        TOKEN( "subset",                          XML_SUBSET ),
        TOKEN( "subtitle",                        XML_SUBTITLE ),
        TOKEN( "subtotal-field",                  XML_SUBTOTAL_FIELD ),
        TOKEN( "subtotal-rule",                   XML_SUBTOTAL_RULE ),
        TOKEN( "subtotal-rules",                  XML_SUBTOTAL_RULES ),
        TOKEN( "sub-view-size",                   XML_SUB_VIEW_SIZE ),
        TOKEN( "suffix",                          XML_SUFFIX ),
        TOKEN( "sum",                             XML_SUM ),
        TOKEN( "swiss",                           XML_SWISS ),
        TOKEN( "symbol",                          XML_SYMBOL ),
        TOKEN( "symbol-height",                   XML_SYMBOL_HEIGHT ),
        TOKEN( "symbol-image-name",               XML_SYMBOL_IMAGE_NAME ),
        TOKEN( "symbol-width",                    XML_SYMBOL_WIDTH ),
        TOKEN( "system",                          XML_SYSTEM ),
        TOKEN( "tab-color",                       XML_TAB_COLOR ),
        TOKEN( "tab-cycle",                       XML_TAB_CYCLE ),
        TOKEN( "tab-index",                       XML_TAB_INDEX ),
        TOKEN( "tab-stop",                        XML_TAB_STOP ),
        TOKEN( "tab-stop-distance",               XML_TAB_STOP_DISTANCE ),
        TOKEN( "tab-stops",                       XML_TAB_STOPS ),
        TOKEN( "table",                           XML_TABLE ),
        TOKEN( "table-background",                XML_TABLE_BACKGROUND ),
        TOKEN( "table-cell",                      XML_TABLE_CELL ),
        TOKEN( "table-centering",                 XML_TABLE_CENTERING ),
        TOKEN( "table-column",                    XML_TABLE_COLUMN ),
        TOKEN( "table-column-group",              XML_TABLE_COLUMN_GROUP ),
        TOKEN( "table-columns",                   XML_TABLE_COLUMNS ),
        TOKEN( "table-count",                     XML_TABLE_COUNT ),
        TOKEN( "table-header",                    XML_TABLE_HEADER ),
        TOKEN( "table-header-columns",            XML_TABLE_HEADER_COLUMNS ),
        TOKEN( "table-header-rows",               XML_TABLE_HEADER_ROWS ),
        TOKEN( "table-index",                     XML_TABLE_INDEX ),
        TOKEN( "table-index-entry-template",      XML_TABLE_INDEX_ENTRY_TEMPLATE ),
        TOKEN( "table-index-source",              XML_TABLE_INDEX_SOURCE ),
        TOKEN( "table-name",                      XML_TABLE_NAME ),
        TOKEN( "table-of-content",                XML_TABLE_OF_CONTENT ),
        TOKEN( "table-of-content-entry-template",     XML_TABLE_OF_CONTENT_ENTRY_TEMPLATE ),
        TOKEN( "table-of-content-source",         XML_TABLE_OF_CONTENT_SOURCE ),
        TOKEN( "table-page",                      XML_TABLE_PAGE ),
        TOKEN( "table-protection",                XML_TABLE_PROTECTION ),
        TOKEN( "table-row",                       XML_TABLE_ROW ),
        TOKEN( "table-row-group",                 XML_TABLE_ROW_GROUP ),
        TOKEN( "table-rows",                      XML_TABLE_ROWS ),
        TOKEN( "table-source",                    XML_TABLE_SOURCE ),
        TOKEN( "table-view",                      XML_TABLE_VIEW ),
        TOKEN( "tables",                          XML_TABLES ),
        TOKEN( "tan",                             XML_TAN ),
        TOKEN( "tanh",                            XML_TANH ),
        TOKEN( "target-cell-address",             XML_TARGET_CELL_ADDRESS ),
        TOKEN( "target-frame",                    XML_TARGET_FRAME ),
        TOKEN( "target-frame-name",               XML_TARGET_FRAME_NAME ),
        TOKEN( "target-range-address",            XML_TARGET_RANGE_ADDRESS ),
        TOKEN( "tb-rl",                           XML_TB_RL ),
        TOKEN( "teal",                            XML_TEAL ),
        TOKEN( "techreport",                      XML_TECHREPORT ),
        TOKEN( "template",                        XML_TEMPLATE ),
        TOKEN( "template-name",                   XML_TEMPLATE_NAME ),
        TOKEN( "tendsto",                         XML_TENDSTO ),
        TOKEN( "texture-filter",                  XML_TEX_FILTER ),
        TOKEN( "texture-generation-mode-x",       XML_TEX_GENERATION_MODE_X ),
        TOKEN( "texture-generation-mode-y",       XML_TEX_GENERATION_MODE_Y ),
        TOKEN( "texture-kind",                    XML_TEX_KIND ),
        TOKEN( "texture-mode",                    XML_TEX_MODE ),
        TOKEN( "text",                            XML_TEXT ),
        TOKEN( "text-align",                      XML_TEXT_ALIGN ),
        TOKEN( "text-align-last",                 XML_TEXT_ALIGN_LAST ),
        TOKEN( "text-align-source",               XML_TEXT_ALIGN_SOURCE ),
        TOKEN( "text-autospace",                  XML_TEXT_AUTOSPACE ),
        TOKEN( "text-background-color",           XML_TEXT_BACKGROUND_COLOR ),
        TOKEN( "text-blinking",                   XML_TEXT_BLINKING ),
        TOKEN( "text-box",                        XML_TEXT_BOX ),
        TOKEN( "text-changes-only",               XML_TEXT_CHANGES_ONLY ),
        TOKEN( "text-color",                      XML_TEXT_COLOR ),
        TOKEN( "text-combine",                    XML_TEXT_COMBINE ),
        TOKEN( "text-combine-end-char",           XML_TEXT_COMBINE_END_CHAR ),
        TOKEN( "text-combine-start-char",         XML_TEXT_COMBINE_START_CHAR ),
        TOKEN( "text-content",                    XML_TEXT_CONTENT ),
        TOKEN( "text-conversion-dictionary",      XML_TEXT_CONVERSION_DICTIONARY ),
        TOKEN( "text-crossing-out",               XML_TEXT_CROSSING_OUT ),
        TOKEN( "text-emphasize",                  XML_TEXT_EMPHASIZE ),
        TOKEN( "text-global",                     XML_TEXT_GLOBAL ),
        TOKEN( "text-indent",                     XML_TEXT_INDENT ),
        TOKEN( "text-input",                      XML_TEXT_INPUT ),
        TOKEN( "text-justify",                    XML_TEXT_JUSTIFY ),
        TOKEN( "text-outline",                    XML_TEXT_OUTLINE ),
        TOKEN( "text-only",                       XML_TEXT_ONLY ),
        TOKEN( "text-position",                   XML_TEXT_POSITION ),
        TOKEN( "text-rotation-angle",             XML_TEXT_ROTATION_ANGLE ),
        TOKEN( "text-rotation-scale",             XML_TEXT_ROTATION_SCALE ),
        TOKEN( "text-scale",                      XML_TEXT_SCALE ),
        TOKEN( "text-shadow",                     XML_TEXT_SHADOW ),
        TOKEN( "text-style",                      XML_TEXT_STYLE ),
        TOKEN( "text-transform",                  XML_TEXT_TRANSFORM ),
        TOKEN( "text-underline",                  XML_TEXT_UNDERLINE ),
        TOKEN( "text-underline-color",            XML_TEXT_UNDERLINE_COLOR ),
        TOKEN( "textarea-horizontal-align",       XML_TEXTAREA_HORIZONTAL_ALIGN ),
        TOKEN( "textarea-vertical-align",         XML_TEXTAREA_VERTICAL_ALIGN ),
        TOKEN( "textual",                         XML_TEXTUAL ),
        TOKEN( "thick",                           XML_THICK ),
        TOKEN( "thin",                            XML_THIN ),
        TOKEN( "three-dimensional",               XML_THREE_DIMENSIONAL ),
        TOKEN( "thumbnail",                       XML_THUMBNAIL ),
        TOKEN( "tick-marks-major-inner",          XML_TICK_MARKS_MAJOR_INNER ),
        TOKEN( "tick-marks-major-outer",          XML_TICK_MARKS_MAJOR_OUTER ),
        TOKEN( "tick-marks-minor-inner",          XML_TICK_MARKS_MINOR_INNER ),
        TOKEN( "tick-marks-minor-outer",          XML_TICK_MARKS_MINOR_OUTER ),
        TOKEN( "tile-repeat-offset",              XML_TILE_REPEAT_OFFSET ),
        TOKEN( "time",                            XML_TIME ),
        TOKEN( "time-adjust",                     XML_TIME_ADJUST ),
        TOKEN( "time-style",                      XML_TIME_STYLE ),
        TOKEN( "time-value",                      XML_TIME_VALUE ),
        TOKEN( "times",                           XML_TIMES ),
        TOKEN( "title",                           XML_TITLE ),
        TOKEN( "to-another-table",                XML_TO_ANOTHER_TABLE ),
        TOKEN( "to-bottom",                       XML_TO_BOTTOM ),
        TOKEN( "to-center",                       XML_TO_CENTER ),
        TOKEN( "to-left",                         XML_TO_LEFT ),
        TOKEN( "to-lower-left",                   XML_TO_LOWER_LEFT ),
        TOKEN( "to-lower-right",                  XML_TO_LOWER_RIGHT ),
        TOKEN( "to-right",                        XML_TO_RIGHT ),
        TOKEN( "to-top",                          XML_TO_TOP ),
        TOKEN( "to-upper-left",                   XML_TO_UPPER_LEFT ),
        TOKEN( "to-upper-right",                  XML_TO_UPPER_RIGHT ),
        TOKEN( "toc-mark",                        XML_TOC_MARK ),
        TOKEN( "toc-mark-end",                    XML_TOC_MARK_END ),
        TOKEN( "toc-mark-start",                  XML_TOC_MARK_START ),
        TOKEN( "toggle",                          XML_TOGGLE ),
        TOKEN( "top",                             XML_TOP ),
        TOKEN( "top-left",                        XML_TOP_LEFT ),
        TOKEN( "top percent",                     XML_TOP_PERCENT ),
        TOKEN( "top-right",                       XML_TOP_RIGHT ),
        TOKEN( "top values",                      XML_TOP_VALUES ),
        TOKEN( "top-arc",                         XML_TOPARC ),
        TOKEN( "top-circle",                      XML_TOPCIRCLE ),
        TOKEN( "trace-dependents",                XML_TRACE_DEPENDENTS ),
        TOKEN( "trace-errors",                    XML_TRACE_ERRORS ),
        TOKEN( "trace-precedents",                XML_TRACE_PRECEDENTS ),
        TOKEN( "track-changes",                   XML_TRACK_CHANGES ),
        TOKEN( "tracked-changes",                 XML_TRACKED_CHANGES ),
        TOKEN( "tracked-changes-view-settings",       XML_TRACKED_CHANGES_VIEW_SETTINGS ),
        TOKEN( "transform",                       XML_TRANSFORM ),
        TOKEN( "transition-on-click",             XML_TRANSITION_ON_CLICK ),
        TOKEN( "transparency",                    XML_TRANSPARENCY ),
        TOKEN( "transparency-name",               XML_TRANSPARENCY_NAME ),
        TOKEN( "transparent",                     XML_TRANSPARENT ),
        TOKEN( "transpose",                       XML_TRANSPOSE ),
        TOKEN( "true",                            XML_TRUE ),
        TOKEN( "truncate-on-overflow",            XML_TRUNCATE_ON_OVERFLOW ),
        TOKEN( "try-staggering-first",            XML_TRY_STAGGERING_FIRST ),
        TOKEN( "tspan",                           XML_TSPAN ),
        TOKEN( "ttb",                             XML_TTB ),
        TOKEN( "type",                            XML_TYPE ),
        TOKEN( "dot-dash",                        XML_DOT_DASH ),
        TOKEN( "dot-dot-dash",                    XML_DOT_DOT_DASH ),
        TOKEN( "long-dash",                       XML_LONG_DASH ),
        TOKEN( "show-sign-date",                  XML_SHOW_SIGN_DATE ),
        TOKEN( "signatureline",                   XML_SIGNATURELINE ),
        TOKEN( "signing-instructions",            XML_SIGNING_INSTRUCTIONS ),
        TOKEN( "single",                          XML_SINGLE ),
        TOKEN( "small-wave",                      XML_SMALL_WAVE ),
        TOKEN( "suggested-signer-email",          XML_SUGGESTED_SIGNER_EMAIL ),
        TOKEN( "suggested-signer-name",           XML_SUGGESTED_SIGNER_NAME ),
        TOKEN( "suggested-signer-title",          XML_SUGGESTED_SIGNER_TITLE ),
        TOKEN( "wave",                            XML_WAVE ),
        TOKEN( "unformatted-text",                XML_UNFORMATTED_TEXT ),
        TOKEN( "union",                           XML_UNION ),
        TOKEN( "unit",                            XML_UNIT ),
        TOKEN( "unordered-list",                  XML_UNORDERED_LIST ),
        TOKEN( "unpublished",                     XML_UNPUBLISHED ),
        TOKEN( "up",                              XML_UP ),
        TOKEN( "uplimit",                         XML_UPLIMIT ),
        TOKEN( "upright",                         XML_UPRIGHT ),
        TOKEN( "url",                             XML_URL ),
        TOKEN( "use",                             XML_USE ),
        TOKEN( "use-caption",                     XML_USE_CAPTION ),
        TOKEN( "use-cell-protection",             XML_USE_CELL_PROTECTION ),
        TOKEN( "use-chart-objects",               XML_USE_CHART_OBJECTS ),
        TOKEN( "use-condition",                   XML_USE_CONDITION ),
        TOKEN( "use-draw-objects",                XML_USE_DRAW_OBJECTS ),
        TOKEN( "use-floating-frames",             XML_USE_FLOATING_FRAMES ),
        TOKEN( "use-graphics",                    XML_USE_GRAPHICS ),
        TOKEN( "use-image-objects",               XML_USE_IMAGE_OBJECTS ),
        TOKEN( "use-index-marks",                 XML_USE_INDEX_MARKS ),
        TOKEN( "use-index-source-styles",         XML_USE_INDEX_SOURCE_STYLES ),
        TOKEN( "use-keys-as-entries",             XML_USE_KEYS_AS_ENTRIES ),
        TOKEN( "use-label",                       XML_USE_LABEL ),
        TOKEN( "use-math-objects",                XML_USE_MATH_OBJECTS ),
        TOKEN( "use-objects",                     XML_USE_OBJECTS ),
        TOKEN( "use-optimal-column-width",        XML_USE_OPTIMAL_COLUMN_WIDTH ),
        TOKEN( "use-optimal-row-height",          XML_USE_OPTIMAL_ROW_HEIGHT ),
        TOKEN( "use-other-objects",               XML_USE_OTHER_OBJECTS ),
        TOKEN( "use-spreadsheet-objects",         XML_USE_SPREADSHEET_OBJECTS ),
        TOKEN( "use-styles",                      XML_USE_STYLES ),
        TOKEN( "use-tables",                      XML_USE_TABLES ),
        TOKEN( "use-window-font-color",           XML_USE_WINDOW_FONT_COLOR ),
        TOKEN( "used-hierarchy",                  XML_USED_HIERARCHY ),
        TOKEN( "user-defined",                    XML_USER_DEFINED ),
        TOKEN( "user-field-decl",                 XML_USER_FIELD_DECL ),
        TOKEN( "user-field-decls",                XML_USER_FIELD_DECLS ),
        TOKEN( "user-field-get",                  XML_USER_FIELD_GET ),
        TOKEN( "user-field-input",                XML_USER_FIELD_INPUT ),
        TOKEN( "user-index",                      XML_USER_INDEX ),
        TOKEN( "user-index-entry-template",       XML_USER_INDEX_ENTRY_TEMPLATE ),
        TOKEN( "user-index-mark",                 XML_USER_INDEX_MARK ),
        TOKEN( "user-index-mark-end",             XML_USER_INDEX_MARK_END ),
        TOKEN( "user-index-mark-start",           XML_USER_INDEX_MARK_START ),
        TOKEN( "user-index-source",               XML_USER_INDEX_SOURCE ),
        TOKEN( "user-transformed",                XML_USER_TRANSFORMED ),
        TOKEN( "username",                        XML_USERNAME ),
        TOKEN( "validation",                      XML_VALIDATION ),
        TOKEN( "value",                           XML_VALUE ),
        TOKEN( "value-type",                      XML_VALUE_TYPE ),
        TOKEN( "values-cell-range-address",       XML_VALUES_CELL_RANGE_ADDRESS ),
        TOKEN( "var",                             XML_VAR ),
        TOKEN( "variable",                        XML_VARIABLE ),
        TOKEN( "variable-decl",                   XML_VARIABLE_DECL ),
        TOKEN( "variable-decls",                  XML_VARIABLE_DECLS ),
        TOKEN( "variable-get",                    XML_VARIABLE_GET ),
        TOKEN( "variable-input",                  XML_VARIABLE_INPUT ),
        TOKEN( "variable-set",                    XML_VARIABLE_SET ),
        TOKEN( "variance",                        XML_VARIANCE ),
        TOKEN( "varp",                            XML_VARP ),
        TOKEN( "vector",                          XML_VECTOR ),
        TOKEN( "verb",                            XML_VERB ),
        TOKEN( "version",                         XML_VERSION ),
        TOKEN( "version-entry",                   XML_VERSION_ENTRY ),
        TOKEN( "version-list",                    XML_VERSION_LIST ),
        TOKEN( "vertical",                        XML_VERTICAL ),
        TOKEN( "vertical-align",                  XML_VERTICAL_ALIGN ),
        TOKEN( "vertical-justify",                XML_VERTICAL_JUSTIFY ),
        TOKEN( "vertical-lines",                  XML_VERTICAL_LINES ),
        TOKEN( "vertical-pos",                    XML_VERTICAL_POS ),
        TOKEN( "vertical-rel",                    XML_VERTICAL_REL ),
        TOKEN( "vertical-segments",               XML_VERTICAL_SEGMENTS ),
        TOKEN( "vertical-split-mode",             XML_VERTICAL_SPLIT_MODE ),
        TOKEN( "vertical-split-position",         XML_VERTICAL_SPLIT_POSITION ),
        TOKEN( "vertical-stripes",                XML_VERTICAL_STRIPES ),
        TOKEN( "view",                            XML_VIEW ),
        TOKEN( "viewBox",                         XML_VIEWBOX ),
        TOKEN( "view-id",                         XML_VIEW_ID ),
        TOKEN( "view-settings",                   XML_VIEW_SETTINGS ),
        TOKEN( "visibility",                      XML_VISIBILITY ),
        TOKEN( "visible",                         XML_VISIBLE ),
        TOKEN( "visible-area",                    XML_VISIBLE_AREA ),
        TOKEN( "visible-area-height",             XML_VISIBLE_AREA_HEIGHT ),
        TOKEN( "visible-area-left",               XML_VISIBLE_AREA_LEFT ),
        TOKEN( "visible-area-top",                XML_VISIBLE_AREA_TOP ),
        TOKEN( "visible-area-width",              XML_VISIBLE_AREA_WIDTH ),
        TOKEN( "visited-style-name",              XML_VISITED_STYLE_NAME ),
        TOKEN( "visual-effect",              XML_VISUAL_EFFECT ),
        TOKEN( "volatile",                        XML_VOLATILE ),
        TOKEN( "volume",                          XML_VOLUME ),
        TOKEN( "vpn",                             XML_VPN ),
        TOKEN( "vrp",                             XML_VRP ),
        TOKEN( "vup",                             XML_VUP ),
        TOKEN( "wall",                            XML_WALL ),
        TOKEN( "warning",                         XML_WARNING ),
        TOKEN( "watermark",                       XML_WATERMARK ),
        TOKEN( "wavyline",                        XML_WAVYLINE ),
        TOKEN( "wavyline-from-bottom",            XML_WAVYLINE_FROM_BOTTOM ),
        TOKEN( "wavyline-from-left",              XML_WAVYLINE_FROM_LEFT ),
        TOKEN( "wavyline-from-right",             XML_WAVYLINE_FROM_RIGHT ),
        TOKEN( "wavyline-from-top",               XML_WAVYLINE_FROM_TOP ),
        TOKEN( "week-of-year",                    XML_WEEK_OF_YEAR ),
        TOKEN( "white",                           XML_WHITE ),
        TOKEN( "whole-page",                      XML_WHOLE_PAGE ),
        TOKEN( "widows",                          XML_WIDOWS ),
        TOKEN( "width",                           XML_WIDTH ),
        TOKEN( "window-font-color",               XML_WINDOW_FONT_COLOR ),
        TOKEN( "word",                            XML_WORD ),
        TOKEN( "word-count",                      XML_WORD_COUNT ),
        TOKEN( "wrap",                            XML_WRAP ),
        TOKEN( "wrap-contour",                    XML_WRAP_CONTOUR ),
        TOKEN( "wrap-contour-mode",               XML_WRAP_CONTOUR_MODE ),
        TOKEN( "wrap-option",                     XML_WRAP_OPTION ),
        TOKEN( "writing-mode",                    XML_WRITING_MODE ),
        TOKEN( "www",                             XML_WWW ),
        TOKEN( "x",                               XML_X ),
        TOKEN( "x1",                              XML_X1 ),
        TOKEN( "x2",                              XML_X2 ),
        TOKEN( "x-mac-roman",                     XML_X_MAC_ROMAN ),
        TOKEN( "x-symbol",                        XML_X_SYMBOL ),
        TOKEN( "x-system",                        XML_X_SYSTEM ),
        TOKEN( "xor",                             XML_XOR ),
        TOKEN( "y",                               XML_Y ),
        TOKEN( "y1",                              XML_Y1 ),
        TOKEN( "y2",                              XML_Y2 ),
        TOKEN( "year",                            XML_YEAR ),
        TOKEN( "yellow",                          XML_YELLOW ),
        TOKEN( "zero-values",                     XML_ZERO_VALUES ),
        TOKEN( "z-index",                         XML_ZINDEX ),
        TOKEN( "zoom-type",                       XML_ZOOM_TYPE ),
        TOKEN( "zoom-value",                      XML_ZOOM_VALUE ),

        TOKEN( "enable",                          XML_ENABLE ),
        TOKEN( "use-regular-expressions",         XML_USE_REGULAR_EXPRESSIONS ),
        TOKEN( "use-wildcards",                   XML_USE_WILDCARDS ),
        TOKEN( "data-source-has-labels",          XML_DATA_SOURCE_HAS_LABELS ),
        TOKEN( "link-data-style-to-source",       XML_LINK_DATA_STYLE_TO_SOURCE ),
        TOKEN( "sort-algorithm",                  XML_SORT_ALGORITHM ),
        TOKEN( "straight-line",                   XML_STRAIGHT_LINE ),
        TOKEN( "angled-line",                     XML_ANGLED_LINE ),
        TOKEN( "angled-connector-line",           XML_ANGLED_CONNECTOR_LINE ),

        TOKEN( "application/x-www-form-urlencoded",      XML_APPLICATION_X_WWW_FORM_URLENCODED ),
        TOKEN( "multipart/formdata",              XML_MULTIPART_FORMDATA ),
        TOKEN( "application/text",                XML_APPLICATION_TEXT ),
        TOKEN( "get",                             XML_GET ),
        TOKEN( "post",                            XML_POST ),
        TOKEN( "query",                           XML_QUERY ),
        TOKEN( "parent",                          XML_PARENT ),
        TOKEN( "records",                         XML_RECORDS ),
        TOKEN( "push",                            XML_PUSH ),
        TOKEN( "submit",                          XML_SUBMIT ),
        TOKEN( "reset",                           XML_RESET ),
        TOKEN( "value-list",                      XML_VALUE_LIST ),
        TOKEN( "sql",                             XML_SQL ),
        TOKEN( "sql-pass-through",                XML_SQL_PASS_THROUGH ),
        TOKEN( "table-fields",                    XML_TABLE_FIELDS ),
        TOKEN( "unchecked",                       XML_UNCHECKED ),
        TOKEN( "checked",                         XML_CHECKED ),
        TOKEN( "unknown",                         XML_UNKNOWN ),

        TOKEN( "roll-from-top",                  XML_ROLL_FROM_TOP ),

        TOKEN( "binary-data",                     XML_BINARY_DATA ),
        TOKEN( "notify-on-update-of-table",       XML_NOTIFY_ON_UPDATE_OF_TABLE ),

        TOKEN( "0",                               XML_0 ),
        TOKEN( "play",                            XML_PLAY ),
        TOKEN( "handout-master",                  XML_HANDOUT_MASTER ),
        TOKEN( "text-style-name",                 XML_TEXT_STYLE_NAME ),
        TOKEN( "escape-direction",                XML_ESCAPE_DIRECTION ),
        TOKEN( "glue-point",                      XML_GLUE_POINT ),
        TOKEN( "primary-x",                       XML_PRIMARY_X ),
        TOKEN( "secondary-x",                     XML_SECONDARY_X ),
        TOKEN( "primary-y",                       XML_PRIMARY_Y ),
        TOKEN( "secondary-y",                     XML_SECONDARY_Y ),
        TOKEN( "primary-z",                       XML_PRIMARY_Z ),

        TOKEN( "caption-type",                    XML_CAPTION_TYPE ),
        TOKEN( "caption-angle-type",              XML_CAPTION_ANGLE_TYPE ),
        TOKEN( "caption-angle",                   XML_CAPTION_ANGLE ),
        TOKEN( "caption-gap",                     XML_CAPTION_GAP ),
        TOKEN( "caption-escape-direction",        XML_CAPTION_ESCAPE_DIRECTION ),
        TOKEN( "caption-escape",                  XML_CAPTION_ESCAPE ),
        TOKEN( "caption-line-length",             XML_CAPTION_LINE_LENGTH ),
        TOKEN( "caption-fit-line-length",         XML_CAPTION_FIT_LINE_LENGTH ),
        TOKEN( "free",                            XML_FREE ),
        TOKEN( "transition-type",                 XML_TRANSITION_TYPE ),
        TOKEN( "transition-style",                XML_TRANSITION_STYLE ),
        TOKEN( "transition-speed",                XML_TRANSITION_SPEED ),
        TOKEN( "duration",                        XML_DURATION ),
        TOKEN( "background-size",                 XML_BACKGROUND_SIZE ),
        TOKEN( "background-objects-visible",      XML_BACKGROUND_OBJECTS_VISIBLE ),
        TOKEN( "background-visible",              XML_BACKGROUND_VISIBLE ),

        TOKEN( "move-from-upperleft",             XML_MOVE_FROM_UPPERLEFT ),
        TOKEN( "move-from-upperright",            XML_MOVE_FROM_UPPERRIGHT ),
        TOKEN( "move-from-lowerright",            XML_MOVE_FROM_LOWERRIGHT ),
        TOKEN( "move-from-lowerleft",             XML_MOVE_FROM_LOWERLEFT ),
        TOKEN( "uncover-to-left",                 XML_UNCOVER_TO_LEFT ),
        TOKEN( "uncover-to-upperleft",            XML_UNCOVER_TO_UPPERLEFT ),
        TOKEN( "uncover-to-top",                  XML_UNCOVER_TO_TOP ),
        TOKEN( "uncover-to-upperright",           XML_UNCOVER_TO_UPPERRIGHT ),
        TOKEN( "uncover-to-right",                XML_UNCOVER_TO_RIGHT ),
        TOKEN( "uncover-to-lowerright",           XML_UNCOVER_TO_LOWERRIGHT ),
        TOKEN( "uncover-to-bottom",               XML_UNCOVER_TO_BOTTOM ),
        TOKEN( "uncover-to-lowerleft",            XML_UNCOVER_TO_LOWERLEFT ),
        TOKEN( "vertical-checkerboard",           XML_VERTICAL_CHECKERBOARD ),
        TOKEN( "horizontal-checkerboard",         XML_HORIZONTAL_CHECKERBOARD ),

        TOKEN( "notify-on-update-of-ranges",       XML_NOTIFY_ON_UPDATE_OF_RANGES ),

        TOKEN( "byte",                             XML_BYTE ),
        TOKEN( "macro",                            XML_MACRO ),
        TOKEN( "location",                        XML_LOCATION ),
        TOKEN( "application",                     XML_APPLICATION ),

        TOKEN( "symbol-image",                    XML_SYMBOL_IMAGE ),
        TOKEN( "text-overlap",                    XML_TEXT_OVERLAP ),
        TOKEN( "spline-order",                    XML_SPLINE_ORDER ),
        TOKEN( "spline-resolution",               XML_SPLINE_RESOLUTION ),
        TOKEN( "paper-tray-name",                 XML_PAPER_TRAY_NAME ),

        TOKEN( "column-mapping",                  XML_COLUMN_MAPPING ),
        TOKEN( "row-mapping",                     XML_ROW_MAPPING ),

        TOKEN( "table-formula",                   XML_TABLE_FORMULA ),

        TOKEN( "embedded-text",                   XML_EMBEDDED_TEXT ),

        TOKEN( "merge-last-paragraph",            XML_MERGE_LAST_PARAGRAPH ),

        TOKEN( "stock-loss-marker",               XML_STOCK_LOSS_MARKER ),
        TOKEN( "stock-gain-marker",               XML_STOCK_GAIN_MARKER ),
        TOKEN( "stock-range-line",                XML_STOCK_RANGE_LINE ),

        TOKEN( "rl-tb",                           XML_RL_TB ),
        TOKEN( "tb-lr",                           XML_TB_LR ),
        TOKEN( "bt-lr",                           XML_BT_LR ),
        TOKEN( "lr",                              XML_LR ),
        TOKEN( "rl",                              XML_RL ),
        TOKEN( "tb",                              XML_TB ),
        TOKEN( "tb-rl90",                         XML_TB_RL90 ),

        TOKEN( "layout-grid-color",               XML_LAYOUT_GRID_COLOR ),
        TOKEN( "layout-grid-lines",               XML_LAYOUT_GRID_LINES ),
        TOKEN( "layout-grid-base-height",         XML_LAYOUT_GRID_BASE_HEIGHT ),
        TOKEN( "layout-grid-ruby-height",         XML_LAYOUT_GRID_RUBY_HEIGHT ),
        TOKEN( "layout-grid-mode",                XML_LAYOUT_GRID_MODE ),
        TOKEN( "layout-grid-ruby-below",          XML_LAYOUT_GRID_RUBY_BELOW ),
        TOKEN( "layout-grid-print",               XML_LAYOUT_GRID_PRINT ),
        TOKEN( "layout-grid-display",             XML_LAYOUT_GRID_DISPLAY ),

        //text grid enhancement for better CJK support
        TOKEN( "default-page-layout",             XML_DEFAULT_PAGE_LAYOUT ),
        TOKEN( "layout-grid-standard-mode",       XML_LAYOUT_GRID_STANDARD_MODE ),
        TOKEN( "layout-grid-base-width",          XML_LAYOUT_GRID_BASE_WIDTH ),
        TOKEN( "layout-grid-snap-to-characters",  XML_LAYOUT_GRID_SNAP_TO_CHARS ),
        TOKEN( "layout-grid-snap-to",             XML_LAYOUT_GRID_SNAP_TO ),

        TOKEN( "snap-to-layout-grid",             XML_SNAP_TO_LAYOUT_GRID ),

        TOKEN( "dont-balance-text-columns",       XML_DONT_BALANCE_TEXT_COLUMNS ),

        TOKEN( "glyph-orientation-vertical",      XML_GLYPH_ORIENTATION_VERTICAL ),

        TOKEN( "marked-invalid",                  XML_MARKED_INVALID ),

        // Regression curve & properties
        TOKEN( "regression-curve",                XML_REGRESSION_CURVE ),
        TOKEN( "regression-type",                 XML_REGRESSION_TYPE ),
        // Extended regression curve properties - ODF 1.2 extended
        TOKEN( "regression-name",                 XML_REGRESSION_CURVE_NAME ),
        TOKEN( "regression-extrapolate-forward",  XML_REGRESSION_EXTRAPOLATE_FORWARD ),
        TOKEN( "regression-extrapolate-backward", XML_REGRESSION_EXTRAPOLATE_BACKWARD ),
        TOKEN( "regression-max-degree",           XML_REGRESSION_MAX_DEGREE ),
        TOKEN( "regression-min-degree",           XML_REGRESSION_MIN_DEGREE ),
        TOKEN( "regression-moving-type",          XML_REGRESSION_MOVING_TYPE ),
        TOKEN( "regression-period",               XML_REGRESSION_PERIOD ),
        TOKEN( "regression-force-intercept",      XML_REGRESSION_FORCE_INTERCEPT ),
        TOKEN( "regression-intercept-value",      XML_REGRESSION_INTERCEPT_VALUE ),
        TOKEN( "regression-x-name",               XML_REGRESSION_X_NAME ),
        TOKEN( "regression-y-name",               XML_REGRESSION_Y_NAME ),

        TOKEN( "error-indicator",                 XML_ERROR_INDICATOR ),

        TOKEN( "table-type",                      XML_TABLE_TYPE ),

        TOKEN( "display-factor",                  XML_DISPLAY_FACTOR ),

        TOKEN( "transliteration-format",          XML_TRANSLITERATION_FORMAT ),
        TOKEN( "transliteration-language",        XML_TRANSLITERATION_LANGUAGE ),
        TOKEN( "transliteration-country",         XML_TRANSLITERATION_COUNTRY ),
        TOKEN( "transliteration-style",           XML_TRANSLITERATION_STYLE ),

        TOKEN( "key1-phonetic",                   XML_KEY1_PHONETIC ),
        TOKEN( "key2-phonetic",                   XML_KEY2_PHONETIC ),
        TOKEN( "string-value-phonetic",           XML_STRING_VALUE_PHONETIC ),

        TOKEN( "background-transparency",         XML_BACKGROUND_TRANSPARENCY ),
        TOKEN( "background-image-transparency",      XML_BACKGROUND_IMAGE_TRANSPARENCY ),

        TOKEN( "dynamic-spacing",                   XML_DYNAMIC_SPACING ),

        TOKEN( "main-entry",                        XML_MAIN_ENTRY ),

        TOKEN( "use-outline-level",                 XML_USE_OUTLINE_LEVEL ),

        // #107245# New 3D properties which are possible for lathe and extrude 3d objects
        TOKEN( "close-front",                      XML_CLOSE_FRONT ),
        TOKEN( "close-back",                       XML_CLOSE_BACK ),

        TOKEN( "drop-down",                        XML_DROP_DOWN ),
        TOKEN( "current-selected",                 XML_CURRENT_SELECTED ),

        TOKEN( "join-border",                     XML_JOIN_BORDER ),

        TOKEN( "display-list",                     XML_DISPLAY_LIST ),
        TOKEN( "no",                               XML_NO ),
        TOKEN( "unsorted",                         XML_UNSORTED ),
        TOKEN( "font-independent-line-spacing",        XML_FONT_INDEPENDENT_LINE_SPACING ),

        // Wrong! Do not write, use XML_SORT_ASCENDING instead. Only read. fdo#72548
        TOKEN( "sorted-ascending",                 XML_SORTED_ASCENDING ),

        TOKEN( "database",                         XML_DATABASE ),
        TOKEN( "datasource",                       XML_DATASOURCE ),
        TOKEN( "data-source",                      XML_DATA_SOURCE ),
        TOKEN( "queries",                          XML_QUERIES ),
        TOKEN( "reports",                          XML_REPORTS ),
        TOKEN( "report",                           XML_REPORT ),
        TOKEN( "as-template",                      XML_AS_TEMPLATE ),

        TOKEN( "connection-resource",              XML_CONNECTION_RESOURCE ),
        TOKEN( "suppress-version-columns",         XML_SUPPRESS_VERSION_COLUMNS ),
        TOKEN( "java-driver-class",                XML_JAVA_DRIVER_CLASS ),
        TOKEN( "extension",                        XML_EXTENSION ),
        TOKEN( "is-first-row-header-line",         XML_IS_FIRST_ROW_HEADER_LINE ),
        TOKEN( "show-deleted",                     XML_SHOW_DELETED ),
        TOKEN( "is-table-name-length-limited",     XML_IS_TABLE_NAME_LENGTH_LIMITED ),
        TOKEN( "system-driver-settings",           XML_SYSTEM_DRIVER_SETTINGS ),
        TOKEN( "enable-sql92-check",               XML_ENABLE_SQL92_CHECK ),
        TOKEN( "append-table-alias-name",          XML_APPEND_TABLE_ALIAS_NAME ),
        TOKEN( "parameter-name-substitution",      XML_PARAMETER_NAME_SUBSTITUTION ),
        TOKEN( "ignore-driver-privileges",         XML_IGNORE_DRIVER_PRIVILEGES ),
        TOKEN( "boolean-comparison-mode",          XML_BOOLEAN_COMPARISON_MODE ),
        TOKEN( "use-catalog",                      XML_USE_CATALOG ),
        TOKEN( "base-dn",                          XML_BASE_DN ),
        TOKEN( "max-row-count",                    XML_MAX_ROW_COUNT ),
        TOKEN( "login",                            XML_LOGIN ),
        TOKEN( "user-name",                        XML_USER_NAME ),
        TOKEN( "is-password-required",             XML_IS_PASSWORD_REQUIRED ),
        TOKEN( "login-timeout",                    XML_LOGIN_TIMEOUT ),
        TOKEN( "delimiter",                        XML_DELIMITER ),
        TOKEN( "field",                            XML_FIELD ),
        TOKEN( "decimal",                          XML_DECIMAL ),
        TOKEN( "thousand",                         XML_THOUSAND ),
        TOKEN( "table-filter",                     XML_TABLE_FILTER ),
        TOKEN( "table-filter-pattern",             XML_TABLE_FILTER_PATTERN ),
        TOKEN( "table-type-filter",                XML_TABLE_TYPE_FILTER ),
        TOKEN( "auto-increment",                   XML_AUTO_INCREMENT ),
        TOKEN( "additional-column-statement",      XML_ADDITIONAL_COLUMN_STATEMENT ),
        TOKEN( "row-retrieving-statement",         XML_ROW_RETRIEVING_STATEMENT ),
        TOKEN( "data-source-settings",             XML_DATA_SOURCE_SETTINGS ),
        TOKEN( "data-source-setting",              XML_DATA_SOURCE_SETTING ),
        TOKEN( "data-source-setting-value",        XML_DATA_SOURCE_SETTING_VALUE ),
        TOKEN( "data-source-setting-is-list",      XML_DATA_SOURCE_SETTING_IS_LIST ),
        TOKEN( "data-source-setting-type",         XML_DATA_SOURCE_SETTING_TYPE ),
        TOKEN( "data-source-setting-name",         XML_DATA_SOURCE_SETTING_NAME ),
        TOKEN( "component",                        XML_COMPONENT ),
        TOKEN( "component-collection",             XML_COMPONENT_COLLECTION ),
        TOKEN( "query-collection",                 XML_QUERY_COLLECTION ),
        TOKEN( "update-table",                     XML_UPDATE_TABLE ),
        TOKEN( "filter-statement",                 XML_FILTER_STATEMENT ),
        TOKEN( "order-statement",                  XML_ORDER_STATEMENT ),
        TOKEN( "escape-processing",                XML_ESCAPE_PROCESSING ),
        TOKEN( "keys",                             XML_KEYS ),
        TOKEN( "indices",                          XML_INDICES ),
        TOKEN( "type-name",                        XML_TYPE_NAME ),
        TOKEN( "precision",                        XML_PRECISION ),
        TOKEN( "is-nullable",                      XML_IS_NULLABLE ),
        TOKEN( "is-autoincrement",                 XML_IS_AUTOINCREMENT ),
        TOKEN( "default-value",                    XML_DEFAULT_VALUE ),
        TOKEN( "referenced-table-name",            XML_REFERENCED_TABLE_NAME ),
        TOKEN( "update-rule",                      XML_UPDATE_RULE ),
        TOKEN( "delete-rule",                      XML_DELETE_RULE ),
        TOKEN( "key-columns",                      XML_KEY_COLUMNS ),
        TOKEN( "key-column",                       XML_KEY_COLUMN ),
        TOKEN( "related-column-name",              XML_RELATED_COLUMN_NAME ),
        TOKEN( "catalog-name",                     XML_CATALOG_NAME ),
        TOKEN( "is-unique",                        XML_IS_UNIQUE ),
        TOKEN( "is-clustered",                     XML_IS_CLUSTERED ),
        TOKEN( "index-columns",                    XML_INDEX_COLUMNS ),
        TOKEN( "index-column",                     XML_INDEX_COLUMN ),
        TOKEN( "is-ascending",                     XML_IS_ASCENDING ),
        TOKEN( "schema-name",                      XML_SCHEMA_NAME ),
        TOKEN( "db",                               XML_NP_DB ),
        TOKEN( "http://openoffice.org/2004/database",      XML_N_DB ),
        TOKEN( "apply-filter",                     XML_APPLY_FILTER ),
        TOKEN( "apply-order",                      XML_APPLY_ORDER ),
        TOKEN( "automatic-print-range",            XML_AUTOMATIC_PRINT_RANGE ),

        TOKEN( "selection",                        XML_SELECTION ),
        TOKEN( "selection-indexes",                XML_SELECTION_INDEXES ),

        TOKEN( "scale-to-X",                       XML_SCALE_TO_X ),
        TOKEN( "scale-to-Y",                       XML_SCALE_TO_Y ),

        TOKEN( "keep-together",                    XML_KEEP_TOGETHER ),

        TOKEN( "use-header-name",               XML_USE_HEADER_NAME ),
        TOKEN( "use-footer-name",               XML_USE_FOOTER_NAME ),
        TOKEN( "use-date-time-name",            XML_USE_DATE_TIME_NAME ),
        TOKEN( "display-header",                XML_DISPLAY_HEADER ),
        TOKEN( "display-footer",                XML_DISPLAY_FOOTER ),
        TOKEN( "display-page-number",           XML_DISPLAY_PAGE_NUMBER ),
        TOKEN( "display-date-time",         XML_DISPLAY_DATE_TIME ),
        TOKEN( "source" ,                       XML_SOURCE ),
        TOKEN( "current-date",              XML_CURRENT_DATE ),

        TOKEN( "header-decl",                   XML_HEADER_DECL ),
        TOKEN( "footer-decl",                   XML_FOOTER_DECL ),
        TOKEN( "date-time-decl",                XML_DATE_TIME_DECL ),

        TOKEN( "selected-page",                        XML_SELECTED_PAGE ),

        // DVO, OD 01.10.2003 #i18732#
        TOKEN( "flow-with-text",        XML_FLOW_WITH_TEXT ),
        TOKEN( "with-tab",              XML_WITH_TAB ), // #i21237#

        TOKEN( "custom-shape" ,                     XML_CUSTOM_SHAPE ),
        TOKEN( "engine" ,                               XML_ENGINE ),
        TOKEN( "enhanced-geometry" ,                    XML_ENHANCED_GEOMETRY ),
        TOKEN( "text-rotate-angle" ,                    XML_TEXT_ROTATE_ANGLE ),
        TOKEN( "mirror-vertical" ,                      XML_MIRROR_VERTICAL ),
        TOKEN( "mirror-horizontal" ,                    XML_MIRROR_HORIZONTAL ),
        TOKEN( "extrusion-allowed" ,                    XML_EXTRUSION_ALLOWED ),
        TOKEN( "text-path-allowed" ,                    XML_TEXT_PATH_ALLOWED ),
        TOKEN( "concentric-gradient-fill-allowed" ,     XML_CONCENTRIC_GRADIENT_FILL_ALLOWED ),
        TOKEN( "extrusion" ,                            XML_EXTRUSION ),
        TOKEN( "extrusion-brightness" ,             XML_EXTRUSION_BRIGHTNESS ),
        TOKEN( "extrusion-depth" ,                      XML_EXTRUSION_DEPTH ),
        TOKEN( "extrusion-diffusion" ,                  XML_EXTRUSION_DIFFUSION ),
        TOKEN( "extrusion-number-of-line-segments" ,    XML_EXTRUSION_NUMBER_OF_LINE_SEGMENTS ),
        TOKEN( "extrusion-light-face" ,             XML_EXTRUSION_LIGHT_FACE ),
        TOKEN( "extrusion-first-light-harsh" ,          XML_EXTRUSION_FIRST_LIGHT_HARSH ),
        TOKEN( "extrusion-second-light-harsh" ,     XML_EXTRUSION_SECOND_LIGHT_HARSH ),
        TOKEN( "extrusion-first-light-level" ,          XML_EXTRUSION_FIRST_LIGHT_LEVEL ),
        TOKEN( "extrusion-second-light-level" ,     XML_EXTRUSION_SECOND_LIGHT_LEVEL ),
        TOKEN( "extrusion-first-light-direction" ,      XML_EXTRUSION_FIRST_LIGHT_DIRECTION ),
        TOKEN( "extrusion-second-light-direction" , XML_EXTRUSION_SECOND_LIGHT_DIRECTION ),
        TOKEN( "extrusion-metal" ,                      XML_EXTRUSION_METAL ),
        TOKEN( "extrusion-metal-type" ,                 XML_EXTRUSION_METAL_TYPE ),
        TOKEN( "extrusion-rotation-angle" ,         XML_EXTRUSION_ROTATION_ANGLE ),
        TOKEN( "extrusion-rotation-center" ,            XML_EXTRUSION_ROTATION_CENTER ),
        TOKEN( "extrusion-shininess" ,                  XML_EXTRUSION_SHININESS ),
        TOKEN( "extrusion-skew" ,                       XML_EXTRUSION_SKEW ),
        TOKEN( "extrusion-specularity" ,                XML_EXTRUSION_SPECULARITY ),
        TOKEN( "extrusion-specularity-loext",           XML_EXTRUSION_SPECULARITY_LOEXT ),
        TOKEN( "extrusion-projection-mode" ,            XML_EXTRUSION_PROJECTION_MODE ),
        TOKEN( "extrusion-viewpoint" ,                  XML_EXTRUSION_VIEWPOINT ),
        TOKEN( "extrusion-origin" ,                 XML_EXTRUSION_ORIGIN ),
        TOKEN( "extrusion-color" ,                      XML_EXTRUSION_COLOR ),
        TOKEN( "secondary-fill-color" ,             XML_SECONDARY_FILL_COLOR ),
        TOKEN( "enhanced-path" ,                        XML_ENHANCED_PATH ),
        TOKEN( "path-stretchpoint-x" ,                  XML_PATH_STRETCHPOINT_X ),
        TOKEN( "path-stretchpoint-y" ,                  XML_PATH_STRETCHPOINT_Y ),
        TOKEN( "text-areas" ,                           XML_TEXT_AREAS ),
        TOKEN( "glue-points" ,                          XML_GLUE_POINTS ),
        TOKEN( "glue-point-type" ,                      XML_GLUE_POINT_TYPE ),
        TOKEN( "glue-point-leaving-direction" ,     XML_GLUE_POINT_LEAVING_DIRECTIONS ),
        TOKEN( "text-path" ,                            XML_TEXT_PATH ),
        TOKEN( "text-path-mode" ,                       XML_TEXT_PATH_MODE ),
        TOKEN( "text-path-scale" ,                  XML_TEXT_PATH_SCALE ),
        TOKEN( "text-path-same-letter-heights" ,        XML_TEXT_PATH_SAME_LETTER_HEIGHTS ),
        TOKEN( "modifiers" ,                            XML_MODIFIERS ),
        TOKEN( "equation" ,                         XML_EQUATION ),
        TOKEN( "xstretch",                          XML_XSTRETCH ),
        TOKEN( "ystretch",                          XML_YSTRETCH ),
        TOKEN( "hasstroke",                         XML_HASSTROKE ),
        TOKEN( "hasfill",                           XML_HASFILL ),
        TOKEN( "logwidth",                          XML_LOGWIDTH ),
        TOKEN( "logheight",                         XML_LOGHEIGHT ),
        TOKEN( "handle" ,                               XML_HANDLE ),
        TOKEN( "handle-mirror-vertical" ,               XML_HANDLE_MIRROR_VERTICAL ),
        TOKEN( "handle-mirror-horizontal" ,         XML_HANDLE_MIRROR_HORIZONTAL ),
        TOKEN( "handle-switched" ,                      XML_HANDLE_SWITCHED ),
        TOKEN( "handle-position" ,                      XML_HANDLE_POSITION ),
        TOKEN( "handle-range-x-minimum" ,               XML_HANDLE_RANGE_X_MINIMUM ),
        TOKEN( "handle-range-x-maximum" ,               XML_HANDLE_RANGE_X_MAXIMUM ),
        TOKEN( "handle-range-y-minimum" ,               XML_HANDLE_RANGE_Y_MINIMUM ),
        TOKEN( "handle-range-y-maximum" ,               XML_HANDLE_RANGE_Y_MAXIMUM ),
        TOKEN( "handle-polar" ,                     XML_HANDLE_POLAR ),
        TOKEN( "handle-radius-range-minimum" ,          XML_HANDLE_RADIUS_RANGE_MINIMUM ),
        TOKEN( "handle-radius-range-maximum" ,          XML_HANDLE_RADIUS_RANGE_MAXIMUM ),
        TOKEN( "rectangle" ,                            XML_RECTANGLE ),
        TOKEN( "roundrectangle" ,                       XML_ROUNDRECTANGLE ),
        TOKEN( "oval" ,                             XML_OVAL ),
        TOKEN( "cloud" ,                                XML_CLOUD ),
        TOKEN( "boundingcube" ,                     XML_BOUNDINGCUBE ),
        TOKEN( "wireframe" ,                            XML_WIREFRAME ),
        TOKEN( "segments" ,                         XML_SEGMENTS ),
        TOKEN( "word-wrap" ,                            XML_WORD_WRAP ),
        TOKEN( "collapsing" ,                       XML_COLLAPSING ),
        TOKEN( "separating" ,                       XML_SEPARATING ),
        TOKEN( "border-model" ,                     XML_BORDER_MODEL ),
        TOKEN( "data-pilot-field-reference",        XML_DATA_PILOT_FIELD_REFERENCE ),
        TOKEN( "member-difference",                 XML_MEMBER_DIFFERENCE ),
        TOKEN( "member-percentage",                 XML_MEMBER_PERCENTAGE ),
        TOKEN( "member-percentage-difference",      XML_MEMBER_PERCENTAGE_DIFFERENCE ),
        TOKEN( "running-total",                     XML_RUNNING_TOTAL ),
        TOKEN( "row-percentage",                    XML_ROW_PERCENTAGE ),
        TOKEN( "column-percentage",                 XML_COLUMN_PERCENTAGE ),
        TOKEN( "total-percentage",                  XML_TOTAL_PERCENTAGE ),
        TOKEN( "field-name",                        XML_FIELD_NAME ),
        TOKEN( "member-type",                       XML_MEMBER_TYPE ),
        TOKEN( "named",                             XML_NAMED ),
        TOKEN( "member-name",                       XML_MEMBER_NAME ),
        TOKEN( "display-member-mode",               XML_DISPLAY_MEMBER_MODE ),
        TOKEN( "member-count",                      XML_MEMBER_COUNT ),
        TOKEN( "data-field",                        XML_DATA_FIELD ),
        TOKEN( "data-pilot-display-info",           XML_DATA_PILOT_DISPLAY_INFO ),
        TOKEN( "sort-mode",                         XML_SORT_MODE ),
        TOKEN( "data-pilot-sort-info",              XML_DATA_PILOT_SORT_INFO ),
        TOKEN( "add-empty-lines",                   XML_ADD_EMPTY_LINES ),
        TOKEN( "tabular-layout",                    XML_TABULAR_LAYOUT ),
        TOKEN( "outline-subtotals-top",             XML_OUTLINE_SUBTOTALS_TOP ),
        TOKEN( "outline-subtotals-bottom",          XML_OUTLINE_SUBTOTALS_BOTTOM ),
        TOKEN( "compact-layout",                    XML_COMPACT_LAYOUT ),
        TOKEN( "layout-mode",                       XML_LAYOUT_MODE ),
        TOKEN( "data-pilot-layout-info",            XML_DATA_PILOT_LAYOUT_INFO ),
        TOKEN( "symbol-color",                      XML_SYMBOL_COLOR ),
        TOKEN( "3d" ,                               XML_3D ),
        TOKEN( "image-position" ,                   XML_IMAGE_POSITION ),
        TOKEN( "image-align" ,                      XML_IMAGE_ALIGN ),
        TOKEN( "diagonal-bl-tr",                    XML_DIAGONAL_BL_TR ),
        TOKEN( "diagonal-bl-tr-width",              XML_DIAGONAL_BL_TR_WIDTH ),
        TOKEN( "diagonal-tl-br",                    XML_DIAGONAL_TL_BR ),
        TOKEN( "diagonal-tl-br-width",              XML_DIAGONAL_TL_BR_WIDTH ),
        TOKEN( "repeat-content",                    XML_REPEAT_CONTENT ),
        TOKEN( "shrink-to-fit",                     XML_SHRINK_TO_FIT ),

        // OD 2004-05-05 #i28701#
        TOKEN( "wrap-influence-on-position",           XML_WRAP_INFLUENCE_ON_POSITION ),
        // Tokens have been renamed and <XML_ITERATIVE> has been added (#i35017#)
        TOKEN( "once-successive",                       XML_ONCE_SUCCESSIVE ),
        TOKEN( "once-concurrent",                       XML_ONCE_CONCURRENT ),
        TOKEN( "allow-overlap",                         XML_ALLOW_OVERLAP ),

        // Names for OOo format only
        TOKEN( "http://openoffice.org/2000/office",     XML_N_OFFICE_OOO ),
        TOKEN( "http://openoffice.org/2000/meta",       XML_N_META_OOO ),
        TOKEN( "http://openoffice.org/2000/style",      XML_N_STYLE_OOO ),
        TOKEN( "http://openoffice.org/2000/datastyle",  XML_N_NUMBER_OOO ),
        TOKEN( "http://openoffice.org/2000/text",       XML_N_TEXT_OOO ),
        TOKEN( "http://openoffice.org/2000/table",      XML_N_TABLE_OOO ),
        TOKEN( "http://openoffice.org/2000/drawing",    XML_N_DRAW_OOO ),
        TOKEN( "http://openoffice.org/2000/dr3d",       XML_N_DR3D_OOO ),
        TOKEN( "http://openoffice.org/2000/presentation",XML_N_PRESENTATION_OOO ),
        TOKEN( "urn:oasis:names:tc:openoffice:xmlns:presentation:1.0",XML_N_PRESENTATION_OASIS ),
        TOKEN( "http://openoffice.org/2000/chart",      XML_N_CHART_OOO ),
        TOKEN( "http://openoffice.org/2001/config",     XML_N_CONFIG_OOO ),
        TOKEN( "http://openoffice.org/2000/form",       XML_N_FORM_OOO ),
        TOKEN( "http://openoffice.org/2000/script",     XML_N_SCRIPT_OOO ),

        TOKEN( "global",                     XML_GLOBAL ),

        TOKEN( "note-class",                        XML_NOTE_CLASS ),
        TOKEN( "note-citation",                        XML_NOTE_CITATION ),
        TOKEN( "note-body",                        XML_NOTE_BODY ),
        TOKEN( "notes-configuration",               XML_NOTES_CONFIGURATION ),
        TOKEN( "note-ref",                        XML_NOTE_REF ),
        TOKEN( "is-sub-table",                        XML_IS_SUB_TABLE ),
        TOKEN( "page-layout",                        XML_PAGE_LAYOUT ),
        TOKEN( "page-layout-name",                       XML_PAGE_LAYOUT_NAME ),
        TOKEN( "graphic-properties",              XML_GRAPHIC_PROPERTIES ),
        TOKEN( "drawing-page-properties",         XML_DRAWING_PAGE_PROPERTIES ),
        TOKEN( "page-layout-properties",          XML_PAGE_LAYOUT_PROPERTIES ),
        TOKEN( "header-footer-properties",        XML_HEADER_FOOTER_PROPERTIES ),
        TOKEN( "text-properties",                 XML_TEXT_PROPERTIES ),
        TOKEN( "paragraph-properties",            XML_PARAGRAPH_PROPERTIES ),
        TOKEN( "ruby-properties",                 XML_RUBY_PROPERTIES ),
        TOKEN( "section-properties",              XML_SECTION_PROPERTIES ),
        TOKEN( "table-properties",                XML_TABLE_PROPERTIES ),
        TOKEN( "table-column-properties",         XML_TABLE_COLUMN_PROPERTIES ),
        TOKEN( "table-row-properties",            XML_TABLE_ROW_PROPERTIES ),
        TOKEN( "table-cell-properties",           XML_TABLE_CELL_PROPERTIES ),
        TOKEN( "list-level-properties",           XML_LIST_LEVEL_PROPERTIES ),
        TOKEN( "chart-properties",                XML_CHART_PROPERTIES ),
        TOKEN( "drawing-page",                    XML_DRAWING_PAGE ),
        TOKEN( "graphics",                        XML_GRAPHICS ),
        TOKEN( "tab",                              XML_TAB ),
        TOKEN( "text-underline-mode",              XML_TEXT_UNDERLINE_MODE ),
        TOKEN( "text-line-through-mode",           XML_TEXT_LINE_THROUGH_MODE ),
        TOKEN( "continuous",                       XML_CONTINUOUS ),
        TOKEN( "skip-white-space",                 XML_SKIP_WHITE_SPACE ),
        TOKEN( "scripts",                          XML_SCRIPTS ),
        TOKEN( "font-face-decls",                 XML_FONT_FACE_DECLS ),
        TOKEN( "font-face",                        XML_FONT_FACE ),
        TOKEN( "font-face-src",                    XML_FONT_FACE_SRC ),
        TOKEN( "font-face-uri",                    XML_FONT_FACE_URI ),
        TOKEN( "font-face-format",                 XML_FONT_FACE_FORMAT ),
        TOKEN( "font-adornments",                 XML_FONT_ADORNMENTS ),
        TOKEN( "inch",                             XML_INCH ),
        TOKEN( "space-after",                      XML_SPACE_AFTER ),
        TOKEN( "start-indent",                     XML_START_INDENT ),
        TOKEN( "end-indent",                       XML_END_INDENT ),

        // chart Oasis format additions
        TOKEN( "interval-minor-divisor",           XML_INTERVAL_MINOR_DIVISOR ),
        TOKEN( "date-string",                      XML_DATE_STRING ),

        TOKEN( "text-underline-style",             XML_TEXT_UNDERLINE_STYLE ),
        TOKEN( "text-underline-type",              XML_TEXT_UNDERLINE_TYPE ),
        TOKEN( "text-underline-width",             XML_TEXT_UNDERLINE_WIDTH ),

        TOKEN( "text-overline-type",               XML_TEXT_OVERLINE_TYPE ),
        TOKEN( "text-overline-style",              XML_TEXT_OVERLINE_STYLE ),
        TOKEN( "text-overline-width",              XML_TEXT_OVERLINE_WIDTH ),
        TOKEN( "text-overline-color",              XML_TEXT_OVERLINE_COLOR ),
        TOKEN( "text-overline-mode",               XML_TEXT_OVERLINE_MODE ),

        TOKEN( "text-line-through-style",          XML_TEXT_LINE_THROUGH_STYLE ),
        TOKEN( "text-line-through-type",           XML_TEXT_LINE_THROUGH_TYPE ),
        TOKEN( "text-line-through-width",          XML_TEXT_LINE_THROUGH_WIDTH ),
        TOKEN( "text-line-through-text",           XML_TEXT_LINE_THROUGH_TEXT ),

        TOKEN( "leader-style",                     XML_LEADER_STYLE ),
        TOKEN( "leader-text",                      XML_LEADER_TEXT ),

        TOKEN( "bold-dotted",                      XML_BOLD_DOTTED ),
        TOKEN( "bold-dash",                        XML_BOLD_DASH ),
        TOKEN( "bold-long-dash",                   XML_BOLD_LONG_DASH ),
        TOKEN( "bold-dot-dash",                    XML_BOLD_DOT_DASH ),
        TOKEN( "bold-dot-dot-dash",                XML_BOLD_DOT_DOT_DASH ),
        TOKEN( "bold-wave",                        XML_BOLD_WAVE ),
        TOKEN( "double-wave",                      XML_DOUBLE_WAVE ),
        TOKEN( "double-line",                      XML_DOUBLE_LINE ),
        TOKEN( "thick-line",                       XML_THICK_LINE ),
        TOKEN( "single-line",                      XML_SINGLE_LINE ),
        TOKEN( "slash",                            XML_SLASH ),
        TOKEN( "text-line-through-color",          XML_TEXT_LINE_THROUGH_COLOR ),
        TOKEN( "text-line-through-text-style",     XML_TEXT_LINE_THROUGH_TEXT_STYLE ),
        TOKEN( "leader-color",                     XML_LEADER_COLOR ),
        TOKEN( "leader-type",                      XML_LEADER_TYPE ),
        TOKEN( "leader-width",                     XML_LEADER_WIDTH ),
        TOKEN( "leader-text-style",                XML_LEADER_TEXT_STYLE ),

        TOKEN( "opacity",                          XML_OPACITY ),
        TOKEN( "opacity-name",                     XML_OPACITY_NAME ),
        TOKEN( "shadow-opacity",                   XML_SHADOW_OPACITY ),
        TOKEN( "always",                           XML_ALWAYS ),
        TOKEN( "count-in-text-boxes",              XML_COUNT_IN_TEXT_BOXES ),

        TOKEN( "ooo",                              XML_NP_OOO ),
        TOKEN( "http://openoffice.org/2004/office",      XML_N_OOO ),
        TOKEN( "ooow",                             XML_NP_OOOW ),
        TOKEN( "http://openoffice.org/2004/writer",      XML_N_OOOW ),
        TOKEN( "oooc",                             XML_NP_OOOC ),
        TOKEN( "http://openoffice.org/2004/calc",      XML_N_OOOC ),
        TOKEN( "dom",                              XML_NP_DOM ),
        TOKEN( "http://www.w3.org/2001/xml-events",      XML_N_DOM ),

        TOKEN( "event-listeners",      XML_EVENT_LISTENERS ),
        TOKEN( "event-listener",      XML_EVENT_LISTENER ),

        TOKEN( "form",                 XML_FORM ),
        TOKEN( "void",                 XML_VOID ),
        TOKEN( "property",                 XML_PROPERTY ),
        TOKEN( "property-name",                XML_PROPERTY_NAME ),
        TOKEN( "list-property",                XML_LIST_PROPERTY ),
        TOKEN( "list-value",               XML_LIST_VALUE ),
        TOKEN( "column-style-name",            XML_COLUMN_STYLE_NAME ),
        TOKEN( "textarea",                     XML_TEXTAREA ),
        TOKEN( "fixed-text",                   XML_FIXED_TEXT ),
        TOKEN( "file",                         XML_FILE ),
        TOKEN( "formatted-text",               XML_FORMATTED_TEXT ),
        TOKEN( "button",                       XML_BUTTON ),
        TOKEN( "checkbox",                     XML_CHECKBOX ),
        TOKEN( "radio",                        XML_RADIO ),
        TOKEN( "listbox",                      XML_LISTBOX ),
        TOKEN( "combobox",                     XML_COMBOBOX ),
        TOKEN( "image-frame",                  XML_IMAGE_FRAME ),
        TOKEN( "value-range",                  XML_VALUE_RANGE ),
        TOKEN( "generic-control",              XML_GENERIC_CONTROL ),
        TOKEN( "service-name",                 XML_SERVICE_NAME ),
        TOKEN( "property-type",                XML_PROPERTY_TYPE ),
        TOKEN( "integer",                      XML_INTEGER ),
        TOKEN( "property-is-void",             XML_PROPERTY_IS_VOID ),
        TOKEN( "property-is-list",             XML_PROPERTY_IS_LIST ),
        TOKEN( "property-value",               XML_PROPERTY_VALUE ),
        TOKEN( "mimetype",                     XML_MIMETYPE ),
        TOKEN( "database-row-select",          XML_DATABASE_ROW_SELECT ),
        TOKEN( "control-implementation",       XML_CONTROL_IMPLEMENTATION ),
        TOKEN( "interpolation",                XML_INTERPOLATION ),
        TOKEN( "cubic-spline",                 XML_CUBIC_SPLINE ),
        TOKEN( "b-spline",                     XML_B_SPLINE ),
        TOKEN( "step-start",                   XML_STEP_START ),
        TOKEN( "step-end",                     XML_STEP_END ),
        TOKEN( "step-center-x",                XML_STEP_CENTER_X ),
        TOKEN( "step-center-y",                XML_STEP_CENTER_Y ),
        // the gnm: values should only used for reading Gnumeric ods file
        // these values should never be written
        TOKEN( "gnm:step-start",               XML_GNM_STEP_START ),
        TOKEN( "gnm:step-end",                 XML_GNM_STEP_END ),
        TOKEN( "gnm:step-center-x",            XML_GNM_STEP_CENTER_X ),
        TOKEN( "gnm:step-center-y",            XML_GNM_STEP_CENTER_Y ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:database:1.0",     XML_N_DB_OASIS ),

        TOKEN( "show-filter-button",                   XML_SHOW_FILTER_BUTTON ),
        TOKEN( "drill-down-on-double-click",           XML_DRILL_DOWN_ON_DOUBLE_CLICK ),
        TOKEN( "show-drill-down-buttons",              XML_SHOW_DRILL_DOWN_BUTTONS ),
        TOKEN( "header-grid-layout",                   XML_HEADER_GRID_LAYOUT ),
        TOKEN( "grouped-by",                           XML_GROUPED_BY ),
        TOKEN( "days",                                 XML_DAYS ),
        TOKEN( "months",                               XML_MONTHS ),
        TOKEN( "quarters",                             XML_QUARTERS ),
        TOKEN( "years",                                XML_YEARS ),
        TOKEN( "date-start",                           XML_DATE_START ),
        TOKEN( "date-end",                             XML_DATE_END ),
        TOKEN( "step",                                 XML_STEP ),
        TOKEN( "data-pilot-groups",                    XML_DATA_PILOT_GROUPS ),
        TOKEN( "data-pilot-group",                     XML_DATA_PILOT_GROUP ),
        TOKEN( "data-pilot-group-member",              XML_DATA_PILOT_GROUP_MEMBER ),
        TOKEN( "japanese-candle-stick",        XML_JAPANESE_CANDLE_STICK ),
        TOKEN( "named-symbol",                 XML_NAMED_SYMBOL ),
        TOKEN( "diamond",                      XML_DIAMOND ),
        TOKEN( "arrow-down",                   XML_ARROW_DOWN ),
        TOKEN( "arrow-up",                     XML_ARROW_UP ),
        TOKEN( "arrow-right",                  XML_ARROW_RIGHT ),
        TOKEN( "arrow-left",                   XML_ARROW_LEFT ),
        TOKEN( "bow-tie",                      XML_BOW_TIE ),
        TOKEN( "hourglass",                    XML_HOURGLASS ),
        TOKEN( "symbol-name",                  XML_SYMBOL_NAME ),
        TOKEN( "symbol-type",                  XML_SYMBOL_TYPE ),
        TOKEN( "image-opacity",                XML_IMAGE_OPACITY ), // #i25616#

        TOKEN( "default-outline-level",        XML_DEFAULT_OUTLINE_LEVEL ),
        TOKEN( "show-details",                 XML_SHOW_DETAILS ),
        TOKEN( "show-empty",                   XML_SHOW_EMPTY ),
        TOKEN( "repeat-item-labels",           XML_REPEAT_ITEM_LABELS ),
        TOKEN( "iterative",                    XML_ITERATIVE ),

        TOKEN( "X",                            XML_uX ),
        TOKEN( "dlg",                                    XML_NP_DLG ),
        TOKEN( "http://openoffice.org/2000/dialog",      XML_N_DLG ),
        TOKEN( "script-data",                  XML_SCRIPT_DATA ),
        TOKEN( "libraries",                    XML_LIBRARIES ),
        TOKEN( "source-code",                  XML_SOURCE_CODE ),
        TOKEN( "readonly",                     XML_READONLY ),
        TOKEN( "z",                            XML_Z ),
        TOKEN( "dimension",                    XML_DIMENSION ),
        TOKEN( "validation-name",               XML_VALIDATION_NAME ),

        TOKEN( "screen",                       XML_SCREEN ),
        TOKEN( "printer",                      XML_PRINTER ),

        // XForms token
        TOKEN( "model",                            XML_MODEL ),
        TOKEN( "schema",                           XML_SCHEMA ),
        TOKEN( "bind",                             XML_BIND ),
        TOKEN( "instance",                         XML_INSTANCE ),
        TOKEN( "submission",                       XML_SUBMISSION ),
        TOKEN( "ref",                              XML_REF ),
        TOKEN( "src",                              XML_SRC ),
        TOKEN( "method",                           XML_METHOD ),
        TOKEN( "nodeset",                          XML_NODESET ),
        TOKEN( "indent",                           XML_INDENT ),
        TOKEN( "omit-xml-declaration",             XML_OMIT_XML_DECLARATION ),
        TOKEN( "standalone",                       XML_STANDALONE ),
        TOKEN( "cdata-section-elements",           XML_CDATA_SECTION_ELEMENTS ),
        TOKEN( "required",                         XML_REQUIRED ),
        TOKEN( "relevant",                         XML_RELEVANT ),
        TOKEN( "calculate",                        XML_CALCULATE ),
        TOKEN( "constraint",                       XML_CONSTRAINT ),
        TOKEN( "maxOccurs",                        XML_MAXOCCURS /* (maxOccurs) */ ),
        TOKEN( "minOccurs",                        XML_MINOCCURS /* (minOccurs) */ ),
        TOKEN( "p3ptype",                          XML_P3PTYPE ),
        TOKEN( "mediatype",                        XML_MEDIATYPE ),
        TOKEN( "includenamespaceprefixes",         XML_INCLUDENAMESPACEPREFIXES ),

        // XForms/XSD Schema tokens
        TOKEN( "base",                             XML_BASE ),
        TOKEN( "targetNamespace",                  XML_TARGETNAMESPACE ),
        TOKEN( "simpleType",                       XML_SIMPLETYPE ),
        TOKEN( "restriction",                      XML_RESTRICTION ),
        TOKEN( "maxLength",                        XML_MAXLENGTH ),
        TOKEN( "minLength",                        XML_MINLENGTH ),
        TOKEN( "minInclusive",                     XML_MININCLUSIVE ),
        TOKEN( "minExclusive",                     XML_MINEXCLUSIVE ),
        TOKEN( "maxInclusive",                     XML_MAXINCLUSIVE ),
        TOKEN( "maxExclusive",                     XML_MAXEXCLUSIVE ),
        TOKEN( "pattern",                          XML_PATTERN ),
        TOKEN( "enumeration",                      XML_ENUMERATION ),
        TOKEN( "whiteSpace",                       XML_WHITESPACE ),
        TOKEN( "totalDigits",                      XML_TOTALDIGITS ),
        TOKEN( "fractionDigits",                   XML_FRACTIONDIGITS ),
        TOKEN( "preserve",                         XML_PRESERVE ),
        TOKEN( "anyURI",                           XML_ANYURI ),
        TOKEN( "dateTime",                         XML_DATETIME_XSD ),
        TOKEN( "main-etry",                        XML_MAIN_ETRY),

        TOKEN( "remove",                        XML_REMOVE ),
        TOKEN( "hold",                      XML_HOLD ),
        TOKEN( "transition",                    XML_TRANSITION ),
        TOKEN( "inherit",                       XML_INHERIT ),
        TOKEN( "fillDefault",                   XML_FILLDEFAULT ),
        TOKEN( "restart",                       XML_RESTART ),
        TOKEN( "restartDefault",                XML_RESTARTDEFAULT ),
        TOKEN( "whenNotActive",             XML_WHENNOTACTIVE ),
        TOKEN( "never",                     XML_NEVER ),
        TOKEN( "accelerate",                    XML_ACCELERATE ),
        TOKEN( "decelerate",                    XML_DECELERATE ),
        TOKEN( "autoReverse",                   XML_AUTOREVERSE ),
        TOKEN( "indefinite",                    XML_INDEFINITE ),
        TOKEN( "repeatCount",                   XML_REPEATCOUNT ),
        TOKEN( "repeatDur",                 XML_REPEATDUR ),
        TOKEN( "endsync",                       XML_ENDSYNC ),
        TOKEN( "first",                     XML_FIRST ),
        TOKEN( "last",                      XML_LAST ),
        TOKEN( "media",                     XML_MEDIA ),
        TOKEN( "dur",                           XML_DUR ),
        TOKEN( "begin",                     XML_BEGIN ),
        TOKEN( "whole",                     XML_WHOLE ),
        TOKEN( "from",                      XML_FROM ),
        TOKEN( "to",                            XML_TO ),
        TOKEN( "by",                            XML_BY ),
        TOKEN( "values",                        XML_VALUES ),
        TOKEN( "keyTimes",                  XML_KEYTIMES ),
        TOKEN( "keySplines",                    XML_KEYSPLINES ),
        TOKEN( "calcMode",                  XML_CALCMODE ),
        TOKEN( "discrete",                  XML_DISCRETE ),
        TOKEN( "paced",                     XML_PACED ),
        TOKEN( "spline",                        XML_SPLINE ),
        TOKEN( "accumulate",                    XML_ACCUMULATE ),
        TOKEN( "additive",                  XML_ADDITIVE ),
        TOKEN( "multiply",                  XML_MULTIPLY ),
        TOKEN( "animate",                       XML_ANIMATE ),
        TOKEN( "animateMotion",             XML_ANIMATEMOTION ),
        TOKEN( "animatePhysics",            XML_ANIMATEPHYSICS ),
        TOKEN( "animateTransform",          XML_ANIMATETRANSFORM ),
        TOKEN( "animateColor",              XML_ANIMATECOLOR ),
        TOKEN( "transitionFilter",          XML_TRANSITIONFILTER ),
        TOKEN( "attributeName",             XML_ATTRIBUTENAME ),

        TOKEN( "smil",                      XML_NP_SMIL ),
        TOKEN( "http://www.w3.org/2001/SMIL20/", XML_N_SMIL ),

        TOKEN( "anim",                      XML_NP_ANIMATION ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:animation:1.0",  XML_N_ANIMATION ),
        TOKEN( "urn:oasis:names:tc:openoffice:xmlns:animation:1.0",  XML_N_ANIMATION_OOO ),

        TOKEN( "par",                           XML_PAR ),
        TOKEN( "seq",                           XML_SEQ ),

        TOKEN( "translate",                 XML_TRANSLATE ),
        TOKEN( "skewX",                     XML_SKEWX ),
        TOKEN( "skewY",                     XML_SKEWY ),

        TOKEN( "audio",                     XML_AUDIO ),

        TOKEN( "color-interpolation",           XML_COLOR_INTERPOLATION ),
        TOKEN( "color-interpolation-direction", XML_COLOR_INTERPOLATION_DIRECTION ),
        TOKEN( "hsl",                           XML_HSL ),
        TOKEN( "rgb",                           XML_RGB ),

        TOKEN( "barWipe",                       XML_BARWIPE ),
        TOKEN( "boxWipe",                       XML_BOXWIPE ),
        TOKEN( "fourBoxWipe",                   XML_FOURBOXWIPE ),
        TOKEN( "barnDoorWipe",              XML_BARNDOORWIPE ),
        TOKEN( "diagonalWipe",              XML_DIAGONALWIPE ),
        TOKEN( "bowTieWipe",                    XML_BOWTIEWIPE ),
        TOKEN( "miscDiagonalWipe",          XML_MISCDIAGONALWIPE ),
        TOKEN( "veeWipe",                       XML_VEEWIPE ),
        TOKEN( "barnVeeWipe",                   XML_BARNVEEWIPE ),
        TOKEN( "zigZagWipe",                    XML_ZIGZAGWIPE ),
        TOKEN( "barnZigZagWipe",                XML_BARNZIGZAGWIPE ),
        TOKEN( "irisWipe",                  XML_IRISWIPE ),
        TOKEN( "triangleWipe",              XML_TRIANGLEWIPE ),
        TOKEN( "arrowHeadWipe",             XML_ARROWHEADWIPE ),
        TOKEN( "pentagonWipe",              XML_PENTAGONWIPE ),
        TOKEN( "hexagonWipe",                   XML_HEXAGONWIPE ),
        TOKEN( "ellipseWipe",                   XML_ELLIPSEWIPE ),
        TOKEN( "eyeWipe",                       XML_EYEWIPE ),
        TOKEN( "roundRectWipe",             XML_ROUNDRECTWIPE ),
        TOKEN( "starWipe",                  XML_STARWIPE ),
        TOKEN( "miscShapeWipe",             XML_MISCSHAPEWIPE ),
        TOKEN( "clockWipe",                 XML_CLOCKWIPE ),
        TOKEN( "pinWheelWipe",              XML_PINWHEELWIPE ),
        TOKEN( "singleSweepWipe",               XML_SINGLESWEEPWIPE ),
        TOKEN( "fanWipe",                       XML_FANWIPE ),
        TOKEN( "doubleFanWipe",             XML_DOUBLEFANWIPE ),
        TOKEN( "doubleSweepWipe",               XML_DOUBLESWEEPWIPE ),
        TOKEN( "saloonDoorWipe",                XML_SALOONDOORWIPE ),
        TOKEN( "windshieldWipe",                XML_WINDSHIELDWIPE ),
        TOKEN( "snakeWipe",                 XML_SNAKEWIPE ),
        TOKEN( "spiralWipe",                    XML_SPIRALWIPE ),
        TOKEN( "parallelSnakesWipe",            XML_PARALLELSNAKESWIPE ),
        TOKEN( "boxSnakesWipe",             XML_BOXSNAKESWIPE ),
        TOKEN( "waterfallWipe",             XML_WATERFALLWIPE ),
        TOKEN( "pushWipe",                  XML_PUSHWIPE ),
        TOKEN( "slideWipe",                 XML_SLIDEWIPE ),
        TOKEN( "blindsWipe",                    XML_BLINDSWIPE ),
        TOKEN( "randomBarWipe",             XML_RANDOMBARWIPE ),
        TOKEN( "checkerBoardWipe",          XML_CHECKERBOARDWIPE ),
        TOKEN( "zoom",                      XML_ZOOM ),

        TOKEN( "leftToRight",                   XML_LEFTTORIGHT ),
        TOKEN( "topToBottom",                   XML_TOPTOBOTTOM ),
        TOKEN( "topLeft",                       XML_TOPLEFT ),
        TOKEN( "topRight",                  XML_TOPRIGHT ),
        TOKEN( "bottomRight",                   XML_BOTTOMRIGHT ),
        TOKEN( "bottomLeft",                    XML_BOTTOMLEFT ),
        TOKEN( "topCenter",                 XML_TOPCENTER ),
        TOKEN( "rightCenter",                   XML_RIGHTCENTER ),
        TOKEN( "bottomCenter",              XML_BOTTOMCENTER ),
        TOKEN( "leftCenter",                    XML_LEFTCENTER ),
        TOKEN( "cornersIn",                 XML_CORNERSIN ),
        TOKEN( "cornersOut",                    XML_CORNERSOUT ),
        TOKEN( "diagonalBottomLeft",            XML_DIAGONALBOTTOMLEFT ),
        TOKEN( "diagonalTopLeft",               XML_DIAGONALTOPLEFT ),
        TOKEN( "doubleBarnDoor",                XML_DOUBLEBARNDOOR ),
        TOKEN( "doubleDiamond",             XML_DOUBLEDIAMOND ),
        TOKEN( "fourPoint",                 XML_FOURPOINT ),
        TOKEN( "fivePoint",                 XML_FIVEPOINT ),
        TOKEN( "sixPoint",                  XML_SIXPOINT ),
        TOKEN( "heart",                     XML_HEART ),
        TOKEN( "keyhole",                       XML_KEYHOLE ),
        TOKEN( "clockwiseTwelve",               XML_CLOCKWISETWELVE ),
        TOKEN( "clockwiseThree",                XML_CLOCKWISETHREE ),
        TOKEN( "clockwiseSix",              XML_CLOCKWISESIX ),
        TOKEN( "clockwiseNine",             XML_CLOCKWISENINE ),
        TOKEN( "twoBladeVertical",          XML_TWOBLADEVERTICAL ),
        TOKEN( "twoBladeHorizontal",            XML_TWOBLADEHORIZONTAL ),
        TOKEN( "fourBlade",                 XML_FOURBLADE ),
        TOKEN( "clockwiseTop",              XML_CLOCKWISETOP ),
        TOKEN( "clockwiseRight",                XML_CLOCKWISERIGHT ),
        TOKEN( "clockwiseBottom",               XML_CLOCKWISEBOTTOM ),
        TOKEN( "clockwiseLeft",             XML_CLOCKWISELEFT ),
        TOKEN( "clockwiseTopLeft",          XML_CLOCKWISETOPLEFT ),
        TOKEN( "counterClockwiseBottomLeft",    XML_COUNTERCLOCKWISEBOTTOMLEFT ),
        TOKEN( "clockwiseBottomRight",      XML_CLOCKWISEBOTTOMRIGHT ),
        TOKEN( "counterClockwiseTopRight",  XML_COUNTERCLOCKWISETOPRIGHT ),
        TOKEN( "centerTop",                 XML_CENTERTOP ),
        TOKEN( "centerRight",                   XML_CENTERRIGHT ),
        TOKEN( "fanOutVertical",                XML_FANOUTVERTICAL ),
        TOKEN( "fanOutHorizontal",          XML_FANOUTHORIZONTAL ),
        TOKEN( "fanInVertical",             XML_FANINVERTICAL ),
        TOKEN( "fanInHorizontal",               XML_FANINHORIZONTAL ),
        TOKEN( "parallelVertical",          XML_PARALLELVERTICAL ),
        TOKEN( "parallelDiagonal",          XML_PARALLELDIAGONAL ),
        TOKEN( "oppositeVertical",          XML_OPPOSITEVERTICAL ),
        TOKEN( "oppositeHorizontal",            XML_OPPOSITEHORIZONTAL ),
        TOKEN( "parallelDiagonalTopLeft",       XML_PARALLELDIAGONALTOPLEFT ),
        TOKEN( "parallelDiagonalBottomLeft",    XML_PARALLELDIAGONALBOTTOMLEFT ),
        TOKEN( "topLeftHorizontal",         XML_TOPLEFTHORIZONTAL ),
        TOKEN( "topLeftDiagonal",               XML_TOPLEFTDIAGONAL ),
        TOKEN( "topLeftVertical",               XML_TOPLEFTVERTICAL ),
        TOKEN( "topRightDiagonal",          XML_TOPRIGHTDIAGONAL ),
        TOKEN( "bottomRightDiagonal",           XML_BOTTOMRIGHTDIAGONAL ),
        TOKEN( "bottomLeftDiagonal",            XML_BOTTOMLEFTDIAGONAL ),
        TOKEN( "topLeftClockwise",          XML_TOPLEFTCLOCKWISE ),
        TOKEN( "topRightClockwise",         XML_TOPRIGHTCLOCKWISE ),
        TOKEN( "bottomRightClockwise",      XML_BOTTOMRIGHTCLOCKWISE ),
        TOKEN( "bottomLeftClockwise",           XML_BOTTOMLEFTCLOCKWISE ),
        TOKEN( "topLeftCounterClockwise",       XML_TOPLEFTCOUNTERCLOCKWISE ),
        TOKEN( "topRightCounterClockwise",  XML_TOPRIGHTCOUNTERCLOCKWISE ),
        TOKEN( "bottomRightCounterClockwise",   XML_BOTTOMRIGHTCOUNTERCLOCKWISE ),
        TOKEN( "bottomLeftCounterClockwise",    XML_BOTTOMLEFTCOUNTERCLOCKWISE ),
        TOKEN( "verticalTopSame",               XML_VERTICALTOPSAME ),
        TOKEN( "verticalBottomSame",            XML_VERTICALBOTTOMSAME ),
        TOKEN( "verticalTopLeftOpposite",       XML_VERTICALTOPLEFTOPPOSITE ),
        TOKEN( "verticalBottomLeftOpposite",    XML_VERTICALBOTTOMLEFTOPPOSITE ),
        TOKEN( "horizontalLeftSame",            XML_HORIZONTALLEFTSAME ),
        TOKEN( "horizontalRightSame",           XML_HORIZONTALRIGHTSAME ),
        TOKEN( "horizontalTopLeftOpposite", XML_HORIZONTALTOPLEFTOPPOSITE ),
        TOKEN( "horizontalTopRightOpposite",    XML_HORIZONTALTOPRIGHTOPPOSITE ),
        TOKEN( "diagonalBottomLeftOpposite",    XML_DIAGONALBOTTOMLEFTOPPOSITE ),
        TOKEN( "diagonalTopLeftOpposite",       XML_DIAGONALTOPLEFTOPPOSITE ),
        TOKEN( "twoBoxTop",                 XML_TWOBOXTOP ),
        TOKEN( "twoBoxBottom",              XML_TWOBOXBOTTOM ),
        TOKEN( "twoBoxLeft",                    XML_TWOBOXLEFT ),
        TOKEN( "twoBoxRight",                   XML_TWOBOXRIGHT ),
        TOKEN( "fourBoxVertical",           XML_FOURBOXVERTICAL ),
        TOKEN( "fourBoxHorizontal",         XML_FOURBOXHORIZONTAL ),
        TOKEN( "verticalLeft",              XML_VERTICALLEFT ),
        TOKEN( "verticalRight",             XML_VERTICALRIGHT ),
        TOKEN( "horizontalLeft",                XML_HORIZONTALLEFT ),
        TOKEN( "horizontalRight",               XML_HORIZONTALRIGHT ),
        TOKEN( "fromLeft",                  XML_FROMLEFT ),
        TOKEN( "fromTop",                       XML_FROMTOP ),
        TOKEN( "fromRight",                 XML_FROMRIGHT ),
        TOKEN( "fromBottom",                    XML_FROMBOTTOM ),
        TOKEN( "crossfade",                 XML_CROSSFADE ),
        TOKEN( "fadeToColor",                   XML_FADETOCOLOR ),
        TOKEN( "fadeFromColor",             XML_FADEFROMCOLOR ),
        TOKEN( "fadeOverColor",             XML_FADEOVERCOLOR ),
        TOKEN( "threeBlade",                    XML_THREEBLADE ),
        TOKEN( "eightBlade",                    XML_EIGHTBLADE ),
        TOKEN( "oneBlade",                  XML_ONEBLADE ),
        TOKEN( "across",                        XML_ACROSS ),
        TOKEN( "combHorizontal",                XML_COMBHORIZONTAL ),
        TOKEN( "combVertical",              XML_COMBVERTICAL ),
        TOKEN( "rotateIn",                  XML_ROTATEIN ),
        TOKEN( "rotateOut",                 XML_ROTATEOUT ),
        TOKEN( "fromTopLeft",                   XML_FROMTOPLEFT ),
        TOKEN( "fromTopRight",              XML_FROMTOPRIGHT ),
        TOKEN( "fromBottomLeft",                XML_FROMBOTTOMLEFT ),
        TOKEN( "fromBottomRight",               XML_FROMBOTTOMRIGHT ),

        TOKEN( "subtype",                       XML_SUBTYPE ),
        TOKEN( "out",                           XML_OUT ),

        TOKEN( "forward",                       XML_FORWARD ),
        TOKEN( "reverse",                       XML_REVERSE ),

        TOKEN( "fadeColor",                 XML_FADECOLOR ),

        TOKEN( "onbegin",                       XML_ONBEGIN ),
        TOKEN( "onend",                     XML_ONEND ),
        TOKEN( "click",                     XML_CLICK ),
        TOKEN( "doubleclick",                   XML_DOUBLECLICK ),
        TOKEN( "mouseover",                 XML_MOUSEOVER ),
        TOKEN( "mouseout",                  XML_MOUSEOUT ),

        TOKEN( "node-type",         XML_NODE_TYPE ),
        TOKEN( "preset-id",         XML_PRESET_ID ),
        TOKEN( "preset-sub-type",       XML_PRESET_SUB_TYPE ),
        TOKEN( "preset-class",      XML_PRESET_CLASS ),
        TOKEN( "preset-property",      XML_PRESET_PROPERTY ),
        TOKEN( "custom",                XML_CUSTOM ),
        TOKEN( "entrance",          XML_ENTRANCE ),
        TOKEN( "exit",              XML_EXIT ),
        TOKEN( "emphasis",          XML_EMPHASIS ),
        TOKEN( "motion-path",           XML_MOTION_PATH ),
        TOKEN( "ole-action",            XML_OLE_ACTION ),
        TOKEN( "media-call",            XML_MEDIA_CALL ),
        TOKEN( "on-click",          XML_ON_CLICK ),
        TOKEN( "with-previous",     XML_WITH_PREVIOUS ),
        TOKEN( "after-previous",        XML_AFTER_PREVIOUS ),
        TOKEN( "main-sequence",     XML_MAIN_SEQUENCE ),
        TOKEN( "timing-root",           XML_TIMING_ROOT ),
        TOKEN( "interactive-sequence",XML_INTERACTIVE_SEQUENCE ),

        TOKEN( "sub-item",          XML_SUB_ITEM ),
        TOKEN( "iterate-type",      XML_ITERATE_TYPE ),
        TOKEN( "iterate-interval",  XML_ITERATE_INTERVAL ),
        TOKEN( "iterate",               XML_ITERATE ),
        TOKEN( "by-paragraph",      XML_BY_PARAGRAPH ),
        TOKEN( "by-word",               XML_BY_WORD ),
        TOKEN( "by-letter",         XML_BY_LETTER ),

        TOKEN( "after-effect",      XML_AFTER_EFFECT ),
        TOKEN( "master",                XML_MASTER ),

        TOKEN( "group-id",          XML_GROUP_ID ),
        TOKEN( "targetElement",     XML_TARGETELEMENT ),
        TOKEN( "toggle-pause",      XML_TOGGLE_PAUSE ),
        TOKEN( "master-element",        XML_MASTER_ELEMENT ),
        TOKEN( "stop-audio",            XML_STOP_AUDIO ),

        TOKEN( "audio-level",           XML_AUDIO_LEVEL ),

        TOKEN( "urn:oasis:names:tc",    XML_URN_OASIS_NAMES_TC ),
        TOKEN( "opendocument",          XML_OPENDOCUMENT),
        TOKEN( "1.0", XML_1_0 ),

        TOKEN( "is-list-header",     XML_IS_LIST_HEADER ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0",      XML_N_SVG_COMPAT ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0",      XML_N_FO_COMPAT ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0",      XML_N_SMIL_COMPAT ),
        TOKEN( "http://www.w3.org/2001/SMIL20", XML_N_SMIL_OLD ),
        TOKEN( "xforms-submission",            XML_XFORMS_SUBMISSION ),
        TOKEN( "xforms-list-source",            XML_XFORMS_LIST_SOURCE ),

        TOKEN( "http://www.w3.org/",    XML_URI_W3_PREFIX ),
        TOKEN( "/xforms",               XML_URI_XFORMS_SUFFIX ),
        /* XML_HORIZONTAL_ON_LEFT_PAGES and XML_HORIZONTAL_ON_RIGHT_PAGES
           are replaced by XML_HORIZONTAL_ON_EVEN and XML_HORIZONTAL_ON_ODD. (#i49139#)
        */
        TOKEN( "horizontal-on-even",        XML_HORIZONTAL_ON_EVEN ),
        TOKEN( "urn:oasis:names:tc:opendocument:xmlns:report:1.0",        XML_N_RPT_OASIS ),
        TOKEN( "http://openoffice.org/2005/report",       XML_N_RPT ),
        TOKEN( "group",       XML_GROUP ),
        TOKEN( "groups",       XML_GROUPS        ),
        TOKEN( "report-header",       XML_REPORT_HEADER ),
        TOKEN( "page-header",       XML_PAGE_HEADER  ),
        TOKEN( "detail",       XML_DETAIL        ),
        TOKEN( "page-footer",       XML_PAGE_FOOTER  ),
        TOKEN( "report-footer",       XML_REPORT_FOOTER ),
        TOKEN( "start-new-column",       XML_START_NEW_COLUMN            ),
        TOKEN( "reset-page-number",       XML_RESET_PAGE_NUMBER          ),
        TOKEN( "print-header-on-each-page",       XML_PRINT_HEADER_ON_EACH_PAGE  ),
        TOKEN( "sort-expression",        XML_SORT_EXPRESSION             ),
        TOKEN( "group-expression",       XML_GROUP_EXPRESSION            ),
        TOKEN( "group-header",       XML_GROUP_HEADER                ),
        TOKEN( "group-footer",       XML_GROUP_FOOTER                ),
        TOKEN( "header-on-new-page",       XML_HEADER_ON_NEW_PAGE),
        TOKEN( "footer-on-new-page",       XML_FOOTER_ON_NEW_PAGE),
        TOKEN( "page-print-option",       XML_PAGE_PRINT_OPTION ),
        TOKEN( "pre-evaluated",         XML_PRE_EVALUATED),
        TOKEN( "command-type",       XML_COMMAND_TYPE ),
        TOKEN( "master-fields",       XML_MASTER_FIELDS ),
        TOKEN( "detail-fields",       XML_DETAIL_FIELDS ),
        TOKEN( "conditional-print-expression",       XML_CONDITIONAL_PRINT_EXPRESSION ),
        TOKEN( "report-component",       XML_REPORT_COMPONENT ),
        TOKEN( "print-repeated-values",       XML_PRINT_REPEATED_VALUES ),
        TOKEN( "repeat-section",       XML_REPEAT_SECTION ),
        TOKEN( "force-new-column",       XML_FORCE_NEW_COLUMN ),
        TOKEN( "group-on",       XML_GROUP_ON),
        TOKEN( "force-new-page",       XML_FORCE_NEW_PAGE),
        TOKEN( "group-interval",       XML_GROUP_INTERVAL),
        TOKEN( "print-when-group-change",   XML_PRINT_WHEN_GROUP_CHANGE),
        TOKEN( "report-element",   XML_REPORT_ELEMENT),
        TOKEN( "list-source",   XML_LIST_SOURCE),
        TOKEN( "list-source-type",   XML_LIST_SOURCE_TYPE),
        TOKEN( "image-data",   XML_IMAGE_DATA),
        TOKEN( "selected",   XML_SELECTED),
        TOKEN( "current-state",   XML_CURRENT_STATE),
        TOKEN( "is-tristate",   XML_IS_TRISTATE),
        TOKEN( "all-pages",   XML_ALL_PAGES),
        TOKEN( "not-with-report-header",                XML_NOT_WITH_REPORT_HEADER              ),
        TOKEN( "not-with-report-footer",                XML_NOT_WITH_REPORT_FOOTER              ),
        TOKEN( "not-with-report-header-nor-footer",     XML_NOT_WITH_REPORT_HEADER_NOR_FOOTER   ),
        TOKEN( "before-section",        XML_BEFORE_SECTION      ),
        TOKEN( "after-section",         XML_AFTER_SECTION       ),
        TOKEN( "before-after-section",  XML_BEFORE_AFTER_SECTION),
        TOKEN( "prefix-characters",     XML_PREFIX_CHARACTERS       ),
        TOKEN( "quartal",               XML_QUARTAL             ),
        TOKEN( "week",                  XML_WEEK                ),
        TOKEN( "whole-group",           XML_WHOLE_GROUP         ),
        TOKEN( "with-first-detail",     XML_WITH_FIRST_DETAIL   ),
        TOKEN( "top-down",              XML_TOP_DOWN   ),
        TOKEN( "bottom-up",             XML_BOTTOM_UP   ),
        TOKEN( "hour",                  XML_HOUR   ),
        TOKEN( "minute",                XML_MINUTE   ),
        TOKEN( "rpt",                   XML_NP_RPT ),
        TOKEN( "format-condition",      XML_FORMAT_CONDITION ),
        TOKEN( "expression1",           XML_EXPRESSION1     ),
        TOKEN( "expression2",           XML_EXPRESSION2     ),
        TOKEN( "equal",                 XML_EQUAL           ),
        TOKEN( "not_equal",             XML_NOT_EQUAL       ),
        TOKEN( "less",                  XML_LESS            ),
        TOKEN( "greater",               XML_GREATER         ),
        TOKEN( "less_equal",            XML_LESS_EQUAL      ),
        TOKEN( "greater_equal",         XML_GREATER_EQUAL   ),
        TOKEN( "between",               XML_BETWEEN         ),
        TOKEN( "not_between",           XML_NOT_BETWEEN     ),
        TOKEN( "table-template",        XML_TABLE_TEMPLATE  ),
        TOKEN( "first-row",             XML_FIRST_ROW       ),
        TOKEN( "last-row",              XML_LAST_ROW        ),
        TOKEN( "first-column",          XML_FIRST_COLUMN    ),
        TOKEN( "last-column",           XML_LAST_COLUMN     ),
        TOKEN( "even-rows",             XML_EVEN_ROWS       ),
        TOKEN( "odd-rows",              XML_ODD_ROWS        ),
        TOKEN( "even-columns",          XML_EVEN_COLUMNS    ),
        TOKEN( "odd-columns",           XML_ODD_COLUMNS     ),
        // table styles
        TOKEN( "first-row-even-column",  XML_FIRST_ROW_EVEN_COLUMN    ),
        TOKEN( "last-row-even-column",   XML_LAST_ROW_EVEN_COLUMN     ),
        TOKEN( "first-row-end-column",   XML_FIRST_ROW_END_COLUMN     ),
        TOKEN( "first-row-start-column", XML_FIRST_ROW_START_COLUMN   ),
        TOKEN( "last-row-end-column",    XML_LAST_ROW_END_COLUMN      ),
        TOKEN( "last-row-start-column",  XML_LAST_ROW_START_COLUMN    ),

        TOKEN( "horizontal-on-odd",         XML_HORIZONTAL_ON_ODD ),
        // Password error from 1.4 to 2.0 Beta (#i45874#)
        TOKEN( "restart-numbering",               XML_RESTART_NUMBERING),
        // OpenDocument <text:numbered-paragraph> element not supported on OpenDocument import (#i52127#)
        TOKEN( "numbered-paragraph", XML_NUMBERED_PARAGRAPH),
        TOKEN( "master-detail-fields",  XML_MASTER_DETAIL_FIELDS),
        TOKEN( "master-detail-field",   XML_MASTER_DETAIL_FIELD),
        TOKEN( "sub-document",          XML_SUB_DOCUMENT),
        TOKEN( "fixed-content",         XML_FIXED_CONTENT),
        TOKEN( "initial-formula",       XML_INITIAL_FORMULA),
        TOKEN( "deep-traversing",       XML_DEEP_TRAVERSING),
        TOKEN( "preserve-IRI",       XML_PRESERVE_IRI),
        TOKEN( "sort-by-x-values",      XML_SORT_BY_X_VALUES ),
        TOKEN( "page-continuation",        XML_PAGE_CONTINUATION ),
        TOKEN( "right-angled-axes",      XML_RIGHT_ANGLED_AXES ),
        TOKEN( "soft-page-break",                 XML_SOFT_PAGE_BREAK ),
        TOKEN( "use-soft-page-breaks",            XML_USE_SOFT_PAGE_BREAKS ),
        TOKEN( "percentage-data-style-name",      XML_PERCENTAGE_DATA_STYLE_NAME ),
        TOKEN( "value-and-percentage",            XML_VALUE_AND_PERCENTAGE ),
        TOKEN( "group-bars-per-axis",             XML_GROUP_BARS_PER_AXIS ),
        TOKEN( "include-hidden-cells",            XML_INCLUDE_HIDDEN_CELLS ),
        TOKEN( "auto-position",                   XML_AUTOMATIC_POSITION ),
        TOKEN( "auto-size",                       XML_AUTOMATIC_SIZE ),
        TOKEN( "reverse-direction",               XML_REVERSE_DIRECTION ),
        TOKEN( "label-separator",                 XML_LABEL_SEPARATOR ),
        TOKEN( "label-position",                  XML_LABEL_POSITION ),
        TOKEN( "avoid-overlap",                   XML_AVOID_OVERLAP ),
        TOKEN( "near-origin",                     XML_NEAR_ORIGIN ),
        TOKEN( "dependency",             XML_DEPENDENCY ),
        TOKEN( "nav-order",             XML_NAV_ORDER ),

        TOKEN( "use-first-row-styles",          XML_USE_FIRST_ROW_STYLES ),
        TOKEN( "use-last-row-styles",           XML_USE_LAST_ROW_STYLES ),
        TOKEN( "use-first-column-styles",       XML_USE_FIRST_COLUMN_STYLES ),
        TOKEN( "use-last-column-styles",        XML_USE_LAST_COLUMN_STYLES ),
        TOKEN( "use-banding-rows-styles",       XML_USE_BANDING_ROWS_STYLES ),
        TOKEN( "use-banding-columns-styles",    XML_USE_BANDING_COLUMNS_STYLES ),

        TOKEN( "automatic-content",     XML_AUTOMATIC_CONTENT ),
        TOKEN( "display-r-square",      XML_DISPLAY_R_SQUARE ),
        TOKEN( "display-equation",      XML_DISPLAY_EQUATION ),
        // db odf 12
        TOKEN( "table-representations", XML_TABLE_REPRESENTATIONS ),
        TOKEN( "table-representation",  XML_TABLE_REPRESENTATION ),
        TOKEN( "schema-definition",     XML_SCHEMA_DEFINITION ),
        TOKEN( "connection-data",       XML_CONNECTION_DATA ),
        TOKEN( "database-description",  XML_DATABASE_DESCRIPTION ),
        TOKEN( "compound-database",     XML_COMPOUND_DATABASE ),
        TOKEN( "file-based-database",   XML_FILE_BASED_DATABASE ),
        TOKEN( "server-database",       XML_SERVER_DATABASE ),
        TOKEN( "media-type",            XML_MEDIA_TYPE ),
        TOKEN( "hostname",              XML_HOSTNAME ),
        TOKEN( "port",                  XML_PORT ),
        TOKEN( "local-socket",          XML_LOCAL_SOCKET ),
        TOKEN( "use-system-user",       XML_USE_SYSTEM_USER ),
        TOKEN( "driver-settings",       XML_DRIVER_SETTINGS ),
        TOKEN( "java-classpath",        XML_JAVA_CLASSPATH ),
        TOKEN( "character-set",         XML_CHARACTER_SET ),
        TOKEN( "application-connection-settings",         XML_APPLICATION_CONNECTION_SETTINGS ),
        TOKEN( "table-include-filter",         XML_TABLE_INCLUDE_FILTER ),
        TOKEN( "default-row-style-name", XML_DEFAULT_ROW_STYLE_NAME),
        TOKEN( "angle-offset",          XML_ANGLE_OFFSET ),
        // Core implementation for direct cross-references (#i81002#)
        TOKEN( "number-no-superior", XML_NUMBER_NO_SUPERIOR ),
        TOKEN( "number-all-superior", XML_NUMBER_ALL_SUPERIOR ),
        TOKEN( "list-level-position-and-space-mode", XML_LIST_LEVEL_POSITION_AND_SPACE_MODE ),
        TOKEN( "label-width-and-position",           XML_LABEL_WIDTH_AND_POSITION ),
        TOKEN( "label-alignment",                    XML_LABEL_ALIGNMENT ),
        TOKEN( "list-level-label-alignment",         XML_LIST_LEVEL_LABEL_ALIGNMENT ),
        TOKEN( "label-followed-by",                  XML_LABEL_FOLLOWED_BY ),
        TOKEN( "listtab",                            XML_LISTTAB ),
        TOKEN( "space",                              XML_SPACE ),
        TOKEN( "nothing",                            XML_NOTHING ),
        TOKEN( "list-tab-stop-position",             XML_LIST_TAB_STOP_POSITION ),

        // bm: chart error bar extensions (ODF 1.2)
        TOKEN( "standard-error",        XML_STANDARD_ERROR ),
        TOKEN( "cell-range" ,           XML_CELL_RANGE ),
        TOKEN( "error-lower-range",     XML_ERROR_LOWER_RANGE ),
        TOKEN( "error-upper-range",     XML_ERROR_UPPER_RANGE ),

        TOKEN( "continue-list",         XML_CONTINUE_LIST ),
        TOKEN( "style-override",        XML_STYLE_OVERRIDE ),

        // XForms: Changes to model should optionally set document's modified state. (#i90243#)
        TOKEN( "xforms-settings",       XML_XFORM_MODEL_SETTINGS ),

        // ODF 1.2 metadata
        TOKEN( "meta-field",            XML_META_FIELD ),
        TOKEN( "about",                 XML_ABOUT ),
        TOKEN( "datatype",              XML_DATATYPE ),
        TOKEN( "transformation",        XML_TRANSFORMATION ),

        // ODF 1.2 numbered-paragraph
        TOKEN( "list-id",               XML_LIST_ID ),

        TOKEN( "treat-empty-cells",     XML_TREAT_EMPTY_CELLS ),
        TOKEN( "leave-gap",             XML_LEAVE_GAP ),
        TOKEN( "use-zero",              XML_USE_ZERO ),
        TOKEN( "ignore",                XML_IGNORE ),

        // enhanced fields
        TOKEN( "fieldmark",             XML_FIELDMARK ),
        TOKEN( "fieldmark-start",       XML_FIELDMARK_START ),
        TOKEN( "fieldmark-separator",   XML_FIELDMARK_SEPARATOR ),
        TOKEN( "fieldmark-end",         XML_FIELDMARK_END ),

        TOKEN( "image-scale",           XML_IMAGE_SCALE  ),
        TOKEN( "isotropic",             XML_ISOTROPIC  ),
        TOKEN( "anisotropic",           XML_ANISOTROPIC ),

        TOKEN( "axis-position",         XML_AXIS_POSITION ),
        TOKEN( "axis-label-position",   XML_AXIS_LABEL_POSITION ),
        TOKEN( "near-axis",             XML_NEAR_AXIS ),
        TOKEN( "near-axis-other-side",  XML_NEAR_AXIS_OTHER_SIDE ),
        TOKEN( "outside-start",         XML_OUTSIDE_START ),
        TOKEN( "outside-end",           XML_OUTSIDE_END ),
        TOKEN( "tick-mark-position",    XML_TICK_MARK_POSITION ),
        TOKEN( "at-labels",             XML_AT_LABELS ),
        TOKEN( "at-axis",               XML_AT_AXIS ),
        TOKEN( "at-labels-and-axis",    XML_AT_LABELS_AND_AXIS ),
        TOKEN( "filled-radar",                    XML_FILLED_RADAR ),
        TOKEN( "surface",               XML_SURFACE ),

        TOKEN( "mathvariant",           XML_MATHVARIANT ),
        TOKEN( "mathsize",              XML_MATHSIZE ),
        TOKEN( "mathweight",            XML_MATHWEIGHT ),
        TOKEN( "mathcolor",             XML_MATHCOLOR ),

        TOKEN( "contains",              XML_CONTAINS ),
        TOKEN( "does-not-contain",      XML_DOES_NOT_CONTAIN ),
        TOKEN( "begins-with",           XML_BEGINS_WITH ),
        TOKEN( "does-not-begin-with",   XML_DOES_NOT_BEGIN_WITH ),
        TOKEN( "ends-with",             XML_ENDS_WITH ),
        TOKEN( "does-not-end-with",     XML_DOES_NOT_END_WITH ),

        TOKEN( "chartooo", XML_NP_CHART_EXT ),
        TOKEN( "http://openoffice.org/2010/chart", XML_N_CHART_EXT ),
        TOKEN( "coordinate-region",    XML_COORDINATE_REGION ),

        TOKEN( "diagonal-bl-tr-widths", XML_DIAGONAL_BL_TR_WIDTHS ),
        TOKEN( "diagonal-tl-br-widths", XML_DIAGONAL_TL_BR_WIDTHS ),

        TOKEN( "outside-minimum",       XML_OUTSIDE_MINIMUM ),
        TOKEN( "outside-maximum",       XML_OUTSIDE_MAXIMUM ),

        TOKEN( "legend-expansion",      XML_LEGEND_EXPANSION),
        TOKEN( "legend-expansion-aspect-ratio", XML_LEGEND_EXPANSION_ASPECT_RATIO),
        TOKEN( "balanced",              XML_BALANCED),
        TOKEN( "high",                  XML_HIGH),
        TOKEN( "wide",                  XML_WIDE),

        TOKEN( "axis-type",             XML_AXIS_TYPE ), //#i25706#
        TOKEN( "date-scale",            XML_DATE_SCALE ),
        TOKEN( "base-time-unit",        XML_BASE_TIME_UNIT ),
        TOKEN( "major-interval-value",  XML_MAJOR_INTERVAL_VALUE ),
        TOKEN( "minor-interval-value",  XML_MINOR_INTERVAL_VALUE ),
        TOKEN( "major-interval-unit",   XML_MAJOR_INTERVAL_UNIT ),
        TOKEN( "minor-interval-unit",   XML_MINOR_INTERVAL_UNIT ),

        TOKEN( "min-value", XML_MIN_VALUE ),
        TOKEN( "max-value", XML_MAX_VALUE ),

        TOKEN( "margin", XML_MARGIN),

        TOKEN( "propertry-mapping", XML_PROPERTY_MAPPING),
        TOKEN( "provider", XML_PROVIDER),
        TOKEN( "data-mappings", XML_DATA_MAPPINGS),
        TOKEN( "data-mapping", XML_DATA_MAPPING),
        TOKEN( "frequency", XML_DATA_FREQUENCY),
        TOKEN( "data-transformations", XML_DATA_TRANSFORMATIONS),
        TOKEN( "column-remove-transformation", XML_COLUMN_REMOVE_TRANSFORMATION),
        TOKEN( "column-split-transformation", XML_COLUMN_SPLIT_TRANSFORMATION),
        TOKEN( "column-merge-transformation", XML_COLUMN_MERGE_TRANSFORMATION),
        TOKEN( "column-sort-transformation", XML_COLUMN_SORT_TRANSFORMATION),
        TOKEN( "column-text-transformation", XML_COLUMN_TEXT_TRANSFORMATION),
        TOKEN( "column-aggregate-transformation", XML_COLUMN_AGGREGATE_TRANSFORMATION),
        TOKEN( "column-number-transformation", XML_COLUMN_NUMBER_TRANSFORMATION),

        TOKEN( "sort-param", XML_SORT_PARAM ),
        TOKEN( "merge-string", XML_MERGE_STRING ),
        TOKEN( "trim", XML_TRIM ),
        TOKEN( "round-up", XML_ROUND_UP ),
        TOKEN( "round-down", XML_ROUND_DOWN ),
        TOKEN( "log-base-10", XML_LOG_10 ),
        TOKEN( "number-square", XML_SQUARE ),
        TOKEN( "square-root", XML_SQUARE_ROOT ),
        TOKEN( "even", XML_EVEN ),
        TOKEN( "odd", XML_ODD ),
        TOKEN( "sign", XML_SIGN ),
        TOKEN( "replace-string", XML_REPLACE_STRING ),
        TOKEN( "column-replacenull-transformation", XML_COLUMN_REPLACENULL_TRANSFORMATION ),
        TOKEN( "column-datetime-transformation", XML_COLUMN_DATETIME_TRANSFORMATION ),
        TOKEN( "start-of-year", XML_START_OF_YEAR ),
        TOKEN( "end-of-year", XML_END_OF_YEAR ),
        TOKEN( "month-name", XML_MONTH_NAME ),
        TOKEN( "start-of-month", XML_START_OF_MONTH ),
        TOKEN( "end-of-month", XML_END_OF_MONTH ),
        TOKEN( "day-of-year", XML_DAY_OF_YEAR ),
        TOKEN( "start-of-quarter", XML_START_OF_QUARTER ),
        TOKEN( "end-of-quarter", XML_END_OF_QUARTER ),

        // regina, ODF1.2 additional symbols in charts
        TOKEN( "star",                         XML_STAR ),
        TOKEN( "asterisk",                     XML_ASTERISK ),
        TOKEN( "horizontal-bar",               XML_HORIZONTAL_BAR ),
        TOKEN( "vertical-bar",                 XML_VERTICAL_BAR ),

        TOKEN( "std-weight", XML_ERROR_STANDARD_WEIGHT ),

        // erAck: 2013-07-02  BCP 47 language tags
        TOKEN( "rfc-language-tag",          XML_RFC_LANGUAGE_TAG ),
        TOKEN( "rfc-language-tag-asian",    XML_RFC_LANGUAGE_TAG_ASIAN ),
        TOKEN( "rfc-language-tag-complex",  XML_RFC_LANGUAGE_TAG_COMPLEX ),
        TOKEN( "data-table-show-horz-border",     XML_DATA_TABLE_SHOW_HORZ_BORDER ), // obsolete - use XML_SHOW_HORIZONTAL_BORDER
        TOKEN( "data-table-show-vert-border",     XML_DATA_TABLE_SHOW_VERT_BORDER ), // obsolete - use XML_SHOW_VERTICAL_BORDER
        TOKEN( "data-table-show-outline",     XML_DATA_TABLE_SHOW_OUTLINE ), // obsolete - use XML_SHOW_OUTLINE
        TOKEN( "display-units",     XML_CHART_DUNITS_DISPLAYUNITS ),
        TOKEN( "display-units-built-in-unit",     XML_CHART_DUNITS_BUILTINUNIT ),
        TOKEN( "external-data", XML_EXTERNALDATA),

        TOKEN( "exponent-interval",               XML_EXPONENT_INTERVAL ),
        TOKEN( "exponent-lowercase",              XML_EXPONENT_LOWERCASE ),
        TOKEN( "forced-exponent-sign",            XML_FORCED_EXPONENT_SIGN ),
        TOKEN( "blank-exponent-digits",           XML_BLANK_EXPONENT_DIGITS ),
        TOKEN( "min-decimal-places",              XML_MIN_DECIMAL_PLACES ),
        TOKEN( "max-denominator-value",           XML_MAX_DENOMINATOR_VALUE ),
        TOKEN( "max-numerator-digits",            XML_MAX_NUMERATOR_DIGITS ),
        TOKEN( "zeros-numerator-digits",          XML_ZEROS_NUMERATOR_DIGITS ),
        TOKEN( "zeros-denominator-digits",        XML_ZEROS_DENOMINATOR_DIGITS ),
        TOKEN( "integer-fraction-delimiter",      XML_INTEGER_FRACTION_DELIMITER ),
        TOKEN( "max-blank-integer-digits",        XML_MAX_BLANK_INTEGER_DIGITS ),
        TOKEN( "blank-width-char",                XML_BLANK_WIDTH_CHAR ),

        // for optional language-dependent reference formats
        TOKEN( "reference-language",              XML_REFERENCE_LANGUAGE ),
        TOKEN( "newline",                         XML_NEWLINE ),
        TOKEN( "creator-initials",                XML_CREATOR_INITIALS ),

        // tdf#115007 spell out numbers, dates, money amounts and cross references
        TOKEN( "transliteration-spellout",         XML_TRANSLITERATION_SPELLOUT ),

        // For recording whether comments/annotations are resolved
        TOKEN( "resolved",                        XML_RESOLVED ),

        TOKEN( "page-content-top",                XML_PAGE_CONTENT_TOP ),

        TOKEN( "page-content-bottom",             XML_PAGE_CONTENT_BOTTOM ),
        TOKEN("margin-gutter", XML_MARGIN_GUTTER),

        TOKEN("local-url", XML_LOCAL_URL),
        TOKEN("target-type", XML_TARGET_TYPE),
        TOKEN("target-url", XML_TARGET_URL),

        TOKEN("dir",                 XML_DIR ),
        TOKEN("displaystyle",        XML_DISPLAYSTYLE ),
        TOKEN("infinity",            XML_INFINITY ),
        TOKEN("lspace",              XML_LSPACE ),
        TOKEN("mathbackground",      XML_MATHBACKGROUND ),
        TOKEN("maxsize",             XML_MAXSIZE ),
        TOKEN("minsize",             XML_MINSIZE ),
        TOKEN("movablelimits",       XML_MOVABLELIMITS ),
        TOKEN("rspace",              XML_RSPACE ),
        TOKEN("rtl",                 XML_RTL ),
        TOKEN("symmetric",           XML_SYMMETRIC ),

        TOKEN("linked-style-name",   XML_LINKED_STYLE_NAME ),

        TOKEN("theme",               XML_THEME),
        TOKEN("theme-colors",        XML_THEME_COLORS),
        TOKEN("theme-type",          XML_THEME_TYPE),
        TOKEN("char-complex-color", XML_CHAR_COMPLEX_COLOR),
        TOKEN("fill-complex-color", XML_FILL_COMPLEX_COLOR),
        TOKEN("dark1",               XML_DARK1),
        TOKEN("light1",              XML_LIGHT1),
        TOKEN("dark2",               XML_DARK2),
        TOKEN("light2",              XML_LIGHT2),
        TOKEN("accent1",             XML_ACCENT1),
        TOKEN("accent2",             XML_ACCENT2),
        TOKEN("accent3",             XML_ACCENT3),
        TOKEN("accent4",             XML_ACCENT4),
        TOKEN("accent5",             XML_ACCENT5),
        TOKEN("accent6",             XML_ACCENT6),
        TOKEN("followed-hyperlink",    XML_FOLLOWED_HYPERLINK),
        TOKEN("content-control",     XML_CONTENT_CONTROL ),
        TOKEN("showing-place-holder", XML_SHOWING_PLACE_HOLDER ),
        TOKEN("checked-state", XML_CHECKED_STATE),
        TOKEN("unchecked-state", XML_UNCHECKED_STATE),
        TOKEN("display-text", XML_DISPLAY_TEXT),
        TOKEN("picture", XML_PICTURE),
        TOKEN("date-format", XML_DATE_FORMAT),
        TOKEN("date-rfc-language-tag", XML_DATE_RFC_LANGUAGE_TAG),
        TOKEN("plain-text", XML_PLAIN_TEXT),
        TOKEN("alias", XML_ALIAS),
        TOKEN("tag", XML_TAG),

        TOKEN("fill-use-slide-background", XML_FILL_USE_SLIDE_BACKGROUND),

        TOKEN("may-break-between-pages", XML_MAY_BREAK_BETWEEN_PAGES),

        TOKEN("gradient-stop", XML_GRADIENT_STOP),
        TOKEN("opacity-stop", XML_OPACITY_STOP),
        TOKEN("color-value", XML_COLOR_VALUE),
        TOKEN("color-type", XML_COLOR_TYPE),

#if OSL_DEBUG_LEVEL > 0
        { 0, nullptr, std::nullopt,               XML_TOKEN_END }
#else
        { 0, nullptr, std::nullopt             /* XML_TOKEN_END */ }
#endif
    };

    // get OUString representation of token
    const OUString& GetXMLToken( enum XMLTokenEnum eToken )
    {
#if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG
        static bool s_bChecked = false;
        if (!s_bChecked)
        {
            // check the consistency of the token list. Below, we use the
            // ordinal value of the token as index into the token list, so we
            // should make sure that every entry is at the proper position
            std::set<OString> tokenSet;
            bool foundDuplicate = false;
            const XMLTokenEntry* pEntry = aTokenList;
            const XMLTokenEntry* pEntryEnd =
                pEntry + SAL_N_ELEMENTS(aTokenList);
            sal_uInt16 nPos = 0;
            while (pEntry < pEntryEnd)
            {
                SAL_WARN_IF(nPos != static_cast<sal_uInt16>(pEntry->eToken), "xmloff",
                            "inconsistency at pos " << nPos << " for token "
                            << OUString( pEntry->pChar, pEntry->nLength, RTL_TEXTENCODING_ASCII_US ));
                assert(nPos == static_cast<sal_uInt16>(pEntry->eToken));
                    // Inconsistency in the token list!
                    // The positions in xmltoken.hxx and xmltoken.cxx need to match.

                // verify that we have no duplicates, which can mess us up when doing fast-parser import
                if (pEntry->nLength && nPos >= XML_MM)
                    // ignoring the zero-length fake entries and the namespace prefix entries
                {
                    auto pair = tokenSet.insert(OString(pEntry->pChar, pEntry->nLength));
                    if (!pair.second)
                    {
                        SAL_WARN("xmloff", "duplicate token string "
                                << OUString( pEntry->pChar, pEntry->nLength, RTL_TEXTENCODING_ASCII_US ));
                        foundDuplicate = true;
                    }
                }
                ++pEntry;
                ++nPos;
            }
            assert(!foundDuplicate && "duplicate token string");

            s_bChecked = true; // it's all static, checking once is enough
        }
#endif
        assert(XML_TOKEN_INVALID < eToken);
        assert(eToken < XML_TOKEN_END);
        assert(sal_uInt16(eToken) < SAL_N_ELEMENTS(aTokenList));

        XMLTokenEntry* pToken = &aTokenList[static_cast<sal_uInt16>(eToken)];
        if (!pToken->xOUString)
           pToken->xOUString = OUString( pToken->pChar, pToken->nLength,
                                         RTL_TEXTENCODING_ASCII_US );
        return *pToken->xOUString;
    }

    // does rString represent eToken?
    bool IsXMLToken(
        std::u16string_view rString,
        enum XMLTokenEnum eToken )
    {
        assert(XML_TOKEN_INVALID < eToken);
        assert(eToken < XML_TOKEN_END);

        const XMLTokenEntry* pToken = &aTokenList[static_cast<sal_uInt16>(eToken)];
        return static_cast<sal_Int32>(rString.size()) == pToken->nLength &&
               rtl_ustr_asciil_reverseEquals_WithLength(
                    rString.data(), pToken->pChar, pToken->nLength );
    }

    bool IsXMLToken(
        const sax_fastparser::FastAttributeList::FastAttributeIter& aIter,
        enum XMLTokenEnum eToken )
    {
        assert(XML_TOKEN_INVALID < eToken);
        assert(eToken < XML_TOKEN_END);

        const XMLTokenEntry* pToken = &aTokenList[static_cast<sal_uInt16>(eToken)];
        return aIter.isString( pToken->pChar );
    }

    // does aStr represent eToken?
    bool IsXMLToken(
        std::string_view aStr,
        enum XMLTokenEnum eToken )
    {
        assert(XML_TOKEN_INVALID < eToken);
        assert(eToken < XML_TOKEN_END);

        const XMLTokenEntry* pToken = &aTokenList[static_cast<sal_uInt16>(eToken)];
        return aStr == std::string_view(pToken->pChar, pToken->nLength);
    }
}

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */