1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  *   Licensed to the Apache Software Foundation (ASF) under one or more
12  *   contributor license agreements. See the NOTICE file distributed
13  *   with this work for additional information regarding copyright
14  *   ownership. The ASF licenses this file to you under the Apache
15  *   License, Version 2.0 (the "License"); you may not use this file
16  *   except in compliance with the License. You may obtain a copy of
17  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #include <sal/macros.h>
21 #include <xmloff/xmltoken.hxx>
22 #include <rtl/ustring.hxx>
23 #include <rtl/string.hxx>
24 #include <sal/log.hxx>
25 #include <optional>
26 #include <set>
27 
28 
29 namespace xmloff::token {
30 
31     // keep the tokens (and their length)
32     namespace
33     {
34         struct XMLTokenEntry
35         {
36             sal_Int32 nLength;
37             const char* pChar;
38             std::optional<OUString> xOUString;
39 #if OSL_DEBUG_LEVEL > 0
40             XMLTokenEnum eToken;
41 #endif
42         };
43     }
44 
45 
46 #if OSL_DEBUG_LEVEL > 0
47     #define TOKEN( s, e ) { sizeof(s)-1, s, std::nullopt, e }
48 #else
49     #define TOKEN( s, e ) { sizeof(s)-1, s, std::nullopt }
50 #endif
51 
52     // IMPORTANT! aTokenList order MUST be in synch with XMLTokenEnum in include/xmloff/xmltoken.hxx
53     // and with xmloff/source/token/tokens.txt.
54 
55     struct XMLTokenEntry aTokenList[] =
56     {
57 #if OSL_DEBUG_LEVEL > 0
58         { 0, nullptr, std::nullopt, XML_TOKEN_START },
59 #else
60         { 0, nullptr, std::nullopt },                            // XML_TOKEN_START
61 #endif
62 
63         // common XML
64         TOKEN( "CDATA",                 XML_CDATA ),
65         TOKEN( " ",                     XML_WS ),
66         TOKEN( "xml",                   XML_XML ),
67         TOKEN( "xmlns",                 XML_XMLNS ),
68         TOKEN( "version=\"1.0\" encoding=\"UTF-8\"",      XML_XML_PI ),
69         TOKEN( "<!DOCTYPE ",            XML_XML_DOCTYPE_PREFIX ),
70         TOKEN( " PUBLIC \"-//OpenOffice.org//DTD OfficeDocument 1.0//EN\" \"office.dtd\">",      XML_XML_DOCTYPE_SUFFIX ),
71 
72         // namespace prefixes and names
73         TOKEN( "http://www.w3.org/XML/1998/namespace",      XML_N_XML ),
74         TOKEN( "office",                XML_NP_OFFICE ),
75         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:office:1.0",      XML_N_OFFICE ),
76         TOKEN( "http://sun.com/xmlns/staroffice/office",      XML_N_OFFICE_OLD ),
77         TOKEN( "meta",                  XML_NP_META ),
78         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:meta:1.0",      XML_N_META ),
79         TOKEN( "http://sun.com/xmlns/staroffice/meta",      XML_N_META_OLD ),
80         TOKEN( "style",                 XML_NP_STYLE ),
81         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:style:1.0",      XML_N_STYLE ),
82         TOKEN( "http://sun.com/xmlns/staroffice/style",      XML_N_STYLE_OLD ),
83         TOKEN( "number",                XML_NP_NUMBER ),
84         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0",      XML_N_NUMBER ),
85         TOKEN( "http://sun.com/xmlns/staroffice/number",      XML_N_NUMBER_OLD ),
86         TOKEN( "text",                  XML_NP_TEXT ),
87         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:text:1.0",      XML_N_TEXT ),
88         TOKEN( "http://sun.com/xmlns/staroffice/text",      XML_N_TEXT_OLD ),
89         TOKEN( "table",                 XML_NP_TABLE ),
90         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:table:1.0",      XML_N_TABLE ),
91         TOKEN( "http://sun.com/xmlns/staroffice/table",      XML_N_TABLE_OLD ),
92         TOKEN( "draw",                  XML_NP_DRAW ),
93         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0",      XML_N_DRAW ),
94         TOKEN( "dr3d",                  XML_NP_DR3D ),
95         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0",      XML_N_DR3D ),
96         TOKEN( "http://sun.com/xmlns/staroffice/draw",      XML_N_DRAW_OLD ),
97         TOKEN( "presentation",             XML_NP_PRESENTATION ),
98         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0",      XML_N_PRESENTATION ),
99         TOKEN( "http://sun.com/xmlns/staroffice/presentation",      XML_N_PRESENTATION_OLD ),
100         TOKEN( "chart",                     XML_NP_CHART ),
101         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:chart:1.0",      XML_N_CHART ),
102         TOKEN( "config",                    XML_NP_CONFIG ),
103         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:config:1.0",      XML_N_CONFIG ),
104         TOKEN( "http://sun.com/xmlns/staroffice/chart",      XML_N_CHART_OLD ),
105         TOKEN( "fo",                        XML_NP_FO ),
106         TOKEN( "http://www.w3.org/1999/XSL/Format/",      XML_N_FO_OLD ),
107         TOKEN( "http://www.w3.org/1999/XSL/Format",      XML_N_FO ),
108         TOKEN( "xlink",                     XML_NP_XLINK ),
109         TOKEN( "http://www.w3.org/1999/xlink",      XML_N_XLINK ),
110         TOKEN( "http://www.w3.org/1999/xlink/namespace",      XML_N_XLINK_OLD ),
111         TOKEN( "dc",                        XML_NP_DC ),
112         TOKEN( "http://purl.org/dc/elements/1.1/",      XML_N_DC ),
113         TOKEN( "svg",                       XML_NP_SVG ),
114         TOKEN( "http://www.w3.org/2000/svg",      XML_N_SVG ),
115         TOKEN( "form",                      XML_NP_FORM ),
116         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:form:1.0",      XML_N_FORM ),
117         TOKEN( "script",                    XML_NP_SCRIPT ),
118         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:script:1.0",      XML_N_SCRIPT ),
119         TOKEN( "tcd",                    XML_NP_TCD ),
120         TOKEN( "http://openoffice.org/2003/text-conversion-dictionary",      XML_N_TCD ),
121         TOKEN( "xforms",                                    XML_NP_XFORMS_1_0 ),
122         TOKEN( "http://www.w3.org/2002/xforms",             XML_N_XFORMS_1_0 ),
123         TOKEN( "xsd",                                       XML_NP_XSD ),
124         TOKEN( "http://www.w3.org/2001/XMLSchema",          XML_N_XSD ),
125         TOKEN( "xsi",                                       XML_NP_XSI ),
126         TOKEN( "http://www.w3.org/2001/XMLSchema-instance", XML_N_XSI ),
127 
128         TOKEN( "block-list",                XML_NP_BLOCK_LIST ),
129         TOKEN( "http://openoffice.org/2001/block-list",      XML_N_BLOCK_LIST ),
130 
131         TOKEN( "math",                      XML_NP_MATH ),
132         TOKEN( "http://www.w3.org/1998/Math/MathML",      XML_N_MATH ),
133 
134         TOKEN( "VL",                        XML_NP_VERSIONS_LIST ),
135         TOKEN( "http://openoffice.org/2001/versions-list",      XML_N_VERSIONS_LIST ),
136 
137         // erAck: 2008-04-09T20:12+0200  OpenFormula aka ODFF
138         TOKEN( "of",                    XML_NP_OF ),
139         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:of:1.2",  XML_N_OF ),
140 
141         // ODF 1.2 metadata: RDFa and GRDDL
142         TOKEN( "xhtml",                                 XML_NP_XHTML ),
143         TOKEN( "http://www.w3.org/1999/xhtml",          XML_N_XHTML ),
144         TOKEN( "grddl",                                 XML_NP_GRDDL ),
145         TOKEN( "http://www.w3.org/2003/g/data-view#",   XML_N_GRDDL ),
146 
147         // OOo extension digital signatures, used in ODF 1.1
148         TOKEN( "dsigooo", XML_NP_DSIG_OOO ),
149         TOKEN( "http://openoffice.org/2004/documentsignatures", XML_N_DSIG_OOO ),
150         // ODF 1.2 digital signature namespaces
151         TOKEN( "dsig", XML_NP_DSIG ),
152         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0", XML_N_DSIG ),
153         TOKEN( "ds", XML_NP_DS ),
154         TOKEN( "http://www.w3.org/2000/09/xmldsig#", XML_N_DS ),
155         TOKEN( "xades132", XML_NP_XADES132 ),
156         TOKEN( "http://uri.etsi.org/01903/v1.3.2#", XML_N_XADES132 ),
157         TOKEN( "xades141", XML_NP_XADES141 ),
158         TOKEN( "http://uri.etsi.org/01903/v1.4.1#", XML_N_XADES141 ),
159 
160         // ODF Enhanced namespaces
161         TOKEN( "officeooo", XML_NP_OFFICE_EXT ),
162         TOKEN( "http://openoffice.org/2009/office", XML_N_OFFICE_EXT ),
163 
164         // jonp: 2008-09-24 Excel Interop
165         TOKEN( "formx",                           XML_NP_FORMX ),
166         TOKEN( "urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0", XML_N_FORMX ),
167         TOKEN( "tableooo", XML_NP_TABLE_EXT ),
168         TOKEN( "http://openoffice.org/2009/table", XML_N_TABLE_EXT ),
169 
170         TOKEN( "drawooo", XML_NP_DRAW_EXT ),
171         TOKEN( "http://openoffice.org/2010/draw", XML_N_DRAW_EXT ),
172 
173         TOKEN( "css3t",                        XML_NP_CSS3TEXT ),
174         TOKEN( "http://www.w3.org/TR/css3-text/", XML_N_CSS3TEXT ),
175 
176         // extension namespace for calc extensions
177         TOKEN( "calcext",                         XML_NP_CALC_EXT ),
178         TOKEN( "urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0", XML_N_CALC_EXT ),
179         TOKEN( "loext",                           XML_NP_LO_EXT ),
180         TOKEN( "urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0", XML_N_LO_EXT ),
181 
182         TOKEN( "urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0",   XML_N_FIELD ),
183         TOKEN( "field",         XML_NP_FIELD ),
184 
185         // units
186         TOKEN( "m",                               XML_UNIT_M ),
187         TOKEN( "cm",                              XML_UNIT_CM ),
188         TOKEN( "pt",                              XML_UNIT_PT ),
189         TOKEN( "pc",                              XML_UNIT_PC ),
190         TOKEN( "ft",                              XML_UNIT_FOOT ),
191 
192         // any other
193         TOKEN( "1",                               XML_1 ),
194         TOKEN( "10",                              XML_10 ),
195         TOKEN( "2",                               XML_2 ),
196         TOKEN( "3",                               XML_3 ),
197         TOKEN( "4",                               XML_4 ),
198         TOKEN( "5",                               XML_5 ),
199         TOKEN( "6",                               XML_6 ),
200         TOKEN( "7",                               XML_7 ),
201         TOKEN( "8",                               XML_8 ),
202         TOKEN( "9",                               XML_9 ),
203         TOKEN( "A",                               XML_A_UPCASE ),
204         TOKEN( "I",                               XML_I_UPCASE ),
205         TOKEN( "IBM437",                          XML_IBM437 ),
206         TOKEN( "IBM850",                          XML_IBM850 ),
207         TOKEN( "IBM860",                          XML_IBM860 ),
208         TOKEN( "IBM861",                          XML_IBM861 ),
209         TOKEN( "IBM863",                          XML_IBM863 ),
210         TOKEN( "IBM865",                          XML_IBM865 ),
211         TOKEN( "ISO-8859-1",                      XML_ISO_8859_1 ),
212         TOKEN( "ole2",                            XML_OLE2 ),
213         TOKEN( ":",                               XML__COLON ),
214         TOKEN( "",                                XML__EMPTY ),
215         TOKEN( "_unknown_",                       XML__UNKNOWN_ ),
216 
217         TOKEN( "a",                               XML_A ),
218         TOKEN( "abbreviated-name",                XML_ABBREVIATED_NAME ),
219         TOKEN( "above",                           XML_ABOVE ),
220         TOKEN( "abs",                             XML_ABS ),
221         TOKEN( "accent",                          XML_ACCENT ),
222         TOKEN( "accentunder",                     XML_ACCENTUNDER ),
223         TOKEN( "acceptance-state",                XML_ACCEPTANCE_STATE ),
224         TOKEN( "accepted",                        XML_ACCEPTED ),
225         TOKEN( "action",                          XML_ACTION ),
226         TOKEN( "active",                          XML_ACTIVE ),
227         TOKEN( "active-split-range",              XML_ACTIVE_SPLIT_RANGE ),
228         TOKEN( "active-table",                    XML_ACTIVE_TABLE ),
229         TOKEN( "actuate",                         XML_ACTUATE ),
230         TOKEN( "add-in",                          XML_ADD_IN ),
231         TOKEN( "add-in-name",                     XML_ADD_IN_NAME ),
232         TOKEN( "address",                         XML_ADDRESS ),
233         TOKEN( "adjustment",                      XML_ADJUSTMENT ),
234         TOKEN( "algorithm",                       XML_ALGORITHM ),
235         TOKEN( "align",                           XML_ALIGN ),
236         TOKEN( "all",                             XML_ALL ),
237         TOKEN( "allow-empty-cell",                XML_ALLOW_EMPTY_CELL ),
238         TOKEN( "allow-deletes",                   XML_ALLOW_DELETES ),
239         TOKEN( "allow-inserts",                   XML_ALLOW_INSERTS ),
240         TOKEN( "allow-updates",                   XML_ALLOW_UPDATES ),
241         TOKEN( "alphabetical-index",              XML_ALPHABETICAL_INDEX ),
242         TOKEN( "alphabetical-index-auto-mark-file",       XML_ALPHABETICAL_INDEX_AUTO_MARK_FILE ),
243         TOKEN( "alphabetical-index-entry-template",       XML_ALPHABETICAL_INDEX_ENTRY_TEMPLATE ),
244         TOKEN( "alphabetical-index-mark",         XML_ALPHABETICAL_INDEX_MARK ),
245         TOKEN( "alphabetical-index-mark-end",     XML_ALPHABETICAL_INDEX_MARK_END ),
246         TOKEN( "alphabetical-index-mark-start",       XML_ALPHABETICAL_INDEX_MARK_START ),
247         TOKEN( "alphabetical-index-source",       XML_ALPHABETICAL_INDEX_SOURCE ),
248         TOKEN( "alphabetical-separators",         XML_ALPHABETICAL_SEPARATORS ),
249         TOKEN( "alternate",                       XML_ALTERNATE ),
250         TOKEN( "am-pm",                           XML_AM_PM ),
251         TOKEN( "ambient-color",                   XML_AMBIENT_COLOR ),
252         TOKEN( "anchor-page-number",              XML_ANCHOR_PAGE_NUMBER ),
253         TOKEN( "anchor-type",                     XML_ANCHOR_TYPE ),
254         TOKEN( "and",                             XML_AND ),
255         TOKEN( "animation",                       XML_ANIMATION ),
256         TOKEN( "animation-delay",                 XML_ANIMATION_DELAY ),
257         TOKEN( "animation-direction",             XML_ANIMATION_DIRECTION ),
258         TOKEN( "animation-repeat",                XML_ANIMATION_REPEAT ),
259         TOKEN( "animation-start-inside",          XML_ANIMATION_START_INSIDE ),
260         TOKEN( "animation-steps",                 XML_ANIMATION_STEPS ),
261         TOKEN( "animation-stop-inside",           XML_ANIMATION_STOP_INSIDE ),
262         TOKEN( "animations",                      XML_ANIMATIONS ),
263         TOKEN( "annotation",                      XML_ANNOTATION ),
264         TOKEN( "annotation-end",                  XML_ANNOTATION_END ),
265         TOKEN( "annotations",                     XML_ANNOTATIONS ),
266         TOKEN( "annote",                          XML_ANNOTE ),
267         TOKEN( "appear",                          XML_APPEAR ),
268         TOKEN( "applet",                          XML_APPLET ),
269         TOKEN( "applet-name",                     XML_APPLET_NAME ),
270         TOKEN( "application-data",                XML_APPLICATION_DATA ),
271         TOKEN( "application-xml",                 XML_APPLICATION_XML ),
272         TOKEN( "apply",                           XML_APPLY ),
273         TOKEN( "apply-design-mode",               XML_APPLY_DESIGN_MODE ),
274         TOKEN( "apply-style-name",                XML_APPLY_STYLE_NAME ),
275         TOKEN( "aqua",                            XML_AQUA ),
276         TOKEN( "arc",                             XML_ARC ),
277         TOKEN( "arccos",                          XML_ARCCOS ),
278         TOKEN( "archive",                         XML_ARCHIVE ),
279         TOKEN( "arcsin",                          XML_ARCSIN ),
280         TOKEN( "arctan",                          XML_ARCTAN ),
281         TOKEN( "area",                            XML_AREA ),
282         TOKEN( "area-circle",                     XML_AREA_CIRCLE ),
283         TOKEN( "area-polygon",                    XML_AREA_POLYGON ),
284         TOKEN( "area-rectangle",                  XML_AREA_RECTANGLE ),
285         TOKEN( "article",                         XML_ARTICLE ),
286         TOKEN( "as-char",                         XML_AS_CHAR ),
287         TOKEN( "ascending",                       XML_ASCENDING ),
288         TOKEN( "attached-axis",                   XML_ATTACHED_AXIS ),
289         TOKEN( "attractive",                      XML_ATTRACTIVE ),
290         TOKEN( "author",                          XML_AUTHOR ),
291         TOKEN( "author-initials",                 XML_AUTHOR_INITIALS ),
292         TOKEN( "author-name",                     XML_AUTHOR_NAME ),
293         TOKEN( "auto",                            XML_AUTO ),
294         TOKEN( "auto-complete",                   XML_AUTO_COMPLETE ),
295         TOKEN( "auto-grow-height",                XML_AUTO_GROW_HEIGHT ),
296         TOKEN( "auto-grow-width",                 XML_AUTO_GROW_WIDTH ),
297         TOKEN( "auto-reload",                     XML_AUTO_RELOAD ),
298         TOKEN( "auto-text",                       XML_AUTO_TEXT ),
299         TOKEN( "auto-text-events",                XML_AUTO_TEXT_EVENTS ),
300         TOKEN( "auto-text-group",                 XML_AUTO_TEXT_GROUP ),
301         TOKEN( "auto-text-indent",                XML_AUTO_TEXT_INDENT ),
302         TOKEN( "auto-update",                     XML_AUTO_UPDATE ),
303         TOKEN( "automatic",                       XML_AUTOMATIC ),
304         TOKEN( "automatic-find-labels",           XML_AUTOMATIC_FIND_LABELS ),
305         TOKEN( "automatic-focus",                 XML_AUTOMATIC_FOCUS ),
306         TOKEN( "automatic-order",                 XML_AUTOMATIC_ORDER ),
307         TOKEN( "automatic-styles",                XML_AUTOMATIC_STYLES ),
308         TOKEN( "automatic-update",                XML_AUTOMATIC_UPDATE ),
309         TOKEN( "autosize",                        XML_AUTOSIZE ),
310         TOKEN( "average",                         XML_AVERAGE ),
311         TOKEN( "averaged-abscissa",               XML_AVERAGED_ABSCISSA ),
312         TOKEN( "axis",                            XML_AXIS ),
313         TOKEN( "axis-color",                      XML_AXIS_COLOR ),
314         TOKEN( "back-scale",                      XML_BACK_SCALE ),
315         TOKEN( "backface-culling",                XML_BACKFACE_CULLING ),
316         TOKEN( "background",                      XML_BACKGROUND ),
317         TOKEN( "background-color",                XML_BACKGROUND_COLOR ),
318         TOKEN( "background-image",                XML_BACKGROUND_IMAGE ),
319         TOKEN( "no-repeat",                       XML_BACKGROUND_NO_REPEAT ),
320         TOKEN( "bar",                             XML_BAR ),
321         TOKEN( "base64Binary",                    XML_BASE64BINARY ),
322         TOKEN( "base-cell-address",               XML_BASE_CELL_ADDRESS ),
323         TOKEN( "baseline",                        XML_BASELINE ),
324         TOKEN( "before-date-time",                XML_BEFORE_DATE_TIME ),
325         TOKEN( "below",                           XML_BELOW ),
326         TOKEN( "between-date-times",              XML_BETWEEN_DATE_TIMES ),
327         TOKEN( "bevel",                           XML_BEVEL ),
328         TOKEN( "bevelled",                        XML_BEVELLED ),
329         TOKEN( "bibiliographic-type",             XML_BIBILIOGRAPHIC_TYPE ),
330         TOKEN( "bibliography",                    XML_BIBLIOGRAPHY ),
331         TOKEN( "bibliography-configuration",      XML_BIBLIOGRAPHY_CONFIGURATION ),
332         TOKEN( "bibliography-data-field",         XML_BIBLIOGRAPHY_DATA_FIELD ),
333         TOKEN( "bibliography-entry-template",     XML_BIBLIOGRAPHY_ENTRY_TEMPLATE ),
334         TOKEN( "bibliography-mark",               XML_BIBLIOGRAPHY_MARK ),
335         TOKEN( "bibliography-source",             XML_BIBLIOGRAPHY_SOURCE ),
336         TOKEN( "bibliography-type",               XML_BIBLIOGRAPHY_TYPE ),
337         TOKEN( "bind-styles-to-content",          XML_BIND_STYLES_TO_CONTENT ),
338         TOKEN( "bitmap",                          XML_BITMAP ),
339         TOKEN( "bitmap-table",                    XML_BITMAP_TABLE ),
340         TOKEN( "black",                           XML_BLACK ),
341         TOKEN( "blend",                           XML_BLEND ),
342         TOKEN( "blinking",                        XML_BLINKING ),
343         TOKEN( "block",                           XML_BLOCK ),
344         TOKEN( "block-list",                      XML_BLOCK_LIST ),
345         TOKEN( "blue",                            XML_BLUE ),
346         TOKEN( "body",                            XML_BODY ),
347         TOKEN( "bold",                            XML_BOLD ),
348         TOKEN( "book",                            XML_BOOK ),
349         TOKEN( "booklet",                         XML_BOOKLET ),
350         TOKEN( "bookmark",                        XML_BOOKMARK ),
351         TOKEN( "bookmark-end",                    XML_BOOKMARK_END ),
352         TOKEN( "bookmark-ref",                    XML_BOOKMARK_REF ),
353         TOKEN( "bookmark-start",                  XML_BOOKMARK_START ),
354         TOKEN( "booktitle",                       XML_BOOKTITLE ),
355         TOKEN( "boolean",                         XML_BOOLEAN ),
356         TOKEN( "boolean-style",                   XML_BOOLEAN_STYLE ),
357         TOKEN( "boolean-value",                   XML_BOOLEAN_VALUE ),
358         TOKEN( "border",                          XML_BORDER ),
359         TOKEN( "border-bottom",                   XML_BORDER_BOTTOM ),
360         TOKEN( "border-color",                    XML_BORDER_COLOR ),
361         TOKEN( "border-left",                     XML_BORDER_LEFT ),
362         TOKEN( "border-line-width",               XML_BORDER_LINE_WIDTH ),
363         TOKEN( "border-line-width-bottom",        XML_BORDER_LINE_WIDTH_BOTTOM ),
364         TOKEN( "border-line-width-left",          XML_BORDER_LINE_WIDTH_LEFT ),
365         TOKEN( "border-line-width-right",         XML_BORDER_LINE_WIDTH_RIGHT ),
366         TOKEN( "border-line-width-top",           XML_BORDER_LINE_WIDTH_TOP ),
367         TOKEN( "border-right",                    XML_BORDER_RIGHT ),
368         TOKEN( "border-top",                      XML_BORDER_TOP ),
369         TOKEN( "both",                            XML_BOTH ),
370         TOKEN( "bottom",                          XML_BOTTOM ),
371         TOKEN( "bottom-left",                     XML_BOTTOM_LEFT ),
372         TOKEN( "bottom percent",                  XML_BOTTOM_PERCENT ),
373         TOKEN( "bottom-right",                    XML_BOTTOM_RIGHT ),
374         TOKEN( "bottom values",                   XML_BOTTOM_VALUES ),
375         TOKEN( "bottom-arc",                      XML_BOTTOMARC ),
376         TOKEN( "bottom-circle",                   XML_BOTTOMCIRCLE ),
377         TOKEN( "bound-column",                    XML_BOUND_COLUMN ),
378         TOKEN( "break-after",                     XML_BREAK_AFTER ),
379         TOKEN( "break-before",                    XML_BREAK_BEFORE ),
380         TOKEN( "break-inside",                    XML_BREAK_INSIDE ),
381         TOKEN( "bubble",                          XML_BUBBLE ),
382         TOKEN( "bullet-char",                     XML_BULLET_CHAR ),
383         TOKEN( "bullet-relative-size",            XML_BULLET_RELATIVE_SIZE ),
384         TOKEN( "butt",                            XML_BUTT ),
385         TOKEN( "button1",                         XML_BUTTON1 ),
386         TOKEN( "button2",                         XML_BUTTON2 ),
387         TOKEN( "button3",                         XML_BUTTON3 ),
388         TOKEN( "button4",                         XML_BUTTON4 ),
389         TOKEN( "buttons",                         XML_BUTTONS ),
390         TOKEN( "button-type",                     XML_BUTTON_TYPE ),
391         TOKEN( "bvar",                            XML_BVAR ),
392         TOKEN( "c",                               XML_C ),
393         TOKEN( "calculation-settings",            XML_CALCULATION_SETTINGS ),
394         TOKEN( "calendar",                        XML_CALENDAR ),
395         TOKEN( "capitalize-entries",              XML_CAPITALIZE_ENTRIES ),
396         TOKEN( "can-add-comment",                 XML_CAN_ADD_COMMENT ),
397         TOKEN( "caption",                         XML_CAPTION ),
398         TOKEN( "caption-point-x",                 XML_CAPTION_POINT_X ),
399         TOKEN( "caption-point-y",                 XML_CAPTION_POINT_Y ),
400         TOKEN( "caption-sequence-format",         XML_CAPTION_SEQUENCE_FORMAT ),
401         TOKEN( "caption-sequence-name",           XML_CAPTION_SEQUENCE_NAME ),
402         TOKEN( "case-sensitive",                  XML_CASE_SENSITIVE ),
403         TOKEN( "capitalize",                      XML_CASEMAP_CAPITALIZE ),
404         TOKEN( "lowercase",                       XML_CASEMAP_LOWERCASE ),
405         TOKEN( "small-caps",                      XML_CASEMAP_SMALL_CAPS ),
406         TOKEN( "uppercase",                       XML_CASEMAP_UPPERCASE ),
407         TOKEN( "categories",                      XML_CATEGORIES ),
408         TOKEN( "category",                        XML_CATEGORY ),
409         TOKEN( "category-and-value",              XML_CATEGORY_AND_VALUE ),
410         TOKEN( "cell-address",                    XML_CELL_ADDRESS ),
411         TOKEN( "cell-content-change",             XML_CELL_CONTENT_CHANGE ),
412         TOKEN( "cell-content-deletion",           XML_CELL_CONTENT_DELETION ),
413         TOKEN( "cell-count",                      XML_CELL_COUNT ),
414         TOKEN( "cell-protect",                    XML_CELL_PROTECT ),
415         TOKEN( "cell-range-address",              XML_CELL_RANGE_ADDRESS ),
416         TOKEN( "cell-range-address-list",         XML_CELL_RANGE_ADDRESS_LIST ),
417         TOKEN( "cell-range-source",               XML_CELL_RANGE_SOURCE ),
418         TOKEN( "center",                          XML_CENTER ),
419         TOKEN( "central",                         XML_CENTRAL ),
420         TOKEN( "chain-next-name",                 XML_CHAIN_NEXT_NAME ),
421         TOKEN( "change",                          XML_CHANGE ),
422         TOKEN( "change-deletion",                 XML_CHANGE_DELETION ),
423         TOKEN( "change-end",                      XML_CHANGE_END ),
424         TOKEN( "change-id",                       XML_CHANGE_ID ),
425         TOKEN( "change-info",                     XML_CHANGE_INFO ),
426         TOKEN( "change-start",                    XML_CHANGE_START ),
427         TOKEN( "change-track-table-cell",         XML_CHANGE_TRACK_TABLE_CELL ),
428         TOKEN( "change-view-conditions",          XML_CHANGE_VIEW_CONDITIONS ),
429         TOKEN( "change-view-settings",            XML_CHANGE_VIEW_SETTINGS ),
430         TOKEN( "changed-region",                  XML_CHANGED_REGION ),
431         TOKEN( "chapter",                         XML_CHAPTER ),
432         TOKEN( "char",                            XML_CHAR ),
433         TOKEN( "char-shading-value",              XML_CHAR_SHADING_VALUE ),
434         TOKEN( "character-count",                 XML_CHARACTER_COUNT ),
435         TOKEN( "chart",                           XML_CHART ),
436         TOKEN( "charts",                          XML_CHARTS ),
437         TOKEN( "checkerboard",                    XML_CHECKERBOARD ),
438         TOKEN( "chg-author",                      XML_CHG_AUTHOR ),
439         TOKEN( "chg-comment",                     XML_CHG_COMMENT ),
440         TOKEN( "chg-date-time",                   XML_CHG_DATE_TIME ),
441         TOKEN( "ci",                              XML_CI ),
442         TOKEN( "circle",                          XML_CIRCLE ),
443         TOKEN( "citation-body-style-name",        XML_CITATION_BODY_STYLE_NAME ),
444         TOKEN( "citation-style-name",             XML_CITATION_STYLE_NAME ),
445         TOKEN( "class",                           XML_CLASS ),
446         TOKEN( "class-id",                        XML_CLASS_ID ),
447         TOKEN( "clip",                            XML_CLIP ),
448         TOKEN( "clockwise",                       XML_CLOCKWISE ),
449         TOKEN( "close",                           XML_CLOSE ),
450         TOKEN( "close-horizontal",                XML_CLOSE_HORIZONTAL ),
451         TOKEN( "close-vertical",                  XML_CLOSE_VERTICAL ),
452         TOKEN( "cn",                              XML_CN ),
453         TOKEN( "code",                            XML_CODE ),
454         TOKEN( "codebase",                        XML_CODEBASE ),
455         TOKEN( "collapse",                        XML_COLLAPSE ),
456         TOKEN( "color",                           XML_COLOR ),
457         TOKEN( "color-inversion",                 XML_COLOR_INVERSION ),
458         TOKEN( "color-mode",                      XML_COLOR_MODE ),
459         TOKEN( "color-scale",                     XML_COLOR_SCALE ),
460         TOKEN( "color-scale-entry",               XML_COLOR_SCALE_ENTRY ),
461         TOKEN( "color-table",                     XML_COLOR_TABLE ),
462         TOKEN( "column",                          XML_COLUMN ),
463         TOKEN( "column-count",                    XML_COLUMN_COUNT ),
464         TOKEN( "column-gap",                      XML_COLUMN_GAP ),
465         TOKEN( "column-name",                     XML_COLUMN_NAME ),
466         TOKEN( "column-sep",                      XML_COLUMN_SEP ),
467         TOKEN( "column-width",                    XML_COLUMN_WIDTH ),
468         TOKEN( "columnalign",                     XML_COLUMNALIGN ),
469         TOKEN( "columns",                         XML_COLUMNS ),
470         TOKEN( "avoid",                           XML_COLUMNSPLIT_AVOID ),
471         TOKEN( "combine-entries",                 XML_COMBINE_ENTRIES ),
472         TOKEN( "combine-entries-with-dash",       XML_COMBINE_ENTRIES_WITH_DASH ),
473         TOKEN( "combine-entries-with-pp",         XML_COMBINE_ENTRIES_WITH_PP ),
474         TOKEN( "comma-separated",                 XML_COMMA_SEPARATED ),
475         TOKEN( "command",                         XML_COMMAND ),
476         TOKEN( "comment",                         XML_COMMENT ),
477         TOKEN( "compose",                         XML_COMPOSE ),
478         TOKEN( "cond-style-name",                 XML_COND_STYLE_NAME ),
479         TOKEN( "condition",                       XML_CONDITION ),
480         TOKEN( "condition-source",                XML_CONDITION_SOURCE ),
481         TOKEN( "condition-source-range-address",      XML_CONDITION_SOURCE_RANGE_ADDRESS ),
482         TOKEN( "conditional-text",                XML_CONDITIONAL_TEXT ),
483         TOKEN( "conditional-format",              XML_CONDITIONAL_FORMAT ),
484         TOKEN( "conditional-formats",             XML_CONDITIONAL_FORMATS ),
485         TOKEN( "cone",                            XML_CONE ),
486         TOKEN( "conference",                      XML_CONFERENCE ),
487         TOKEN( "config-item",                     XML_CONFIG_ITEM ),
488         TOKEN( "config-item-map-entry",           XML_CONFIG_ITEM_MAP_ENTRY ),
489         TOKEN( "config-item-map-indexed",         XML_CONFIG_ITEM_MAP_INDEXED ),
490         TOKEN( "config-item-map-named",           XML_CONFIG_ITEM_MAP_NAMED ),
491         TOKEN( "config-item-set",                 XML_CONFIG_ITEM_SET ),
492         TOKEN( "configuration-settings",          XML_CONFIGURATION_SETTINGS ),
493         TOKEN( "conjugate",                       XML_CONJUGATE ),
494         TOKEN( "connect-bars",                    XML_CONNECT_BARS ),
495         TOKEN( "connection-name",                 XML_CONNECTION_NAME ),
496         TOKEN( "connector",                       XML_CONNECTOR ),
497         TOKEN( "consecutive-numbering",           XML_CONSECUTIVE_NUMBERING ),
498         TOKEN( "consolidation",                   XML_CONSOLIDATION ),
499         TOKEN( "constant",                        XML_CONSTANT ),
500         TOKEN( "contains-error",                  XML_CONTAINS_ERROR ),
501         TOKEN( "contains-header",                 XML_CONTAINS_HEADER ),
502         TOKEN( "content",                         XML_CONTENT ),
503         TOKEN( "content-validation",              XML_CONTENT_VALIDATION ),
504         TOKEN( "content-validation-name",         XML_CONTENT_VALIDATION_NAME ),
505         TOKEN( "content-validations",             XML_CONTENT_VALIDATIONS ),
506         TOKEN( "contextual-spacing",              XML_CONTEXTUAL_SPACING ),
507         TOKEN( "continue",                        XML_CONTINUE ),
508         TOKEN( "continue-numbering",              XML_CONTINUE_NUMBERING ),
509         TOKEN( "contour-path",                    XML_CONTOUR_PATH ),
510         TOKEN( "contour-polygon",                 XML_CONTOUR_POLYGON ),
511         TOKEN( "contrast",                        XML_CONTRAST ),
512         TOKEN( "control",                         XML_CONTROL ),
513         TOKEN( "conversion-mode",                 XML_CONVERSION_MODE ),
514         TOKEN( "conversion-type",                 XML_CONVERSION_TYPE ),
515         TOKEN( "convert-empty-to-null",           XML_CONVERT_EMPTY_TO_NULL ),
516         TOKEN( "copy-back",                       XML_COPY_BACK ),
517         TOKEN( "copy-formulas",                   XML_COPY_FORMULAS ),
518         TOKEN( "copy-outline-levels",             XML_COPY_OUTLINE_LEVELS ),
519         TOKEN( "copy-results-only",               XML_COPY_RESULTS_ONLY ),
520         TOKEN( "copy-styles",                     XML_COPY_STYLES ),
521         TOKEN( "corner-radius",                   XML_CORNER_RADIUS ),
522         TOKEN( "correct",                         XML_CORRECT ),
523         TOKEN( "cos",                             XML_COS ),
524         TOKEN( "cosh",                            XML_COSH ),
525         TOKEN( "cot",                             XML_COT ),
526         TOKEN( "coth",                            XML_COTH ),
527         TOKEN( "count",                           XML_COUNT ),
528         TOKEN( "count-empty-lines",               XML_COUNT_EMPTY_LINES ),
529         TOKEN( "count-in-floating-frames",        XML_COUNT_IN_FLOATING_FRAMES ),
530         TOKEN( "counter-clockwise",               XML_COUNTER_CLOCKWISE ),
531         TOKEN( "counterclockwise",                XML_COUNTERCLOCKWISE ),
532         TOKEN( "countnums",                       XML_COUNTNUMS ),
533         TOKEN( "country",                         XML_COUNTRY ),
534         TOKEN( "country-asian",                   XML_COUNTRY_ASIAN ),
535         TOKEN( "country-complex",                 XML_COUNTRY_COMPLEX ),
536         TOKEN( "covered-table-cell",              XML_COVERED_TABLE_CELL ),
537         TOKEN( "create-date",                     XML_CREATE_DATE ),
538         TOKEN( "create-date-string",              XML_CREATE_DATE_STRING ),
539         TOKEN( "creation-date",                   XML_CREATION_DATE ),
540         TOKEN( "creation-time",                   XML_CREATION_TIME ),
541         TOKEN( "creator",                         XML_CREATOR ),
542         TOKEN( "csc",                             XML_CSC ),
543         TOKEN( "csch",                            XML_CSCH ),
544         TOKEN( "cube",                            XML_CUBE ),
545         TOKEN( "cuboid",                          XML_CUBOID ),
546         TOKEN( "currency",                        XML_CURRENCY ),
547         TOKEN( "currency-style",                  XML_CURRENCY_STYLE ),
548         TOKEN( "currency-symbol",                 XML_CURRENCY_SYMBOL ),
549         TOKEN( "current",                         XML_CURRENT ),
550         TOKEN( "current-value",                   XML_CURRENT_VALUE ),
551         TOKEN( "cursor-position",                 XML_CURSOR_POSITION ),
552         TOKEN( "cursor-position-x",               XML_CURSOR_POSITION_X ),
553         TOKEN( "cursor-position-y",               XML_CURSOR_POSITION_Y ),
554         TOKEN( "curve",                           XML_CURVE ),
555         TOKEN( "custom1",                         XML_CUSTOM1 ),
556         TOKEN( "custom2",                         XML_CUSTOM2 ),
557         TOKEN( "custom3",                         XML_CUSTOM3 ),
558         TOKEN( "custom4",                         XML_CUSTOM4 ),
559         TOKEN( "custom5",                         XML_CUSTOM5 ),
560         TOKEN( "custom-iconset",                  XML_CUSTOM_ICONSET ),
561         TOKEN( "custom-iconset-index",            XML_CUSTOM_ICONSET_INDEX ),
562         TOKEN( "custom-iconset-name",             XML_CUSTOM_ICONSET_NAME ),
563         TOKEN( "custom-label-field",              XML_CUSTOM_LABEL_FIELD ),
564         TOKEN( "custom-label-pos-x",              XML_CUSTOM_LABEL_POS_X ),
565         TOKEN( "custom-label-pos-y",              XML_CUSTOM_LABEL_POS_Y ),
566         TOKEN( "custom-leader-lines",             XML_CUSTOM_LEADERLINES ),
567         TOKEN( "cut",                             XML_CUT ),
568         TOKEN( "cut-offs",                        XML_CUT_OFFS ),
569         TOKEN( "cut_offs",                        XML_CUT_OFFS2 ),
570         TOKEN( "cx",                              XML_CX ),
571         TOKEN( "cy",                              XML_CY ),
572         TOKEN( "cylinder",                        XML_CYLINDER ),
573         TOKEN( "d",                               XML_D ),
574         TOKEN( "dash",                            XML_DASH ),
575         TOKEN( "dash-dot",                        XML_DASH_DOT ),
576         TOKEN( "dash-dot-dot",                    XML_DASH_DOT_DOT ),
577         TOKEN( "dash-table",                      XML_DASH_TABLE ),
578         TOKEN( "dashed",                          XML_DASHED ),
579         TOKEN( "data",                            XML_DATA ),
580         TOKEN( "data-bar",                        XML_DATA_BAR ),
581         TOKEN( "data-bar-entry",                  XML_DATA_BAR_ENTRY ),
582         TOKEN( "data-cell-range-address",         XML_DATA_CELL_RANGE_ADDRESS ),
583         TOKEN( "data-label",                      XML_DATA_LABEL ),
584         TOKEN( "data-label-number",               XML_DATA_LABEL_NUMBER ),
585         TOKEN( "data-label-symbol",               XML_DATA_LABEL_SYMBOL ),
586         TOKEN( "data-label-text",                 XML_DATA_LABEL_TEXT ),
587         TOKEN( "data-label-series",               XML_DATA_LABEL_SERIES ),
588         TOKEN( "data-pilot-source",               XML_DATA_PILOT_SOURCE ),
589         TOKEN( "data-pilot-field",                XML_DATA_PILOT_FIELD ),
590         TOKEN( "data-pilot-grand-total",          XML_DATA_PILOT_GRAND_TOTAL ),
591         TOKEN( "data-pilot-level",                XML_DATA_PILOT_LEVEL ),
592         TOKEN( "data-pilot-member",               XML_DATA_PILOT_MEMBER ),
593         TOKEN( "data-pilot-members",              XML_DATA_PILOT_MEMBERS ),
594         TOKEN( "data-pilot-subtotal",             XML_DATA_PILOT_SUBTOTAL ),
595         TOKEN( "data-pilot-subtotals",            XML_DATA_PILOT_SUBTOTALS ),
596         TOKEN( "data-pilot-table",                XML_DATA_PILOT_TABLE ),
597         TOKEN( "data-pilot-tables",               XML_DATA_PILOT_TABLES ),
598         TOKEN( "data-point",                      XML_DATA_POINT ),
599         TOKEN( "data-stream-source",              XML_DATA_STREAM_SOURCE ),
600         TOKEN( "data-style",                      XML_DATA_STYLE ),
601         TOKEN( "data-style-name",                 XML_DATA_STYLE_NAME ),
602         TOKEN( "data-type",                       XML_DATA_TYPE ),
603         TOKEN( "database-display",                XML_DATABASE_DISPLAY ),
604         TOKEN( "database-name",                   XML_DATABASE_NAME ),
605         TOKEN( "database-next",                   XML_DATABASE_NEXT ),
606         TOKEN( "database-range",                  XML_DATABASE_RANGE ),
607         TOKEN( "database-ranges",                 XML_DATABASE_RANGES ),
608         TOKEN( "database-row-number",             XML_DATABASE_ROW_NUMBER ),
609         TOKEN( "database-select",                 XML_DATABASE_SELECT ),
610         TOKEN( "database-source-query",           XML_DATABASE_SOURCE_QUERY ),
611         TOKEN( "database-source-sql",             XML_DATABASE_SOURCE_SQL ),
612         TOKEN( "database-source-table",           XML_DATABASE_SOURCE_TABLE ),
613         TOKEN( "database-table-name",             XML_DATABASE_TABLE_NAME ),
614         TOKEN( "date",                            XML_DATE ),
615         TOKEN( "date-is",                         XML_DATE_IS ),
616         TOKEN( "date-adjust",                     XML_DATE_ADJUST ),
617         TOKEN( "date-style",                      XML_DATE_STYLE ),
618         TOKEN( "date-time",                       XML_DATE_TIME ),
619         TOKEN( "date-time-update",                XML_DATE_TIME_UPDATE ),
620         TOKEN( "date-time-visible",               XML_DATE_TIME_VISIBLE ),
621         TOKEN( "date-value",                      XML_DATE_VALUE ),
622         TOKEN( "datetime",                        XML_DATETIME ),
623         TOKEN( "day",                             XML_DAY ),
624         TOKEN( "day-of-week",                     XML_DAY_OF_WEEK ),
625         TOKEN( "dde-application",                 XML_DDE_APPLICATION ),
626         TOKEN( "dde-connection",                  XML_DDE_CONNECTION ),
627         TOKEN( "dde-connection-decl",             XML_DDE_CONNECTION_DECL ),
628         TOKEN( "dde-connection-decls",            XML_DDE_CONNECTION_DECLS ),
629         TOKEN( "dde-item",                        XML_DDE_ITEM ),
630         TOKEN( "dde-link",                        XML_DDE_LINK ),
631         TOKEN( "dde-links",                       XML_DDE_LINKS ),
632         TOKEN( "dde-source",                      XML_DDE_SOURCE ),
633         TOKEN( "dde-topic",                       XML_DDE_TOPIC ),
634         TOKEN( "decimal-places",                  XML_DECIMAL_PLACES ),
635         TOKEN( "decimal-replacement",             XML_DECIMAL_REPLACEMENT ),
636         TOKEN( "declare",                         XML_DECLARE ),
637         TOKEN( "decorate-words-only",             XML_DECORATE_WORDS_ONLY ),
638         TOKEN( "decorative",                      XML_DECORATIVE ),
639         TOKEN( "deep",                            XML_DEEP ),
640         TOKEN( "default",                         XML_DEFAULT ),
641         TOKEN( "default-button",                  XML_DEFAULT_BUTTON ),
642         TOKEN( "default-cell-style-name",         XML_DEFAULT_CELL_STYLE_NAME ),
643         TOKEN( "default-style",                   XML_DEFAULT_STYLE ),
644         TOKEN( "default-style-name",              XML_DEFAULT_STYLE_NAME ),
645         TOKEN( "degree",                          XML_DEGREE ),
646         TOKEN( "delay",                           XML_DELAY ),
647         TOKEN( "delay-for-repeat",                XML_DELAY_FOR_REPEAT ),
648         TOKEN( "delete-columns",                  XML_DELETE_COLUMNS ),
649         TOKEN( "delete-rows",                     XML_DELETE_ROWS ),
650         TOKEN( "deletion",                        XML_DELETION ),
651         TOKEN( "deletions",                       XML_DELETIONS ),
652         TOKEN( "denomalign"       ,               XML_DENOMALIGN ),
653         TOKEN( "denominator-value",               XML_DENOMINATOR_VALUE ),
654         TOKEN( "dependence",                      XML_DEPENDENCE ),
655         TOKEN( "dependences",                     XML_DEPENDENCES ),
656         TOKEN( "dependencies",                    XML_DEPENDENCIES ),
657         TOKEN( "depth",                           XML_DEPTH ),
658         TOKEN( "desc",                            XML_DESC ),
659         TOKEN( "descending",                      XML_DESCENDING ),
660         TOKEN( "description",                     XML_DESCRIPTION ),
661         TOKEN( "detective",                       XML_DETECTIVE ),
662         TOKEN( "determinant",                     XML_DETERMINANT ),
663         TOKEN( "diff",                            XML_DIFF ),
664         TOKEN( "diffuse-color",                   XML_DIFFUSE_COLOR ),
665         TOKEN( "dim",                             XML_DIM ),
666         TOKEN( "direction",                       XML_DIRECTION ),
667         TOKEN( "disabled",                        XML_DISABLED ),
668         TOKEN( "disc",                            XML_DISC ),
669         TOKEN( "display",                         XML_DISPLAY ),
670         TOKEN( "display-border",                  XML_DISPLAY_BORDER ),
671         TOKEN( "display-details",                 XML_DISPLAY_DETAILS ),
672         TOKEN( "display-duplicates",              XML_DISPLAY_DUPLICATES ),
673         TOKEN( "display-empty",                   XML_DISPLAY_EMPTY ),
674         TOKEN( "display-filter-buttons",          XML_DISPLAY_FILTER_BUTTONS ),
675         TOKEN( "display-formula",                 XML_DISPLAY_FORMULA ),
676         TOKEN( "display-label",                   XML_DISPLAY_LABEL ),
677         TOKEN( "display-levels",                  XML_DISPLAY_LEVELS ),
678         TOKEN( "display-name",                    XML_DISPLAY_NAME ),
679         TOKEN( "display-outline-level",           XML_DISPLAY_OUTLINE_LEVEL ),
680         TOKEN( "dissolve",                        XML_DISSOLVE ),
681         TOKEN( "distance",                        XML_DISTANCE ),
682         TOKEN( "distance-after-sep",              XML_DISTANCE_AFTER_SEP ),
683         TOKEN( "distance-before-sep",             XML_DISTANCE_BEFORE_SEP ),
684         TOKEN( "distribute",                      XML_DISTRIBUTE ),
685         TOKEN( "distribute-letter",               XML_DISTRIBUTE_LETTER ),
686         TOKEN( "distribute-space",                XML_DISTRIBUTE_SPACE ),
687         TOKEN( "divide",                          XML_DIVIDE ),
688         TOKEN( "document",                        XML_DOCUMENT ),
689         TOKEN( "document-content",                XML_DOCUMENT_CONTENT ),
690         TOKEN( "document-meta",                   XML_DOCUMENT_META ),
691         TOKEN( "document-settings",               XML_DOCUMENT_SETTINGS ),
692         TOKEN( "document-statistic",              XML_DOCUMENT_STATISTIC ),
693         TOKEN( "document-styles",                 XML_DOCUMENT_STYLES ),
694         TOKEN( "domain",                          XML_DOMAIN ),
695         TOKEN( "dot",                             XML_DOT ),
696         TOKEN( "dots1",                           XML_DOTS1 ),
697         TOKEN( "dots1-length",                    XML_DOTS1_LENGTH ),
698         TOKEN( "dots2",                           XML_DOTS2 ),
699         TOKEN( "dots2-length",                    XML_DOTS2_LENGTH ),
700         TOKEN( "dotted",                          XML_DOTTED ),
701         TOKEN( "double",                          XML_DOUBLE ),
702         TOKEN( "double-sided",                    XML_DOUBLE_SIDED ),
703         TOKEN( "double-thin",                     XML_DOUBLE_THIN ),
704         TOKEN( "down",                            XML_DOWN ),
705         TOKEN( "draft",                           XML_DRAFT ),
706         TOKEN( "draw",                            XML_DRAW ),
707         TOKEN( "ole-draw-aspect",                 XML_DRAW_ASPECT ),
708         TOKEN( "drawing",                         XML_DRAWING ),
709         TOKEN( "drawings",                        XML_DRAWINGS ),
710         TOKEN( "drawpool",                        XML_DRAWPOOL ),
711         TOKEN( "dropdown",                        XML_DROPDOWN ),
712         TOKEN( "drop-cap",                        XML_DROP_CAP ),
713         TOKEN( "dynamic",                         XML_DYNAMIC ),
714         TOKEN( "echo-char",                       XML_ECHO_CHAR ),
715         TOKEN( "edge-rounding",                   XML_EDGE_ROUNDING ),
716         TOKEN( "editable",                        XML_EDITABLE ),
717         TOKEN( "editing-cycles",                  XML_EDITING_CYCLES ),
718         TOKEN( "editing-duration",                XML_EDITING_DURATION ),
719         TOKEN( "edition",                         XML_EDITION ),
720         TOKEN( "editor",                          XML_EDITOR ),
721         TOKEN( "effect",                          XML_EFFECT ),
722         TOKEN( "ellipse",                         XML_ELLIPSE ),
723         TOKEN( "email",                           XML_EMAIL ),
724         TOKEN( "embed",                           XML_EMBED ),
725         TOKEN( "embedded-visible-area",           XML_EMBEDDED_VISIBLE_AREA ),
726         TOKEN( "embossed",                        XML_EMBOSSED ),
727         TOKEN( "emissive-color",                  XML_EMISSIVE_COLOR ),
728         TOKEN( "empty",                           XML_EMPTY ),
729         TOKEN( "empty-line-refresh",              XML_EMPTY_LINE_REFRESH ),
730         TOKEN( "enable-numbering",                XML_ENABLE_NUMBERING ),
731         TOKEN( "enabled",                         XML_ENABLED ),
732         TOKEN( "encoding",                        XML_ENCODING ),
733         TOKEN( "enctype",                         XML_ENCTYPE ),
734         TOKEN( "end",                             XML_END ),
735         TOKEN( "end-angle",                       XML_END_ANGLE ),
736         TOKEN( "end-cell-address",                XML_END_CELL_ADDRESS ),
737         TOKEN( "end-color",                       XML_END_COLOR ),
738         TOKEN( "end-column",                      XML_END_COLUMN ),
739         TOKEN( "end-glue-point",                  XML_END_GLUE_POINT ),
740         TOKEN( "end-guide",                       XML_END_GUIDE ),
741         TOKEN( "end-intensity",                   XML_END_INTENSITY ),
742         TOKEN( "end-line-spacing-horizontal",     XML_END_LINE_SPACING_HORIZONTAL ),
743         TOKEN( "end-line-spacing-vertical",       XML_END_LINE_SPACING_VERTICAL ),
744         TOKEN( "end-position",                    XML_END_POSITION ),
745         TOKEN( "end-row",                         XML_END_ROW ),
746         TOKEN( "end-shape",                       XML_END_SHAPE ),
747         TOKEN( "end-table",                       XML_END_TABLE ),
748         TOKEN( "end-x",                           XML_END_X ),
749         TOKEN( "end-y",                           XML_END_Y ),
750         TOKEN( "endless",                         XML_ENDLESS ),
751         TOKEN( "endnote",                         XML_ENDNOTE ),
752         TOKEN( "endnote-body",                    XML_ENDNOTE_BODY ),
753         TOKEN( "endnote-citation",                XML_ENDNOTE_CITATION ),
754         TOKEN( "endnote-ref",                     XML_ENDNOTE_REF ),
755         TOKEN( "endnotes-configuration",          XML_ENDNOTES_CONFIGURATION ),
756         TOKEN( "engraved",                        XML_ENGRAVED ),
757         TOKEN( "entry",                           XML_ENTRY ),
758         TOKEN( "eq",                              XML_EQ ),
759         TOKEN( "equal-author",                    XML_EQUAL_AUTHOR ),
760         TOKEN( "equal-comment",                   XML_EQUAL_COMMENT ),
761         TOKEN( "equal-date",                      XML_EQUAL_DATE ),
762         TOKEN( "era",                             XML_ERA ),
763         TOKEN( "ergo-sum",                        XML_ERGO_SUM ),
764         TOKEN( "error-category",                  XML_ERROR_CATEGORY ),
765         TOKEN( "error-lower-indicator",           XML_ERROR_LOWER_INDICATOR ),
766         TOKEN( "error-lower-limit",               XML_ERROR_LOWER_LIMIT ),
767         TOKEN( "error-macro",                     XML_ERROR_MACRO ),
768         TOKEN( "error-margin",                    XML_ERROR_MARGIN ),
769         TOKEN( "error-message",                   XML_ERROR_MESSAGE ),
770         TOKEN( "error-percentage",                XML_ERROR_PERCENTAGE ),
771         TOKEN( "error-upper-indicator",           XML_ERROR_UPPER_INDICATOR ),
772         TOKEN( "error-upper-limit",               XML_ERROR_UPPER_LIMIT ),
773         TOKEN( "sub",                             XML_ESCAPEMENT_SUB ),
774         TOKEN( "super",                           XML_ESCAPEMENT_SUPER ),
775         TOKEN( "even-page",                       XML_EVEN_PAGE ),
776         TOKEN( "event",                           XML_EVENT ),
777         TOKEN( "event-name",                      XML_EVENT_NAME ),
778         TOKEN( "events",                          XML_EVENTS ),
779         TOKEN( "execute",                         XML_EXECUTE ),
780         TOKEN( "execute-macro",                   XML_EXECUTE_MACRO ),
781         TOKEN( "exists",                          XML_EXISTS ),
782         TOKEN( "exp",                             XML_EXP ),
783         TOKEN( "exponential",                     XML_EXPONENTIAL ),
784         TOKEN( "expression",                      XML_EXPRESSION ),
785         TOKEN( "extra",                           XML_EXTRA ),
786         TOKEN( "extrude",                         XML_EXTRUDE ),
787         TOKEN( "factorial",                       XML_FACTORIAL ),
788         TOKEN( "fade",                            XML_FADE ),
789         TOKEN( "fade-from-bottom",                XML_FADE_FROM_BOTTOM ),
790         TOKEN( "fade-from-center",                XML_FADE_FROM_CENTER ),
791         TOKEN( "fade-from-left",                  XML_FADE_FROM_LEFT ),
792         TOKEN( "fade-from-lowerleft",             XML_FADE_FROM_LOWERLEFT ),
793         TOKEN( "fade-from-lowerright",            XML_FADE_FROM_LOWERRIGHT ),
794         TOKEN( "fade-from-right",                 XML_FADE_FROM_RIGHT ),
795         TOKEN( "fade-from-top",                   XML_FADE_FROM_TOP ),
796         TOKEN( "fade-from-upperleft",             XML_FADE_FROM_UPPERLEFT ),
797         TOKEN( "fade-from-upperright",            XML_FADE_FROM_UPPERRIGHT ),
798         TOKEN( "fade-out",                        XML_FADE_OUT ),
799         TOKEN( "fade-to-center",                  XML_FADE_TO_CENTER ),
800         TOKEN( "false",                           XML_FALSE ),
801         TOKEN( "family",                          XML_FAMILY ),
802         TOKEN( "fast",                            XML_FAST ),
803         TOKEN( "fence",                           XML_FENCE ),
804         TOKEN( "field-number",                    XML_FIELD_NUMBER ),
805         TOKEN( "file-name",                       XML_FILE_NAME ),
806         TOKEN( "fill",                            XML_FILL ),
807         TOKEN( "fill-character",                  XML_FILL_CHARACTER ),
808         TOKEN( "fill-color",                      XML_FILL_COLOR ),
809         TOKEN( "fill-gradient-name",              XML_FILL_GRADIENT_NAME ),
810         TOKEN( "fill-hatch-name",                 XML_FILL_HATCH_NAME ),
811         TOKEN( "fill-hatch-solid",                XML_FILL_HATCH_SOLID ),
812         TOKEN( "fill-image",                      XML_FILL_IMAGE ),
813         TOKEN( "fill-image-height",               XML_FILL_IMAGE_HEIGHT ),
814         TOKEN( "fill-image-name",                 XML_FILL_IMAGE_NAME ),
815         TOKEN( "fill-image-ref-point",            XML_FILL_IMAGE_REF_POINT ),
816         TOKEN( "fill-image-ref-point-x",          XML_FILL_IMAGE_REF_POINT_X ),
817         TOKEN( "fill-image-ref-point-y",          XML_FILL_IMAGE_REF_POINT_Y ),
818         TOKEN( "fill-image-width",                XML_FILL_IMAGE_WIDTH ),
819         TOKEN( "fill-rule",                       XML_FILL_RULE ),
820         TOKEN( "filter",                          XML_FILTER ),
821         TOKEN( "filter-and",                      XML_FILTER_AND ),
822         TOKEN( "filter-condition",                XML_FILTER_CONDITION ),
823         TOKEN( "filter-name",                     XML_FILTER_NAME ),
824         TOKEN( "filter-options",                  XML_FILTER_OPTIONS ),
825         TOKEN( "filter-or",                       XML_FILTER_OR ),
826         TOKEN( "filter-set-item",                 XML_FILTER_SET_ITEM ),
827         TOKEN( "fine-dashed",                     XML_FINE_DASHED ),
828         TOKEN( "first-date-time",                 XML_FIRST_DATE_TIME ),
829         TOKEN( "first-page",                      XML_FIRST_PAGE ),
830         TOKEN( "first-page-number",               XML_FIRST_PAGE_NUMBER ),
831         TOKEN( "fit-to-contour",                  XML_FIT_TO_CONTOUR ),
832         TOKEN( "fit-to-size",                     XML_FIT_TO_SIZE ),
833         TOKEN( "fix",                             XML_FIX ),
834         TOKEN( "fixed",                           XML_FIXED ),
835         TOKEN( "flat",                            XML_FLAT ),
836         TOKEN( "float",                           XML_FLOAT ),
837         TOKEN( "floating-frame",                  XML_FLOATING_FRAME ),
838         TOKEN( "floor",                           XML_FLOOR ),
839         TOKEN( "fn",                              XML_FN ),
840         TOKEN( "focal-length",                    XML_FOCAL_LENGTH ),
841         TOKEN( "focus-on-click",                  XML_FOCUS_ON_CLICK ),
842         TOKEN( "font-char-width",                 XML_FONT_CHAR_WIDTH ),
843         TOKEN( "font-charset",                    XML_FONT_CHARSET ),
844         TOKEN( "font-charset-asian",              XML_FONT_CHARSET_ASIAN ),
845         TOKEN( "font-charset-complex",            XML_FONT_CHARSET_COMPLEX ),
846         TOKEN( "font-color",                      XML_FONT_COLOR ),
847         TOKEN( "font-decl",                       XML_FONT_DECL ),
848         TOKEN( "font-decls",                      XML_FONT_DECLS ),
849         TOKEN( "font-family",                     XML_FONT_FAMILY ),
850         TOKEN( "font-family-asian",               XML_FONT_FAMILY_ASIAN ),
851         TOKEN( "font-family-complex",             XML_FONT_FAMILY_COMPLEX ),
852         TOKEN( "font-family-generic",             XML_FONT_FAMILY_GENERIC ),
853         TOKEN( "font-family-generic-asian",       XML_FONT_FAMILY_GENERIC_ASIAN ),
854         TOKEN( "font-family-generic-complex",     XML_FONT_FAMILY_GENERIC_COMPLEX ),
855         TOKEN( "font-kerning",                    XML_FONT_KERNING ),
856         TOKEN( "font-name",                       XML_FONT_NAME ),
857         TOKEN( "font-name-asian",                 XML_FONT_NAME_ASIAN ),
858         TOKEN( "font-name-complex",               XML_FONT_NAME_COMPLEX ),
859         TOKEN( "font-pitch",                      XML_FONT_PITCH ),
860         TOKEN( "font-pitch-asian",                XML_FONT_PITCH_ASIAN ),
861         TOKEN( "font-pitch-complex",              XML_FONT_PITCH_COMPLEX ),
862         TOKEN( "font-relief",                     XML_FONT_RELIEF ),
863         TOKEN( "font-size",                       XML_FONT_SIZE ),
864         TOKEN( "font-size-asian",                 XML_FONT_SIZE_ASIAN ),
865         TOKEN( "font-size-complex",               XML_FONT_SIZE_COMPLEX ),
866         TOKEN( "font-size-rel",                   XML_FONT_SIZE_REL ),
867         TOKEN( "font-size-rel-asian",             XML_FONT_SIZE_REL_ASIAN ),
868         TOKEN( "font-size-rel-complex",           XML_FONT_SIZE_REL_COMPLEX ),
869         TOKEN( "font-style",                      XML_FONT_STYLE ),
870         TOKEN( "font-style-asian",                XML_FONT_STYLE_ASIAN ),
871         TOKEN( "font-style-complex",              XML_FONT_STYLE_COMPLEX ),
872         TOKEN( "font-style-name",                 XML_FONT_STYLE_NAME ),
873         TOKEN( "font-style-name-asian",           XML_FONT_STYLE_NAME_ASIAN ),
874         TOKEN( "font-style-name-complex",         XML_FONT_STYLE_NAME_COMPLEX ),
875         TOKEN( "font-variant",                    XML_FONT_VARIANT ),
876         TOKEN( "font-weight",                     XML_FONT_WEIGHT ),
877         TOKEN( "font-weight-asian",               XML_FONT_WEIGHT_ASIAN ),
878         TOKEN( "font-weight-complex",             XML_FONT_WEIGHT_COMPLEX ),
879         TOKEN( "font-width",                      XML_FONT_WIDTH ),
880         TOKEN( "font-word-line-mode",             XML_FONT_WORD_LINE_MODE ),
881         TOKEN( "fontfamily",                      XML_FONTFAMILY ),
882         TOKEN( "fontsize",                        XML_FONTSIZE ),
883         TOKEN( "fontstyle",                       XML_FONTSTYLE ),
884         TOKEN( "fontweight",                      XML_FONTWEIGHT ),
885         TOKEN( "fontwork-adjust",                 XML_FONTWORK_ADJUST ),
886         TOKEN( "fontwork-distance",               XML_FONTWORK_DISTANCE ),
887         TOKEN( "fontwork-form",                   XML_FONTWORK_FORM ),
888         TOKEN( "fontwork-hide-form",              XML_FONTWORK_HIDE_FORM ),
889         TOKEN( "fontwork-mirror",                 XML_FONTWORK_MIRROR ),
890         TOKEN( "fontwork-outline",                XML_FONTWORK_OUTLINE ),
891         TOKEN( "fontwork-shadow",                 XML_FONTWORK_SHADOW ),
892         TOKEN( "fontwork-shadow-color",           XML_FONTWORK_SHADOW_COLOR ),
893         TOKEN( "fontwork-shadow-offset-x",        XML_FONTWORK_SHADOW_OFFSET_X ),
894         TOKEN( "fontwork-shadow-offset-y",        XML_FONTWORK_SHADOW_OFFSET_Y ),
895         TOKEN( "fontwork-shadow-transparence",        XML_FONTWORK_SHADOW_TRANSPARENCE ),
896         TOKEN( "fontwork-start",                  XML_FONTWORK_START ),
897         TOKEN( "fontwork-style",                  XML_FONTWORK_STYLE ),
898         TOKEN( "footer",                          XML_FOOTER ),
899         TOKEN( "footer-first",                    XML_FOOTER_FIRST ),
900         TOKEN( "footer-left",                     XML_FOOTER_LEFT ),
901         TOKEN( "footer-style",                    XML_FOOTER_STYLE ),
902         TOKEN( "footer-visible",                  XML_FOOTER_VISIBLE ),
903         TOKEN( "footnote",                        XML_FOOTNOTE ),
904         TOKEN( "footnote-body",                   XML_FOOTNOTE_BODY ),
905         TOKEN( "footnote-citation",               XML_FOOTNOTE_CITATION ),
906         TOKEN( "footnote-continuation-notice-backward",       XML_FOOTNOTE_CONTINUATION_NOTICE_BACKWARD ),
907         TOKEN( "footnote-continuation-notice-forward",        XML_FOOTNOTE_CONTINUATION_NOTICE_FORWARD ),
908         TOKEN( "footnote-max-height",             XML_FOOTNOTE_MAX_HEIGHT ),
909         TOKEN( "footnote-ref",                    XML_FOOTNOTE_REF ),
910         TOKEN( "footnote-sep",                    XML_FOOTNOTE_SEP ),
911         TOKEN( "footnotes-configuration",         XML_FOOTNOTES_CONFIGURATION ),
912         TOKEN( "footnotes-position",              XML_FOOTNOTES_POSITION ),
913         TOKEN( "for",                             XML_FOR ),
914         TOKEN( "forall",                          XML_FORALL ),
915         TOKEN( "force-manual",                    XML_FORCE_MANUAL ),
916         TOKEN( "foreground",                      XML_FOREGROUND ),
917         TOKEN( "foreign-object",                  XML_FOREIGN_OBJECT ),
918         TOKEN( "format-change",                   XML_FORMAT_CHANGE ),
919         TOKEN( "format-source",                   XML_FORMAT_SOURCE ),
920         TOKEN( "formatting-entry",                XML_FORMATTING_ENTRY ),
921         TOKEN( "forms",                           XML_FORMS ),
922         TOKEN( "formula",                         XML_FORMULA ),
923         TOKEN( "formula-hidden",                  XML_FORMULA_HIDDEN ),
924         TOKEN( "formulas",                        XML_FORMULAS ),
925         TOKEN( "fraction",                        XML_FRACTION ),
926         TOKEN( "frame",                           XML_FRAME ),
927         TOKEN( "frame-content",                   XML_FRAME_CONTENT ),
928         TOKEN( "frame-display-border",            XML_FRAME_DISPLAY_BORDER ),
929         TOKEN( "frame-display-scrollbar",         XML_FRAME_DISPLAY_SCROLLBAR ),
930         TOKEN( "frame-end-margin",                XML_FRAME_END_MARGIN ),
931         TOKEN( "frame-margin-horizontal",         XML_FRAME_MARGIN_HORIZONTAL ),
932         TOKEN( "frame-margin-vertical",           XML_FRAME_MARGIN_VERTICAL ),
933         TOKEN( "frame-name",                      XML_FRAME_NAME ),
934         TOKEN( "frame-start-margin",              XML_FRAME_START_MARGIN ),
935         TOKEN( "freeze",                          XML_FREEZE ),
936         TOKEN( "freeze-position",                 XML_FREEZE_POSITION ),
937         TOKEN( "from-another-table",              XML_FROM_ANOTHER_TABLE ),
938         TOKEN( "from-bottom",                     XML_FROM_BOTTOM ),
939         TOKEN( "from-center",                     XML_FROM_CENTER ),
940         TOKEN( "from-inside",                     XML_FROM_INSIDE ),
941         TOKEN( "from-left",                       XML_FROM_LEFT ),
942         TOKEN( "from-lower-left",                 XML_FROM_LOWER_LEFT ),
943         TOKEN( "from-lower-right",                XML_FROM_LOWER_RIGHT ),
944         TOKEN( "from-right",                      XML_FROM_RIGHT ),
945         TOKEN( "from-same-table",                 XML_FROM_SAME_TABLE ),
946         TOKEN( "from-top",                        XML_FROM_TOP ),
947         TOKEN( "from-upper-left",                 XML_FROM_UPPER_LEFT ),
948         TOKEN( "from-upper-right",                XML_FROM_UPPER_RIGHT ),
949         TOKEN( "fuchsia",                         XML_FUCHSIA ),
950         TOKEN( "full",                            XML_FULL ),
951         TOKEN( "full-screen",                     XML_FULL_SCREEN ),
952         TOKEN( "function",                        XML_FUNCTION ),
953         TOKEN( "fx",                              XML_FX ),
954         TOKEN( "fy",                              XML_FY ),
955         TOKEN( "g",                               XML_G ),
956         TOKEN( "gamma",                           XML_GAMMA ),
957         TOKEN( "gap",                             XML_GAP ),
958         TOKEN( "gap-width",                       XML_GAP_WIDTH ),
959         TOKEN( "gcd",                             XML_GCD ),
960         TOKEN( "generator",                       XML_GENERATOR ),
961         TOKEN( "geq",                             XML_GEQ ),
962         TOKEN( "glow-radius",                     XML_GLOW_RADIUS ),
963         TOKEN( "glow-color",                      XML_GLOW_COLOR ),
964         TOKEN( "glow-transparency",               XML_GLOW_TRANSPARENCY ),
965         TOKEN( "gouraud",                         XML_GOURAUD ),
966         TOKEN( "gradient",                        XML_GRADIENT ),
967         TOKEN( "angle",                           XML_GRADIENT_ANGLE ),
968         TOKEN( "gradient-step-count",             XML_GRADIENT_STEP_COUNT ),
969         TOKEN( "gradient-style",                  XML_GRADIENT_STYLE ),
970         TOKEN( "gradient-table",                  XML_GRADIENT_TABLE ),
971         TOKEN( "axial",                           XML_GRADIENTSTYLE_AXIAL ),
972         TOKEN( "ellipsoid",                       XML_GRADIENTSTYLE_ELLIPSOID ),
973         TOKEN( "radial",                          XML_GRADIENTSTYLE_RADIAL ),
974         TOKEN( "rectangular",                     XML_GRADIENTSTYLE_RECTANGULAR ),
975         TOKEN( "square",                          XML_GRADIENTSTYLE_SQUARE ),
976         TOKEN( "gradientTransform",               XML_GRADIENTTRANSFORM ),
977         TOKEN( "grand-total",                     XML_GRAND_TOTAL ),
978         TOKEN( "graphic",                         XML_GRAPHIC ),
979         TOKEN( "gray",                            XML_GRAY ),
980         TOKEN( "green",                           XML_GREEN ),
981         TOKEN( "greyscale",                       XML_GREYSCALE ),
982         TOKEN( "grid",                            XML_GRID ),
983         TOKEN( "groove",                          XML_GROOVE ),
984         TOKEN( "group-by-field-number",           XML_GROUP_BY_FIELD_NUMBER ),
985         TOKEN( "group-name",                      XML_GROUP_NAME ),
986         TOKEN( "grouping",                        XML_GROUPING ),
987         TOKEN( "gt",                              XML_GT ),
988         TOKEN( "guide-distance",                  XML_GUIDE_DISTANCE ),
989         TOKEN( "guide-overhang",                  XML_GUIDE_OVERHANG ),
990         TOKEN( "h",                               XML_H ),
991         TOKEN( "hanging",                         XML_HANGING ),
992         TOKEN( "has-persistent-data",             XML_HAS_PERSISTENT_DATA ),
993         TOKEN( "hatch",                           XML_HATCH ),
994         TOKEN( "hatch-table",                     XML_HATCH_TABLE ),
995         TOKEN( "triple",                          XML_HATCHSTYLE_TRIPLE ),
996         TOKEN( "header",                          XML_HEADER ),
997         TOKEN( "header-first",                    XML_HEADER_FIRST ),
998         TOKEN( "header-left",                     XML_HEADER_LEFT ),
999         TOKEN( "header-style",                    XML_HEADER_STYLE ),
1000         TOKEN( "headers",                         XML_HEADERS ),
1001         TOKEN( "height",                          XML_HEIGHT ),
1002         TOKEN( "help",                            XML_HELP),
1003         TOKEN( "help-file-name",                  XML_HELP_FILE_NAME ),
1004         TOKEN( "help-id",                         XML_HELP_ID ),
1005         TOKEN( "help-message",                    XML_HELP_MESSAGE ),
1006         TOKEN( "hidden",                          XML_HIDDEN ),
1007         TOKEN( "hidden-and-protected",            XML_HIDDEN_AND_PROTECTED ),
1008         TOKEN( "hidden-paragraph",                XML_HIDDEN_PARAGRAPH ),
1009         TOKEN( "hidden-text",                     XML_HIDDEN_TEXT ),
1010         TOKEN( "hide",                            XML_HIDE ),
1011         TOKEN( "hide-legend",                     XML_HIDE_LEGEND ),
1012         TOKEN( "hide-shape",                      XML_HIDE_SHAPE ),
1013         TOKEN( "hide-text",                       XML_HIDE_TEXT ),
1014         TOKEN( "highlighted-range",               XML_HIGHLIGHTED_RANGE ),
1015         TOKEN( "hint",                            XML_HINT),
1016         TOKEN( "horizontal",                      XML_HORIZONTAL ),
1017         TOKEN( "horizontalstrike",                XML_HORIZONTALSTRIKE ),
1018         TOKEN( "horizontal-lines",                XML_HORIZONTAL_LINES ),
1019         /* XML_HORIZONTAL_ON_LEFT_PAGES and XML_HORIZONTAL_ON_RIGHT_PAGES
1020            are replaced by XML_HORIZONTAL_ON_EVEN and XML_HORIZONTAL_ON_ODD.
1021            Usage is deprecated, but the old token are needed for the
1022            OpenOffice.org file format import/export filter for the renaming (#i49139#)
1023         */
1024         TOKEN( "horizontal-on-left-pages",        XML_HORIZONTAL_ON_LEFT_PAGES ),
1025         TOKEN( "horizontal-on-right-pages",       XML_HORIZONTAL_ON_RIGHT_PAGES ),
1026         TOKEN( "horizontal-pos",                  XML_HORIZONTAL_POS ),
1027         TOKEN( "horizontal-rel",                  XML_HORIZONTAL_REL ),
1028         TOKEN( "horizontal-scrollbar-width",      XML_HORIZONTAL_SCROLLBAR_WIDTH ),
1029         TOKEN( "horizontal-segments",             XML_HORIZONTAL_SEGMENTS ),
1030         TOKEN( "horizontal-split-mode",           XML_HORIZONTAL_SPLIT_MODE ),
1031         TOKEN( "horizontal-split-position",       XML_HORIZONTAL_SPLIT_POSITION ),
1032         TOKEN( "horizontal-stripes",              XML_HORIZONTAL_STRIPES ),
1033         TOKEN( "hours",                           XML_HOURS ),
1034         TOKEN( "howpublished",                    XML_HOWPUBLISHED ),
1035         TOKEN( "href",                            XML_HREF ),
1036         TOKEN( "html",                            XML_HTML ),
1037         TOKEN( "hyperlink",                       XML_HYPERLINK ),
1038         TOKEN( "hyperlink-behaviour",             XML_HYPERLINK_BEHAVIOUR ),
1039         TOKEN( "hyphenate",                       XML_HYPHENATE ),
1040         TOKEN( "hyphenation-keep",                XML_HYPHENATION_KEEP ),
1041         TOKEN( "hyphenation-ladder-count",        XML_HYPHENATION_LADDER_COUNT ),
1042         TOKEN( "hyphenation-push-char-count",     XML_HYPHENATION_PUSH_CHAR_COUNT ),
1043         TOKEN( "hyphenation-remain-char-count",       XML_HYPHENATION_REMAIN_CHAR_COUNT ),
1044         TOKEN( "hyphenation-no-caps",             XML_HYPHENATION_NO_CAPS ),
1045         TOKEN( "i",                               XML_I ),
1046         TOKEN( "icon",                            XML_ICON ),
1047         TOKEN( "icon-set",                        XML_ICON_SET ),
1048         TOKEN( "icon-set-type",                   XML_ICON_SET_TYPE ),
1049         TOKEN( "id",                              XML_ID ),
1050         TOKEN( "ident",                           XML_IDENT ),
1051         TOKEN( "identifier",                      XML_IDENTIFIER ),
1052         TOKEN( "identify-categories",             XML_IDENTIFY_CATEGORIES ),
1053         TOKEN( "ideograph-alpha",                 XML_IDEOGRAPH_ALPHA ),
1054         TOKEN( "ignore-case",                     XML_IGNORE_CASE ),
1055         TOKEN( "ignore-empty-rows",               XML_IGNORE_EMPTY_ROWS ),
1056         TOKEN( "ignore-result",                   XML_IGNORE_RESULT ),
1057         TOKEN( "ignore-selected-page",            XML_IGNORE_SELECTED_PAGE ),
1058         TOKEN( "illustration-index",              XML_ILLUSTRATION_INDEX ),
1059         TOKEN( "illustration-index-entry-template",       XML_ILLUSTRATION_INDEX_ENTRY_TEMPLATE ),
1060         TOKEN( "illustration-index-source",       XML_ILLUSTRATION_INDEX_SOURCE ),
1061         TOKEN( "image",                           XML_IMAGE ),
1062         TOKEN( "image-count",                     XML_IMAGE_COUNT ),
1063         TOKEN( "image-map",                       XML_IMAGE_MAP ),
1064         TOKEN( "implies",                         XML_IMPLIES ),
1065         TOKEN( "in",                              XML_IN ),
1066         TOKEN( "in-range",                        XML_IN_RANGE ),
1067         TOKEN( "inbook",                          XML_INBOOK ),
1068         TOKEN( "incollection",                    XML_INCOLLECTION ),
1069         TOKEN( "increment",                       XML_INCREMENT ),
1070         TOKEN( "index",                           XML_INDEX ),
1071         TOKEN( "index-body",                      XML_INDEX_BODY ),
1072         TOKEN( "index-entry-bibliography",        XML_INDEX_ENTRY_BIBLIOGRAPHY ),
1073         TOKEN( "index-entry-chapter",             XML_INDEX_ENTRY_CHAPTER ),
1074         TOKEN( "index-entry-chapter-number",      XML_INDEX_ENTRY_CHAPTER_NUMBER ),
1075         TOKEN( "index-entry-link-end",            XML_INDEX_ENTRY_LINK_END ),
1076         TOKEN( "index-entry-link-start",          XML_INDEX_ENTRY_LINK_START ),
1077         TOKEN( "index-entry-page-number",         XML_INDEX_ENTRY_PAGE_NUMBER ),
1078         TOKEN( "index-entry-span",                XML_INDEX_ENTRY_SPAN ),
1079         TOKEN( "index-entry-tab-stop",            XML_INDEX_ENTRY_TAB_STOP ),
1080         TOKEN( "index-entry-template",            XML_INDEX_ENTRY_TEMPLATE ),
1081         TOKEN( "index-entry-text",                XML_INDEX_ENTRY_TEXT ),
1082         TOKEN( "index-name",                      XML_INDEX_NAME ),
1083         TOKEN( "index-scope",                     XML_INDEX_SCOPE ),
1084         TOKEN( "index-source-style",              XML_INDEX_SOURCE_STYLE ),
1085         TOKEN( "index-source-styles",             XML_INDEX_SOURCE_STYLES ),
1086         TOKEN( "index-title",                     XML_INDEX_TITLE ),
1087         TOKEN( "index-title-template",            XML_INDEX_TITLE_TEMPLATE ),
1088         TOKEN( "information",                     XML_INFORMATION ),
1089         TOKEN( "initial-creator",                 XML_INITIAL_CREATOR ),
1090         TOKEN( "inproceedings",                   XML_INPROCEEDINGS ),
1091         TOKEN( "input-required",                  XML_INPUT_REQUIRED ),
1092         TOKEN( "insert-columns",                  XML_INSERT_COLUMNS ),
1093         TOKEN( "insert-rows",                     XML_INSERT_ROWS ),
1094         TOKEN( "insertion",                       XML_INSERTION ),
1095         TOKEN( "insertion-cut-off",               XML_INSERTION_CUT_OFF ),
1096         TOKEN( "insertion-position",              XML_INSERTION_POSITION ),
1097         TOKEN( "inset",                           XML_INSET ),
1098         TOKEN( "inside",                          XML_INSIDE ),
1099         TOKEN( "institution",                     XML_INSTITUTION ),
1100         TOKEN( "int",                             XML_INT ),
1101         TOKEN( "intensity",                       XML_INTENSITY ),
1102         TOKEN( "inter-character",                 XML_INTER_CHARACTER ),
1103         TOKEN( "intersect",                       XML_INTERSECT ),
1104         TOKEN( "interval",                        XML_INTERVAL ),
1105         TOKEN( "interval-major",                  XML_INTERVAL_MAJOR ),
1106         TOKEN( "interval-minor",                  XML_INTERVAL_MINOR ),
1107         TOKEN( "into-english-number",             XML_INTO_ENGLISH_NUMBER ),
1108         TOKEN( "inverse",                         XML_INVERSE ),
1109         TOKEN( "is-active",                       XML_IS_ACTIVE ),
1110         TOKEN( "is-data-layout-field",            XML_IS_DATA_LAYOUT_FIELD ),
1111         TOKEN( "is-hidden",                       XML_IS_HIDDEN ),
1112         TOKEN( "is-selection",                    XML_IS_SELECTION ),
1113         TOKEN( "isbn",                            XML_ISBN ),
1114         TOKEN( "italic",                          XML_ITALIC ),
1115         TOKEN( "item",                            XML_ITEM ),
1116         TOKEN( "iteration",                       XML_ITERATION ),
1117         TOKEN( "journal",                         XML_JOURNAL ),
1118         TOKEN( "justified",                       XML_JUSTIFIED ),
1119         TOKEN( "justify",                         XML_JUSTIFY ),
1120         TOKEN( "justify-single-word",             XML_JUSTIFY_SINGLE_WORD ),
1121         TOKEN( "keep-with-next",                  XML_KEEP_WITH_NEXT ),
1122         TOKEN( "key",                             XML_KEY ),
1123         TOKEN( "key1",                            XML_KEY1 ),
1124         TOKEN( "key2",                            XML_KEY2 ),
1125         TOKEN( "keyword",                         XML_KEYWORD ),
1126         TOKEN( "keywords",                        XML_KEYWORDS ),
1127         TOKEN( "kind",                            XML_KIND ),
1128         TOKEN( "km",                              XML_KM ),
1129         TOKEN( "label",                           XML_LABEL ),
1130         TOKEN( "label-arrangement",               XML_LABEL_ARRANGEMENT ),
1131         TOKEN( "label-cell-address",              XML_LABEL_CELL_ADDRESS ),
1132         TOKEN( "label-cell-range-address",        XML_LABEL_CELL_RANGE_ADDRESS ),
1133         TOKEN( "label-fill",                      XML_LABEL_FILL ),
1134         TOKEN( "label-fill-color",                XML_LABEL_FILL_COLOR ),
1135         TOKEN( "label-range",                     XML_LABEL_RANGE ),
1136         TOKEN( "label-ranges",                    XML_LABEL_RANGES ),
1137         TOKEN( "label-string",                    XML_LABEL_STRING ),
1138         TOKEN( "label-stroke",                    XML_LABEL_STROKE ),
1139         TOKEN( "label-stroke-color",              XML_LABEL_STROKE_COLOR ),
1140         TOKEN( "label-stroke-opacity",            XML_LABEL_STROKE_OPACITY ),
1141         TOKEN( "label-stroke-width",              XML_LABEL_STROKE_WIDTH ),
1142         TOKEN( "lambda",                          XML_LAMBDA ),
1143         TOKEN( "landscape",                       XML_LANDSCAPE ),
1144         TOKEN( "lang",                            XML_LANG ),
1145         TOKEN( "language",                        XML_LANGUAGE ),
1146         TOKEN( "language-asian",                  XML_LANGUAGE_ASIAN ),
1147         TOKEN( "language-complex",                XML_LANGUAGE_COMPLEX ),
1148         TOKEN( "laser",                           XML_LASER ),
1149         TOKEN( "last-column-spanned",             XML_LAST_COLUMN_SPANNED ),
1150         TOKEN( "last-page",                       XML_LAST_PAGE ),
1151         TOKEN( "last-row-spanned",                XML_LAST_ROW_SPANNED ),
1152         TOKEN( "layer",                           XML_LAYER ),
1153         TOKEN( "layer-set",                       XML_LAYER_SET ),
1154         TOKEN( "leader-char",                     XML_LEADER_CHAR ),
1155         TOKEN( "left",                            XML_LEFT ),
1156         TOKEN( "left-outside",                    XML_LEFT_OUTSIDE ),
1157         TOKEN( "left-text",                       XML_LEFT_TEXT ),
1158         TOKEN( "left-top-position",               XML_LEFT_TOP_POSITION ),
1159         TOKEN( "left-arc",                        XML_LEFTARC ),
1160         TOKEN( "left-circle",                     XML_LEFTCIRCLE ),
1161         TOKEN( "legend",                          XML_LEGEND ),
1162         TOKEN( "legend-position",                 XML_LEGEND_POSITION ),
1163         TOKEN( "length",                          XML_LENGTH ),
1164         TOKEN( "leq",                             XML_LEQ ),
1165         TOKEN( "let-text",                        XML_LET_TEXT ),
1166         TOKEN( "keep-text",                       XML_KEEP_TEXT ),
1167         TOKEN( "letter-kerning",                  XML_LETTER_KERNING ),
1168         TOKEN( "letter-spacing",                  XML_LETTER_SPACING ),
1169         TOKEN( "letters",                         XML_LETTERS ),
1170         TOKEN( "level",                           XML_LEVEL ),
1171         TOKEN( "library",                         XML_LIBRARY ),
1172         TOKEN( "library-embedded",                XML_LIBRARY_EMBEDDED ),
1173         TOKEN( "library-linked",                  XML_LIBRARY_LINKED ),
1174         TOKEN( "light",                           XML_LIGHT ),
1175         TOKEN( "lighting-mode",                   XML_LIGHTING_MODE ),
1176         TOKEN( "lime",                            XML_LIME ),
1177         TOKEN( "limit",                           XML_LIMIT ),
1178         TOKEN( "line",                            XML_LINE ),
1179         TOKEN( "line-break",                      XML_LINE_BREAK ),
1180         TOKEN( "line-distance",                   XML_LINE_DISTANCE ),
1181         TOKEN( "line-height",                     XML_LINE_HEIGHT ),
1182         TOKEN( "line-height-at-least",            XML_LINE_HEIGHT_AT_LEAST ),
1183         TOKEN( "line-number",                     XML_LINE_NUMBER ),
1184         TOKEN( "line-skew",                       XML_LINE_SKEW ),
1185         TOKEN( "line-spacing",                    XML_LINE_SPACING ),
1186         TOKEN( "line-style",                      XML_LINE_STYLE ),
1187         TOKEN( "linear",                          XML_LINEAR ),
1188         TOKEN( "linearGradient",                  XML_LINEARGRADIENT ),
1189         TOKEN( "linenumbering-configuration",     XML_LINENUMBERING_CONFIGURATION ),
1190         TOKEN( "linenumbering-separator",         XML_LINENUMBERING_SEPARATOR ),
1191         TOKEN( "lines",                           XML_LINES ),
1192         TOKEN( "lines-used",                      XML_LINES_USED ),
1193         TOKEN( "linked-cell",                     XML_LINKED_CELL ),
1194         TOKEN( "link-to-source-data",             XML_LINK_TO_SOURCE_DATA ),
1195         TOKEN( "list",                            XML_LIST ),
1196         TOKEN( "list-block",                      XML_LIST_BLOCK ),
1197         TOKEN( "list-header",                     XML_LIST_HEADER ),
1198         TOKEN( "list-info",                       XML_LIST_INFO ),
1199         TOKEN( "list-item",                       XML_LIST_ITEM ),
1200         TOKEN( "list-level",                      XML_LIST_LEVEL ),
1201         TOKEN( "list-level-style-bullet",         XML_LIST_LEVEL_STYLE_BULLET ),
1202         TOKEN( "list-level-style-image",          XML_LIST_LEVEL_STYLE_IMAGE ),
1203         TOKEN( "list-level-style-number",         XML_LIST_LEVEL_STYLE_NUMBER ),
1204         TOKEN( "list-linkage-type",               XML_LIST_LINKAGE_TYPE ),
1205         TOKEN( "list-name",                       XML_LIST_NAME ),
1206         TOKEN( "list-style",                      XML_LIST_STYLE ),
1207         TOKEN( "list-style-name",                 XML_LIST_STYLE_NAME ),
1208         TOKEN( "ln",                              XML_LN ),
1209         TOKEN( "locked",                          XML_LOCKED ),
1210         TOKEN( "log",                             XML_LOG ),
1211         TOKEN( "logarithmic",                     XML_LOGARITHMIC ),
1212         TOKEN( "logbase",                         XML_LOGBASE ),
1213         TOKEN( "long",                            XML_LONG ),
1214         TOKEN( "lowlimit",                        XML_LOWLIMIT ),
1215         TOKEN( "lr-tb",                           XML_LR_TB ),
1216         TOKEN( "lt",                              XML_LT ),
1217         TOKEN( "ltr",                             XML_LTR ),
1218         TOKEN( "luminance",                       XML_LUMINANCE ),
1219         TOKEN( "macro-name",                      XML_MACRO_NAME ),
1220         TOKEN( "maction",                         XML_MACTION ),
1221         TOKEN( "main-entry-style-name",           XML_MAIN_ENTRY_STYLE_NAME ),
1222         TOKEN( "major",                           XML_MAJOR ),
1223         TOKEN( "major-origin",                    XML_MAJOR_ORIGIN ),
1224         TOKEN( "maligngroup",                     XML_MALIGNGROUP ),
1225         TOKEN( "malignmark",                      XML_MALIGNMARK ),
1226         TOKEN( "manual",                          XML_MANUAL ),
1227         TOKEN( "map",                             XML_MAP ),
1228         TOKEN( "margin-bottom",                   XML_MARGIN_BOTTOM ),
1229         TOKEN( "margin-left",                     XML_MARGIN_LEFT ),
1230         TOKEN( "margin-right",                    XML_MARGIN_RIGHT ),
1231         TOKEN( "margin-top",                      XML_MARGIN_TOP ),
1232         TOKEN( "margins",                         XML_MARGINS ),
1233         TOKEN( "marker",                          XML_MARKER ),
1234         TOKEN( "marker-end",                      XML_MARKER_END ),
1235         TOKEN( "marker-end-center",               XML_MARKER_END_CENTER ),
1236         TOKEN( "marker-end-width",                XML_MARKER_END_WIDTH ),
1237         TOKEN( "marker-start",                    XML_MARKER_START ),
1238         TOKEN( "marker-start-center",             XML_MARKER_START_CENTER ),
1239         TOKEN( "marker-start-width",              XML_MARKER_START_WIDTH ),
1240         TOKEN( "marker-table",                    XML_MARKER_TABLE ),
1241         TOKEN( "maroon",                          XML_MAROON ),
1242         TOKEN( "master-page",                     XML_MASTER_PAGE ),
1243         TOKEN( "master-page-name",                XML_MASTER_PAGE_NAME ),
1244         TOKEN( "master-styles",                   XML_MASTER_STYLES ),
1245         TOKEN( "mastersthesis",                   XML_MASTERSTHESIS ),
1246         TOKEN( "match",                           XML_MATCH ),
1247         TOKEN( "math",                            XML_MATH ),
1248         TOKEN( "matrix",                          XML_MATRIX ),
1249         TOKEN( "matrix-covered",                  XML_MATRIX_COVERED ),
1250         TOKEN( "matrixrow",                       XML_MATRIXROW ),
1251         TOKEN( "max",                             XML_MAX ),
1252         TOKEN( "max-edge",                        XML_MAX_EDGE ),
1253         TOKEN( "max-height",                      XML_MAX_HEIGHT ),
1254         TOKEN( "max-length",                      XML_MAX_LENGTH ),
1255         TOKEN( "max-width",                       XML_MAX_WIDTH ),
1256         TOKEN( "maximum",                         XML_MAXIMUM ),
1257         TOKEN( "maximum-difference",              XML_MAXIMUM_DIFFERENCE ),
1258         TOKEN( "may-break-between-rows",          XML_MAY_BREAK_BETWEEN_ROWS ),
1259         TOKEN( "may-script",                      XML_MAY_SCRIPT ),
1260         TOKEN( "mean",                            XML_MEAN ),
1261         TOKEN( "mean-value",                      XML_MEAN_VALUE ),
1262         TOKEN( "measure",                         XML_MEASURE ),
1263         TOKEN( "measure-align",                   XML_MEASURE_ALIGN ),
1264         TOKEN( "measure-vertical-align",          XML_MEASURE_VERTICAL_ALIGN ),
1265         TOKEN( "median",                          XML_MEDIAN ),
1266         TOKEN( "medium",                          XML_MEDIUM ),
1267         TOKEN( "menclose",                        XML_MENCLOSE ),
1268         TOKEN( "merror",                          XML_MERROR ),
1269         TOKEN( "message-type",                    XML_MESSAGE_TYPE ),
1270         TOKEN( "meta",                            XML_META ),
1271         TOKEN( "mfenced",                         XML_MFENCED ),
1272         TOKEN( "mfrac",                           XML_MFRAC ),
1273         TOKEN( "mi",                              XML_MI ),
1274         TOKEN( "middle",                          XML_MIDDLE ),
1275         TOKEN( "mime-type",                       XML_MIME_TYPE ),
1276         TOKEN( "min",                             XML_MIN ),
1277         TOKEN( "min-denominator-digits",          XML_MIN_DENOMINATOR_DIGITS ),
1278         TOKEN( "min-edge",                        XML_MIN_EDGE ),
1279         TOKEN( "min-exponent-digits",             XML_MIN_EXPONENT_DIGITS ),
1280         TOKEN( "min-height",                      XML_MIN_HEIGHT ),
1281         TOKEN( "min-integer-digits",              XML_MIN_INTEGER_DIGITS ),
1282         TOKEN( "min-label-distance",              XML_MIN_LABEL_DISTANCE ),
1283         TOKEN( "min-label-width",                 XML_MIN_LABEL_WIDTH ),
1284         TOKEN( "min-length",                      XML_MIN_LENGTH ),
1285         TOKEN( "min-line-height",                 XML_MIN_LINE_HEIGHT ),
1286         TOKEN( "min-numerator-digits",            XML_MIN_NUMERATOR_DIGITS ),
1287         TOKEN( "min-row-height",                  XML_MIN_ROW_HEIGHT ),
1288         TOKEN( "min-width",                       XML_MIN_WIDTH ),
1289         TOKEN( "minimum",                         XML_MINIMUM ),
1290         TOKEN( "minor",                           XML_MINOR ),
1291         TOKEN( "minus",                           XML_MINUS ),
1292         TOKEN( "minutes",                         XML_MINUTES ),
1293         TOKEN( "mirror",                          XML_MIRROR ),
1294         TOKEN( "mirrored",                        XML_MIRRORED ),
1295         TOKEN( "misc",                            XML_MISC ),
1296         TOKEN( "miter",                           XML_MITER ),
1297         TOKEN( "mm",                              XML_MM ),
1298         TOKEN( "mmultiscripts",                   XML_MMULTISCRIPTS ),
1299         TOKEN( "mn",                              XML_MN ),
1300         TOKEN( "mo",                              XML_MO ),
1301         TOKEN( "mode",                            XML_MODE ),
1302         TOKEN( "modern",                          XML_MODERN ),
1303         TOKEN( "modification-date",               XML_MODIFICATION_DATE ),
1304         TOKEN( "modification-time",               XML_MODIFICATION_TIME ),
1305         TOKEN( "modulate",                        XML_MODULATE ),
1306         TOKEN( "module",                          XML_MODULE ),
1307         TOKEN( "moment",                          XML_MOMENT ),
1308         TOKEN( "mono",                            XML_MONO ),
1309         TOKEN( "month",                           XML_MONTH ),
1310         TOKEN( "mouse-as-pen",                    XML_MOUSE_AS_PEN ),
1311         TOKEN( "mouse-visible",                   XML_MOUSE_VISIBLE ),
1312         TOKEN( "move",                            XML_MOVE ),
1313         TOKEN( "move-from-bottom",                XML_MOVE_FROM_BOTTOM ),
1314         TOKEN( "move-from-left",                  XML_MOVE_FROM_LEFT ),
1315         TOKEN( "move-from-right",                 XML_MOVE_FROM_RIGHT ),
1316         TOKEN( "move-from-top",                   XML_MOVE_FROM_TOP ),
1317         TOKEN( "move-protect",                    XML_MOVE_PROTECT ),
1318         TOKEN( "move-short",                      XML_MOVE_SHORT ),
1319         TOKEN( "movement",                        XML_MOVEMENT ),
1320         TOKEN( "movement-cut-off",                XML_MOVEMENT_CUT_OFF ),
1321         TOKEN( "mover",                           XML_MOVER ),
1322         TOKEN( "moving-average",                  XML_MOVING_AVERAGE ),
1323         TOKEN( "mpadded",                         XML_MPADDED ),
1324         TOKEN( "mphantom",                        XML_MPHANTOM ),
1325         TOKEN( "mprescripts",                     XML_MPRESCRIPTS ),
1326         TOKEN( "mroot",                           XML_MROOT ),
1327         TOKEN( "mrow",                            XML_MROW ),
1328         TOKEN( "ms",                              XML_MS ),
1329         TOKEN( "mspace",                          XML_MSPACE ),
1330         TOKEN( "msqrt",                           XML_MSQRT ),
1331         TOKEN( "mstyle",                          XML_MSTYLE ),
1332         TOKEN( "msub",                            XML_MSUB ),
1333         TOKEN( "msubsup",                         XML_MSUBSUP ),
1334         TOKEN( "msup",                            XML_MSUP ),
1335         TOKEN( "mtable",                          XML_MTABLE ),
1336         TOKEN( "mtd",                             XML_MTD ),
1337         TOKEN( "mtext",                           XML_MTEXT ),
1338         TOKEN( "mtr",                             XML_MTR ),
1339         TOKEN( "multi-deletion-spanned",          XML_MULTI_DELETION_SPANNED ),
1340         TOKEN( "multi-line",                      XML_MULTI_LINE ),
1341         TOKEN( "multiple",                        XML_MULTIPLE ),
1342         TOKEN( "munder",                          XML_MUNDER ),
1343         TOKEN( "munderover",                      XML_MUNDEROVER ),
1344         TOKEN( "name",                            XML_NAME ),
1345         TOKEN( "name-and-extension",              XML_NAME_AND_EXTENSION ),
1346         TOKEN( "named-expression",                XML_NAMED_EXPRESSION ),
1347         TOKEN( "named-expressions",               XML_NAMED_EXPRESSIONS ),
1348         TOKEN( "named-range",                     XML_NAMED_RANGE ),
1349         TOKEN( "navigation-mode",                 XML_NAVIGATION_MODE ),
1350         TOKEN( "navy",                            XML_NAVY ),
1351         TOKEN( "negative-color",                   XML_NEGATIVE_COLOR ),
1352         TOKEN( "neq",                             XML_NEQ ),
1353         TOKEN( "new",                             XML_NEW ),
1354         TOKEN( "next",                            XML_NEXT ),
1355         TOKEN( "next-page",                       XML_NEXT_PAGE ),
1356         TOKEN( "next-style-name",                 XML_NEXT_STYLE_NAME ),
1357         TOKEN( "no-limit",                        XML_NO_LIMIT ),
1358         TOKEN( "no-wrap",                         XML_NO_WRAP ),
1359         TOKEN( "!empty",                          XML_NOEMPTY ),
1360         TOKEN( "nohref",                          XML_NOHREF ),
1361         TOKEN( "!match",                          XML_NOMATCH ),
1362         TOKEN( "non-whitespace-character-count",  XML_NON_WHITESPACE_CHARACTER_COUNT ),
1363         TOKEN( "none",                            XML_NONE ),
1364         TOKEN( "normal",                          XML_NORMAL ),
1365         TOKEN( "normals-direction",               XML_NORMALS_DIRECTION ),
1366         TOKEN( "normals-kind",                    XML_NORMALS_KIND ),
1367         TOKEN( "not",                             XML_NOT ),
1368         TOKEN( "not-equal-date",                  XML_NOT_EQUAL_DATE ),
1369         TOKEN( "notation",                        XML_NOTATION ),
1370         TOKEN( "note",                            XML_NOTE ),
1371         TOKEN( "notes",                           XML_NOTES ),
1372         TOKEN( "notin",                           XML_NOTIN ),
1373         TOKEN( "notprsubset",                     XML_NOTPRSUBSET ),
1374         TOKEN( "notsubset",                       XML_NOTSUBSET ),
1375         TOKEN( "null-date",                       XML_NULL_DATE ),
1376         TOKEN( "null-year",                       XML_NULL_YEAR ),
1377         TOKEN( "num-format",                      XML_NUM_FORMAT ),
1378         TOKEN( "num-letter-sync",                 XML_NUM_LETTER_SYNC ),
1379         TOKEN( "num-list-format",                 XML_NUM_LIST_FORMAT ),
1380         TOKEN( "num-prefix",                      XML_NUM_PREFIX ),
1381         TOKEN( "num-suffix",                      XML_NUM_SUFFIX ),
1382         TOKEN( "numalign",                        XML_NUMALIGN ),
1383         TOKEN( "number",                          XML_NUMBER ),
1384         TOKEN( "number-and-name",                 XML_NUMBER_AND_NAME ),
1385         TOKEN( "number-columns-repeated",         XML_NUMBER_COLUMNS_REPEATED ),
1386         TOKEN( "number-columns-spanned",          XML_NUMBER_COLUMNS_SPANNED ),
1387         TOKEN( "number-lines",                    XML_NUMBER_LINES ),
1388         TOKEN( "number-matrix-columns-spanned",       XML_NUMBER_MATRIX_COLUMNS_SPANNED ),
1389         TOKEN( "number-matrix-rows-spanned",      XML_NUMBER_MATRIX_ROWS_SPANNED ),
1390         TOKEN( "number-position",                 XML_NUMBER_POSITION ),
1391         TOKEN( "number-rows-repeated",            XML_NUMBER_ROWS_REPEATED ),
1392         TOKEN( "number-rows-spanned",             XML_NUMBER_ROWS_SPANNED ),
1393         TOKEN( "number-style",                    XML_NUMBER_STYLE ),
1394         TOKEN( "number-wrapped-paragraphs",       XML_NUMBER_WRAPPED_PARAGRAPHS ),
1395         TOKEN( "numbered-entries",                XML_NUMBERED_ENTRIES ),
1396         TOKEN( "object",                          XML_OBJECT ),
1397         TOKEN( "object-count",                    XML_OBJECT_COUNT ),
1398         TOKEN( "object-index",                    XML_OBJECT_INDEX ),
1399         TOKEN( "object-index-entry-template",     XML_OBJECT_INDEX_ENTRY_TEMPLATE ),
1400         TOKEN( "object-index-source",             XML_OBJECT_INDEX_SOURCE ),
1401         TOKEN( "object-name",                     XML_OBJECT_NAME ),
1402         TOKEN( "object-ole",                      XML_OBJECT_OLE ),
1403         TOKEN( "objects",                         XML_OBJECTS ),
1404         TOKEN( "odd-page",                        XML_ODD_PAGE ),
1405         TOKEN( "offset",                          XML_OFFSET ),
1406         TOKEN( "olive",                           XML_OLIVE ),
1407         TOKEN( "onLoad",                          XML_ONLOAD ),
1408         TOKEN( "onRequest",                       XML_ONREQUEST ),
1409         TOKEN( "on-update-keep-size",             XML_ON_UPDATE_KEEP_SIZE ),
1410         TOKEN( "on-update-keep-styles",           XML_ON_UPDATE_KEEP_STYLES ),
1411         TOKEN( "online",                          XML_ONLINE ),
1412         TOKEN( "online-text",                     XML_ONLINE_TEXT ),
1413         TOKEN( "open",                            XML_OPEN ),
1414         TOKEN( "open-horizontal",                 XML_OPEN_HORIZONTAL ),
1415         TOKEN( "open-vertical",                   XML_OPEN_VERTICAL ),
1416         TOKEN( "operation",                       XML_OPERATION ),
1417         TOKEN( "operator",                        XML_OPERATOR ),
1418         TOKEN( "optimal",                         XML_OPTIMAL ),
1419         TOKEN( "option",                          XML_OPTION ),
1420         TOKEN( "or",                              XML_OR ),
1421         TOKEN( "order",                           XML_ORDER ),
1422         TOKEN( "ordered-list",                    XML_ORDERED_LIST ),
1423         TOKEN( "organizations",                   XML_ORGANIZATIONS ),
1424         TOKEN( "orientation",                     XML_ORIENTATION ),
1425         TOKEN( "orientation-landscape",           XML_ORIENTATION_LANDSCAPE ),
1426         TOKEN( "orientation-portrait",            XML_ORIENTATION_PORTRAIT ),
1427         TOKEN( "origin",                          XML_ORIGIN ),
1428         TOKEN( "orphans",                         XML_ORPHANS ),
1429         TOKEN( "outline-content-visible",         XML_OUTLINE_CONTENT_VISIBLE ),
1430         TOKEN( "outline-level",                   XML_OUTLINE_LEVEL ),
1431         TOKEN( "outline-level-style",             XML_OUTLINE_LEVEL_STYLE ),
1432         TOKEN( "outline-style",                   XML_OUTLINE_STYLE ),
1433         TOKEN( "outset",                          XML_OUTSET ),
1434         TOKEN( "outside",                         XML_OUTSIDE ),
1435         TOKEN( "overlap",                         XML_OVERLAP ),
1436         TOKEN( "overlay",                         XML_OVERLAY ),
1437         TOKEN( "p",                               XML_P ),
1438         TOKEN( "package-name",                    XML_PACKAGE_NAME ),
1439         TOKEN( "padding",                         XML_PADDING ),
1440         TOKEN( "padding-bottom",                  XML_PADDING_BOTTOM ),
1441         TOKEN( "padding-left",                    XML_PADDING_LEFT ),
1442         TOKEN( "padding-right",                   XML_PADDING_RIGHT ),
1443         TOKEN( "padding-top",                     XML_PADDING_TOP ),
1444         TOKEN( "page",                            XML_PAGE ),
1445         TOKEN( "page-adjust",                     XML_PAGE_ADJUST ),
1446         TOKEN( "page-breaks-on-group-change",     XML_PAGE_BREAKS_ON_GROUP_CHANGE ),
1447         TOKEN( "page-content",                    XML_PAGE_CONTENT ),
1448         TOKEN( "page-continuation-string",        XML_PAGE_CONTINUATION_STRING ),
1449         TOKEN( "page-count",                      XML_PAGE_COUNT ),
1450         TOKEN( "page-end-margin",                 XML_PAGE_END_MARGIN ),
1451         TOKEN( "page-height",                     XML_PAGE_HEIGHT ),
1452         TOKEN( "page-master",                     XML_PAGE_MASTER ),
1453         TOKEN( "page-master-name",                XML_PAGE_MASTER_NAME ),
1454         TOKEN( "page-name",                       XML_PAGE_NAME ),
1455         TOKEN( "page-number",                     XML_PAGE_NUMBER ),
1456         TOKEN( "page-number-visible",             XML_PAGE_NUMBER_VISIBLE ),
1457         TOKEN( "page-start-margin",               XML_PAGE_START_MARGIN ),
1458         TOKEN( "page-step-size",                  XML_PAGE_STEP_SIZE ),
1459         TOKEN( "page-style-name",                 XML_PAGE_STYLE_NAME ),
1460         TOKEN( "page-thumbnail",                  XML_PAGE_THUMBNAIL ),
1461         TOKEN( "page-usage",                      XML_PAGE_USAGE ),
1462         TOKEN( "page-variable-get",               XML_PAGE_VARIABLE_GET ),
1463         TOKEN( "page-variable-set",               XML_PAGE_VARIABLE_SET ),
1464         TOKEN( "page-view-zoom-value",            XML_PAGE_VIEW_ZOOM_VALUE ),
1465         TOKEN( "page-width",                      XML_PAGE_WIDTH ),
1466         TOKEN( "pages",                           XML_PAGES ),
1467         TOKEN( "paper-tray-number",               XML_PAPER_TRAY_NUMBER ),
1468         TOKEN( "paragraph",                       XML_PARAGRAPH ),
1469         TOKEN( "paragraph-content",               XML_PARAGRAPH_CONTENT ),
1470         TOKEN( "paragraph-count",                 XML_PARAGRAPH_COUNT ),
1471         TOKEN( "paragraph-end-margin",            XML_PARAGRAPH_END_MARGIN ),
1472         TOKEN( "paragraph-start-margin",          XML_PARAGRAPH_START_MARGIN ),
1473         TOKEN( "parallel",                        XML_PARALLEL ),
1474         TOKEN( "param",                           XML_PARAM ),
1475         TOKEN( "parent-style-name",               XML_PARENT_STYLE_NAME ),
1476         TOKEN( "parse-sql-statement",             XML_PARSE_SQL_STATEMENT ),
1477         TOKEN( "parsed",                          XML_PARSED ),
1478         TOKEN( "partialdiff",                     XML_PARTIALDIFF ),
1479         TOKEN( "password",                        XML_PASSWORD ),
1480         TOKEN( "passwort",                        XML_PASSWORT ),
1481         TOKEN( "path",                            XML_PATH ),
1482         TOKEN( "path-id",                         XML_PATH_ID ),
1483         TOKEN( "pause",                           XML_PAUSE ),
1484         TOKEN( "pending",                         XML_PENDING ),
1485         TOKEN( "percentage",                      XML_PERCENTAGE ),
1486         TOKEN( "percentage-style",                XML_PERCENTAGE_STYLE ),
1487         TOKEN( "perspective",                     XML_PERSPECTIVE ),
1488         TOKEN( "phdthesis",                       XML_PHDTHESIS ),
1489         TOKEN( "phong",                           XML_PHONG ),
1490         TOKEN( "velocity-x",                      XML_PHYSICS_ANIMATION_START_VELOCITY_X ),
1491         TOKEN( "velocity-y",                      XML_PHYSICS_ANIMATION_START_VELOCITY_Y ),
1492         TOKEN( "density",                         XML_PHYSICS_ANIMATION_DENSITY ),
1493         TOKEN( "bounciness",                      XML_PHYSICS_ANIMATION_BOUNCINESS ),
1494         TOKEN( "pie-offset",                      XML_PIE_OFFSET ),
1495         TOKEN( "placeholder",                     XML_PLACEHOLDER ),
1496         TOKEN( "placeholder-type",                XML_PLACEHOLDER_TYPE ),
1497         TOKEN( "placing",                         XML_PLACING ),
1498         TOKEN( "plain-number",                    XML_PLAIN_NUMBER ),
1499         TOKEN( "plain-number-and-name",           XML_PLAIN_NUMBER_AND_NAME ),
1500         TOKEN( "play-full",                       XML_PLAY_FULL ),
1501         TOKEN( "plot-area",                       XML_PLOT_AREA ),
1502         TOKEN( "plugin",                          XML_PLUGIN ),
1503         TOKEN( "plus",                            XML_PLUS ),
1504         TOKEN( "points",                          XML_POINTS ),
1505         TOKEN( "polygon",                         XML_POLYGON ),
1506         TOKEN( "polyline",                        XML_POLYLINE ),
1507         TOKEN( "polynomial",                      XML_POLYNOMIAL ),
1508         TOKEN( "pool-id",                         XML_POOL_ID ),
1509         TOKEN( "portrait",                        XML_PORTRAIT ),
1510         TOKEN( "position",                        XML_POSITION ),
1511         TOKEN( "position-bottom",                 XML_POSITION_BOTTOM ),
1512         TOKEN( "position-left",                   XML_POSITION_LEFT ),
1513         TOKEN( "position-right",                  XML_POSITION_RIGHT ),
1514         TOKEN( "position-top",                    XML_POSITION_TOP ),
1515         TOKEN( "positive-color",                  XML_POSITIVE_COLOR ),
1516         TOKEN( "oblique",                         XML_POSTURE_OBLIQUE ),
1517         TOKEN( "power",                           XML_POWER ),
1518         TOKEN( "precision-as-shown",              XML_PRECISION_AS_SHOWN ),
1519         TOKEN( "prefix",                          XML_PREFIX ),
1520         TOKEN( "infix",                           XML_INFIX ),
1521         TOKEN( "postfix",                         XML_POSTFIX ),
1522         TOKEN( "presentation",                    XML_PRESENTATION ),
1523         TOKEN( "orgchart",                        XML_PRESENTATION_ORGCHART ),
1524         TOKEN( "outline",                         XML_PRESENTATION_OUTLINE ),
1525         TOKEN( "presentation-page-layout",        XML_PRESENTATION_PAGE_LAYOUT ),
1526         TOKEN( "presentation-page-layout-name",   XML_PRESENTATION_PAGE_LAYOUT_NAME ),
1527         TOKEN( "previous",                        XML_PREVIOUS ),
1528         TOKEN( "previous-page",                   XML_PREVIOUS_PAGE ),
1529         TOKEN( "print",                           XML_PRINT ),
1530         TOKEN( "print-content",                   XML_PRINT_CONTENT ),
1531         TOKEN( "print-date",                      XML_PRINT_DATE ),
1532         TOKEN( "print-orientation",               XML_PRINT_ORIENTATION ),
1533         TOKEN( "print-page-order",                XML_PRINT_PAGE_ORDER ),
1534         TOKEN( "print-range",                     XML_PRINT_RANGE ),
1535         TOKEN( "print-ranges",                    XML_PRINT_RANGES ),
1536         TOKEN( "print-time",                      XML_PRINT_TIME ),
1537         TOKEN( "printable",                       XML_PRINTABLE ),
1538         TOKEN( "printed-by",                      XML_PRINTED_BY ),
1539         TOKEN( "prior",                           XML_PRIOR ),
1540         TOKEN( "proceedings",                     XML_PROCEEDINGS ),
1541         TOKEN( "product",                         XML_PRODUCT ),
1542         TOKEN( "projection",                      XML_PROJECTION ),
1543         TOKEN( "properties",                      XML_PROPERTIES ),
1544         TOKEN( "protect",                         XML_PROTECT ),
1545         TOKEN( "protected",                       XML_PROTECTED ),
1546         TOKEN( "protection-key",                  XML_PROTECTION_KEY ),
1547         TOKEN( "protection-key-digest-algorithm",   XML_PROTECTION_KEY_DIGEST_ALGORITHM ),
1548         TOKEN( "protection-key-digest-algorithm-2", XML_PROTECTION_KEY_DIGEST_ALGORITHM_2 ),
1549         TOKEN( "prsubset",                        XML_PRSUBSET ),
1550         TOKEN( "publisher",                       XML_PUBLISHER ),
1551         TOKEN( "punctuation-wrap",                XML_PUNCTUATION_WRAP ),
1552         TOKEN( "purple",                          XML_PURPLE ),
1553         TOKEN( "pyramid",                         XML_PYRAMID ),
1554         TOKEN( "qrcode",                          XML_QRCODE ),
1555         TOKEN( "qrcode-border",                   XML_QRCODE_BORDER ),
1556         TOKEN( "qrcode-errorcorrection",          XML_QRCODE_ERROR_CORRECTION ),
1557         TOKEN( "quarter",                         XML_QUARTER ),
1558         TOKEN( "query-name",                      XML_QUERY_NAME ),
1559         TOKEN( "quo-vadis",                       XML_QUO_VADIS ),
1560         TOKEN( "quotient",                        XML_QUOTIENT ),
1561         TOKEN( "r",                               XML_R ),
1562         TOKEN( "radar",                           XML_RADAR ),
1563         TOKEN( "random",                          XML_RANDOM ),
1564         TOKEN( "range-address",                   XML_RANGE_ADDRESS ),
1565         TOKEN( "range-usable-as",                 XML_RANGE_USABLE_AS ),
1566         TOKEN( "recreate-on-edit",                XML_RECREATE_ON_EDIT ),
1567         TOKEN( "rect",                            XML_RECT ),
1568         TOKEN( "red",                             XML_RED ),
1569         TOKEN( "ref-name",                        XML_REF_NAME ),
1570         TOKEN( "reference",                       XML_REFERENCE ),
1571         TOKEN( "reference-end",                   XML_REFERENCE_END ),
1572         TOKEN( "reference-format",                XML_REFERENCE_FORMAT ),
1573         TOKEN( "reference-mark",                  XML_REFERENCE_MARK ),
1574         TOKEN( "reference-mark-end",              XML_REFERENCE_MARK_END ),
1575         TOKEN( "reference-mark-start",            XML_REFERENCE_MARK_START ),
1576         TOKEN( "reference-ref",                   XML_REFERENCE_REF ),
1577         TOKEN( "reference-start",                 XML_REFERENCE_START ),
1578         TOKEN( "reference-type",                  XML_REFERENCE_TYPE ),
1579         TOKEN( "refresh-delay",                   XML_REFRESH_DELAY ),
1580         TOKEN( "region-center",                   XML_REGION_CENTER ),
1581         TOKEN( "region-left",                     XML_REGION_LEFT ),
1582         TOKEN( "region-right",                    XML_REGION_RIGHT ),
1583         TOKEN( "register-true",                   XML_REGISTER_TRUE ),
1584         TOKEN( "register-truth-ref-style-name",       XML_REGISTER_TRUTH_REF_STYLE_NAME ),
1585         TOKEN( "rejected",                        XML_REJECTED ),
1586         TOKEN( "rejecting-change-id",             XML_REJECTING_CHANGE_ID ),
1587         TOKEN( "rejection",                       XML_REJECTION ),
1588         TOKEN( "rel-column-width",                XML_REL_COLUMN_WIDTH ),
1589         TOKEN( "rel-height",                      XML_REL_HEIGHT ),
1590         TOKEN( "rel-height-rel",                  XML_REL_HEIGHT_REL ),
1591         TOKEN( "rel-width",                       XML_REL_WIDTH ),
1592         TOKEN( "rel-width-rel",                   XML_REL_WIDTH_REL ),
1593         TOKEN( "relative",                        XML_RELATIVE ),
1594         TOKEN( "relative-tab-stop-position",      XML_RELATIVE_TAB_STOP_POSITION ),
1595         TOKEN( "reln",                            XML_RELN ),
1596         TOKEN( "rem",                             XML_REM ),
1597         TOKEN( "remove-dependents",               XML_REMOVE_DEPENDENTS ),
1598         TOKEN( "remove-precedents",               XML_REMOVE_PRECEDENTS ),
1599         TOKEN( "repeat",                          XML_REPEAT ),
1600         TOKEN( "repeat-column",                   XML_REPEAT_COLUMN ),
1601         TOKEN( "repeat-row",                      XML_REPEAT_ROW ),
1602         TOKEN( "repeated",                        XML_REPEATED ),
1603         TOKEN( "replace",                         XML_REPLACE ),
1604         TOKEN( "report-type",                     XML_REPORT_TYPE ),
1605         TOKEN( "restart-on-page",                 XML_RESTART_ON_PAGE ),
1606         TOKEN( "revision",                        XML_REVISION ),
1607         TOKEN( "ridge",                           XML_RIDGE ),
1608         TOKEN( "right",                           XML_RIGHT ),
1609         TOKEN( "right-outside",                   XML_RIGHT_OUTSIDE ),
1610         TOKEN( "right-text",                      XML_RIGHT_TEXT ),
1611         TOKEN( "right-arc",                       XML_RIGHTARC ),
1612         TOKEN( "right-circle",                    XML_RIGHTCIRCLE ),
1613         TOKEN( "ring",                            XML_RING ),
1614         TOKEN( "role",                            XML_ROLE ),
1615         TOKEN( "roll-from-bottom",                XML_ROLL_FROM_BOTTOM ),
1616         TOKEN( "roll-from-left",                  XML_ROLL_FROM_LEFT ),
1617         TOKEN( "roll-from-right",                 XML_ROLL_FROM_RIGHT ),
1618         TOKEN( "roman",                           XML_ROMAN ),
1619         TOKEN( "root",                            XML_ROOT ),
1620         TOKEN( "rotate",                          XML_ROTATE ),
1621         TOKEN( "rotation",                        XML_ROTATION ),
1622         TOKEN( "rotation-align",                  XML_ROTATION_ALIGN ),
1623         TOKEN( "rotation-angle",                  XML_ROTATION_ANGLE ),
1624         TOKEN( "round",                           XML_ROUND ),
1625         TOKEN( "row",                             XML_ROW ),
1626         TOKEN( "row-height",                      XML_ROW_HEIGHT ),
1627         TOKEN( "row-number",                      XML_ROW_NUMBER ),
1628         TOKEN( "rows",                            XML_ROWS ),
1629         TOKEN( "rsid",                            XML_RSID ),
1630         TOKEN( "paragraph-rsid",                  XML_PARRSID ),
1631         TOKEN( "ruby",                            XML_RUBY ),
1632         TOKEN( "ruby-align",                      XML_RUBY_ALIGN ),
1633         TOKEN( "ruby-base",                       XML_RUBY_BASE ),
1634         TOKEN( "ruby-position",                   XML_RUBY_POSITION ),
1635         TOKEN( "ruby-text",                       XML_RUBY_TEXT ),
1636         TOKEN( "run-through",                     XML_RUN_THROUGH ),
1637         TOKEN( "rx",                              XML_RX ),
1638         TOKEN( "ry",                              XML_RY ),
1639         TOKEN( "s",                               XML_S ),
1640         TOKEN( "scale",                           XML_SCALE ),
1641         TOKEN( "scale-min",                       XML_SCALE_MIN ),
1642         TOKEN( "scale-text",                      XML_SCALE_TEXT ),
1643         TOKEN( "scale-to",                        XML_SCALE_TO ),
1644         TOKEN( "scale-to-pages",                  XML_SCALE_TO_PAGES ),
1645         TOKEN( "scatter",                         XML_SCATTER ),
1646         TOKEN( "scenario",                        XML_SCENARIO ),
1647         TOKEN( "scenario-ranges",                 XML_SCENARIO_RANGES ),
1648         TOKEN( "scene",                           XML_SCENE ),
1649         TOKEN( "school",                          XML_SCHOOL ),
1650         TOKEN( "scientific-number",               XML_SCIENTIFIC_NUMBER ),
1651         TOKEN( "score-spaces",                    XML_SCORE_SPACES ),
1652         TOKEN( "script",                          XML_SCRIPT ),
1653         TOKEN( "script-asian",                    XML_SCRIPT_ASIAN ),
1654         TOKEN( "script-complex",                  XML_SCRIPT_COMPLEX ),
1655         TOKEN( "scroll",                          XML_SCROLL ),
1656         TOKEN( "sdev",                            XML_SDEV ),
1657         TOKEN( "search-criteria-must-apply-to-whole-cell",        XML_SEARCH_CRITERIA_MUST_APPLY_TO_WHOLE_CELL ),
1658         TOKEN( "sec",                             XML_SEC ),
1659         TOKEN( "sech",                            XML_SECH ),
1660         TOKEN( "second-date-time",                XML_SECOND_DATE_TIME ),
1661         TOKEN( "seconds",                         XML_SECONDS ),
1662         TOKEN( "section",                         XML_SECTION ),
1663         TOKEN( "section-desc",                    XML_SECTION_DESC ),
1664         TOKEN( "section-name",                    XML_SECTION_NAME ),
1665         TOKEN( "section-source",                  XML_SECTION_SOURCE ),
1666         TOKEN( "select-page",                     XML_SELECT_PAGE ),
1667         TOKEN( "select-protected-cells",          XML_SELECT_PROTECTED_CELLS ),
1668         TOKEN( "select-unprotected-cells",        XML_SELECT_UNPROTECTED_CELLS ),
1669         TOKEN( "selector",                        XML_SELECTOR ),
1670         TOKEN( "semantics",                       XML_SEMANTICS ),
1671         TOKEN( "semi-automatic",                  XML_SEMI_AUTOMATIC ),
1672         TOKEN( "sender-city",                     XML_SENDER_CITY ),
1673         TOKEN( "sender-company",                  XML_SENDER_COMPANY ),
1674         TOKEN( "sender-country",                  XML_SENDER_COUNTRY ),
1675         TOKEN( "sender-email",                    XML_SENDER_EMAIL ),
1676         TOKEN( "sender-fax",                      XML_SENDER_FAX ),
1677         TOKEN( "sender-firstname",                XML_SENDER_FIRSTNAME ),
1678         TOKEN( "sender-initials",                 XML_SENDER_INITIALS ),
1679         TOKEN( "sender-lastname",                 XML_SENDER_LASTNAME ),
1680         TOKEN( "sender-phone-private",            XML_SENDER_PHONE_PRIVATE ),
1681         TOKEN( "sender-phone-work",               XML_SENDER_PHONE_WORK ),
1682         TOKEN( "sender-position",                 XML_SENDER_POSITION ),
1683         TOKEN( "sender-postal-code",              XML_SENDER_POSTAL_CODE ),
1684         TOKEN( "sender-state-or-province",        XML_SENDER_STATE_OR_PROVINCE ),
1685         TOKEN( "sender-street",                   XML_SENDER_STREET ),
1686         TOKEN( "sender-title",                    XML_SENDER_TITLE ),
1687         TOKEN( "sep",                             XML_SEP ),
1688         TOKEN( "separation-character",            XML_SEPARATION_CHARACTER ),
1689         TOKEN( "separator",                       XML_SEPARATOR ),
1690         TOKEN( "sequence",                        XML_SEQUENCE ),
1691         TOKEN( "sequence-decl",                   XML_SEQUENCE_DECL ),
1692         TOKEN( "sequence-decls",                  XML_SEQUENCE_DECLS ),
1693         TOKEN( "sequence-ref",                    XML_SEQUENCE_REF ),
1694         TOKEN( "series",                          XML_SERIES ),
1695         TOKEN( "series-source",                   XML_SERIES_SOURCE ),
1696         TOKEN( "server-map",                      XML_SERVER_MAP ),
1697         TOKEN( "set",                             XML_SET ),
1698         TOKEN( "setdiff",                         XML_SETDIFF ),
1699         TOKEN( "settings",                        XML_SETTINGS ),
1700         TOKEN( "shade-mode",                      XML_SHADE_MODE ),
1701         TOKEN( "shadow",                          XML_SHADOW ),
1702         TOKEN( "shadow-color",                    XML_SHADOW_COLOR ),
1703         TOKEN( "shadow-offset-x",                 XML_SHADOW_OFFSET_X ),
1704         TOKEN( "shadow-offset-y",                 XML_SHADOW_OFFSET_Y ),
1705         TOKEN( "shadow-slant",                    XML_SHADOW_SLANT ),
1706         TOKEN( "shadow-transparency",             XML_SHADOW_TRANSPARENCY ),
1707         TOKEN( "shadow-blur",                     XML_SHADOW_BLUR ),
1708         TOKEN( "shape",                           XML_SHAPE ),
1709         TOKEN( "shape-id",                        XML_SHAPE_ID ),
1710         TOKEN( "shapes",                          XML_SHAPES ),
1711         TOKEN( "sheet-name",                      XML_SHEET_NAME ),
1712         TOKEN( "shininess",                       XML_SHININESS ),
1713         TOKEN( "short",                           XML_SHORT ),
1714         TOKEN( "show",                            XML_SHOW ),
1715         TOKEN( "show-accepted-changes",           XML_SHOW_ACCEPTED_CHANGES ),
1716         TOKEN( "show-changes",                    XML_SHOW_CHANGES ),
1717         TOKEN( "show-changes-by-author",          XML_SHOW_CHANGES_BY_AUTHOR ),
1718         TOKEN( "show-changes-by-author-name",     XML_SHOW_CHANGES_BY_AUTHOR_NAME ),
1719         TOKEN( "show-changes-by-comment",         XML_SHOW_CHANGES_BY_COMMENT ),
1720         TOKEN( "show-changes-by-comment-text",        XML_SHOW_CHANGES_BY_COMMENT_TEXT ),
1721         TOKEN( "show-changes-by-datetime",        XML_SHOW_CHANGES_BY_DATETIME ),
1722         TOKEN( "show-changes-by-datetime-first-datetime",     XML_SHOW_CHANGES_BY_DATETIME_FIRST_DATETIME ),
1723         TOKEN( "show-changes-by-datetime-mode",       XML_SHOW_CHANGES_BY_DATETIME_MODE ),
1724         TOKEN( "show-changes-by-datetime-second-datetime",        XML_SHOW_CHANGES_BY_DATETIME_SECOND_DATETIME ),
1725         TOKEN( "show-changes-by-ranges",          XML_SHOW_CHANGES_BY_RANGES ),
1726         TOKEN( "show-changes-by-ranges-list",     XML_SHOW_CHANGES_BY_RANGES_LIST ),
1727         TOKEN( "show-logo",                       XML_SHOW_LOGO ),
1728         TOKEN( "show-rejected-changes",           XML_SHOW_REJECTED_CHANGES ),
1729         TOKEN( "show-shape",                      XML_SHOW_SHAPE ),
1730         TOKEN( "show-text",                       XML_SHOW_TEXT ),
1731         TOKEN( "show-unit",                       XML_SHOW_UNIT ),
1732         TOKEN( "show-value",                      XML_SHOW_VALUE ),
1733         TOKEN( "shows",                           XML_SHOWS ),
1734         TOKEN( "side-by-side",                    XML_SIDE_BY_SIDE ),
1735         TOKEN( "silver",                          XML_SILVER ),
1736         TOKEN( "simple",                          XML_SIMPLE ),
1737         TOKEN( "sin",                             XML_SIN ),
1738         TOKEN( "since-date-time",                 XML_SINCE_DATE_TIME ),
1739         TOKEN( "since-save",                      XML_SINCE_SAVE ),
1740         TOKEN( "sinh",                            XML_SINH ),
1741         TOKEN( "size",                            XML_SIZE ),
1742         TOKEN( "size-protect",                    XML_SIZE_PROTECT ),
1743         TOKEN( "slant",                           XML_SLANT ),
1744         TOKEN( "slant-x",                         XML_SLANT_X ),
1745         TOKEN( "slant-y",                         XML_SLANT_Y ),
1746         TOKEN( "slide",                           XML_SLIDE ),
1747         TOKEN( "slow",                            XML_SLOW ),
1748         TOKEN( "softedge-radius",                 XML_SOFTEDGE_RADIUS ),
1749         TOKEN( "solid",                           XML_SOLID ),
1750         TOKEN( "solid-type",                      XML_SOLID_TYPE ),
1751         TOKEN( "sort",                            XML_SORT ),
1752         TOKEN( "sort-ascending",                  XML_SORT_ASCENDING ),
1753         TOKEN( "sort-by",                         XML_SORT_BY ),
1754         TOKEN( "sort-by-position",                XML_SORT_BY_POSITION ),
1755         TOKEN( "sort-groups",                     XML_SORT_GROUPS ),
1756         TOKEN( "sort-key",                        XML_SORT_KEY ),
1757         TOKEN( "sound",                           XML_SOUND ),
1758         TOKEN( "source-cell-range",               XML_SOURCE_CELL_RANGE ),
1759         TOKEN( "source-cell-range-addresses",     XML_SOURCE_CELL_RANGE_ADDRESSES ),
1760         TOKEN( "source-field-name",               XML_SOURCE_FIELD_NAME ),
1761         TOKEN( "source-name",                     XML_SOURCE_NAME ),
1762         TOKEN( "source-range-address",            XML_SOURCE_RANGE_ADDRESS ),
1763         TOKEN( "source-service",                  XML_SOURCE_SERVICE ),
1764         TOKEN( "space-before",                    XML_SPACE_BEFORE ),
1765         TOKEN( "span",                            XML_SPAN ),
1766         TOKEN( "specular",                        XML_SPECULAR ),
1767         TOKEN( "specular-color",                  XML_SPECULAR_COLOR ),
1768         TOKEN( "speed",                           XML_SPEED ),
1769         TOKEN( "sphere",                          XML_SPHERE ),
1770         TOKEN( "spiral",                          XML_SPIRAL ),
1771         TOKEN( "spiral-in",                       XML_SPIRAL_IN ),
1772         TOKEN( "spiral-inward-left",              XML_SPIRAL_INWARD_LEFT ),
1773         TOKEN( "spiral-inward-right",             XML_SPIRAL_INWARD_RIGHT ),
1774         TOKEN( "spiral-out",                      XML_SPIRAL_OUT ),
1775         TOKEN( "spiral-outward-left",             XML_SPIRAL_OUTWARD_LEFT ),
1776         TOKEN( "spiral-outward-right",            XML_SPIRAL_OUTWARD_RIGHT ),
1777         TOKEN( "spiralin-left",                   XML_SPIRALIN_LEFT ),
1778         TOKEN( "spiralin-right",                  XML_SPIRALIN_RIGHT ),
1779         TOKEN( "spiralout-left",                  XML_SPIRALOUT_LEFT ),
1780         TOKEN( "spiralout-right",                 XML_SPIRALOUT_RIGHT ),
1781         TOKEN( "splines",                         XML_SPLINES ),
1782         TOKEN( "split",                           XML_SPLIT ),
1783         TOKEN( "split-column",                    XML_SPLIT_COLUMN ),
1784         TOKEN( "split-position",                  XML_SPLIT_POSITION ),
1785         TOKEN( "split-row",                       XML_SPLIT_ROW ),
1786         TOKEN( "spreadsheet",                     XML_SPREADSHEET ),
1787         TOKEN( "spreadMethod",                    XML_SPREADMETHOD ),
1788         TOKEN( "sql-statement",                   XML_SQL_STATEMENT ),
1789         TOKEN( "stacked",                         XML_STACKED ),
1790         TOKEN( "stagger-even",                    XML_STAGGER_EVEN ),
1791         TOKEN( "stagger-odd",                     XML_STAGGER_ODD ),
1792         TOKEN( "standard",                        XML_STANDARD ),
1793         TOKEN( "standard-deviation",              XML_STANDARD_DEVIATION ),
1794         TOKEN( "starbasic",                       XML_STARBASIC ),
1795         TOKEN( "start",                           XML_START ),
1796         TOKEN( "start-angle",                     XML_START_ANGLE ),
1797         TOKEN( "start-color",                     XML_START_COLOR ),
1798         TOKEN( "start-column",                    XML_START_COLUMN ),
1799         TOKEN( "start-glue-point",                XML_START_GLUE_POINT ),
1800         TOKEN( "start-guide",                     XML_START_GUIDE ),
1801         TOKEN( "start-intensity",                 XML_START_INTENSITY ),
1802         TOKEN( "start-line-spacing-horizontal",       XML_START_LINE_SPACING_HORIZONTAL ),
1803         TOKEN( "start-line-spacing-vertical",     XML_START_LINE_SPACING_VERTICAL ),
1804         TOKEN( "start-numbering-at",              XML_START_NUMBERING_AT ),
1805         TOKEN( "start-page",                      XML_START_PAGE ),
1806         TOKEN( "start-position",                  XML_START_POSITION ),
1807         TOKEN( "start-row",                       XML_START_ROW ),
1808         TOKEN( "start-scale",                     XML_START_SCALE ),
1809         TOKEN( "start-shape",                     XML_START_SHAPE ),
1810         TOKEN( "start-table",                     XML_START_TABLE ),
1811         TOKEN( "start-value",                     XML_START_VALUE ),
1812         TOKEN( "start-with-navigator",            XML_START_WITH_NAVIGATOR ),
1813         TOKEN( "state",                           XML_STATE ),
1814         TOKEN( "statistics",                      XML_STATISTICS ),
1815         TOKEN( "status",                          XML_STATUS ),
1816         TOKEN( "stay-on-top",                     XML_STAY_ON_TOP ),
1817         TOKEN( "stdev",                           XML_STDEV ),
1818         TOKEN( "stdevp",                          XML_STDEVP ),
1819         TOKEN( "steps",                           XML_STEPS ),
1820         TOKEN( "step-size",                       XML_STEP_SIZE ),
1821         TOKEN( "stock",                           XML_STOCK ),
1822         TOKEN( "stock-updown-bars",               XML_STOCK_UPDOWN_BARS ),
1823         TOKEN( "stock-with-volume",               XML_STOCK_WITH_VOLUME ),
1824         TOKEN( "stop",                            XML_STOP ),
1825         TOKEN( "stop-color",                      XML_STOP_COLOR ),
1826         TOKEN( "stop-opacity",                    XML_STOP_OPACITY ),
1827         TOKEN( "stretch",                         XML_STRETCH ),
1828         TOKEN( "stretch-from-bottom",             XML_STRETCH_FROM_BOTTOM ),
1829         TOKEN( "stretch-from-left",               XML_STRETCH_FROM_LEFT ),
1830         TOKEN( "stretch-from-right",              XML_STRETCH_FROM_RIGHT ),
1831         TOKEN( "stretch-from-top",                XML_STRETCH_FROM_TOP ),
1832         TOKEN( "stretchy",                        XML_STRETCHY ),
1833         TOKEN( "strict",                          XML_STRICT ),
1834         TOKEN( "string",                          XML_STRING ),
1835         TOKEN( "string-value",                    XML_STRING_VALUE ),
1836         TOKEN( "string-value-if-false",           XML_STRING_VALUE_IF_FALSE ),
1837         TOKEN( "string-value-if-true",            XML_STRING_VALUE_IF_TRUE ),
1838         TOKEN( "stripes",                         XML_STRIPES ),
1839         TOKEN( "stroke",                          XML_STROKE ),
1840         TOKEN( "stroke-color",                    XML_STROKE_COLOR ),
1841         TOKEN( "stroke-dash",                     XML_STROKE_DASH ),
1842         TOKEN( "stroke-linecap",                  XML_STROKE_LINECAP ),
1843         TOKEN( "stroke-linejoin",                 XML_STROKE_LINEJOIN ),
1844         TOKEN( "stroke-opacity",                  XML_STROKE_OPACITY ),
1845         TOKEN( "stroke-width",                    XML_STROKE_WIDTH ),
1846         TOKEN( "structure-protected",             XML_STRUCTURE_PROTECTED ),
1847         TOKEN( "style",                           XML_STYLE ),
1848         TOKEN( "style-name",                      XML_STYLE_NAME ),
1849         TOKEN( "styles",                          XML_STYLES ),
1850         TOKEN( "stylesheet",                      XML_STYLESHEET ),
1851         TOKEN( "sub-table",                       XML_SUB_TABLE ),
1852         TOKEN( "subject",                         XML_SUBJECT ),
1853         TOKEN( "subset",                          XML_SUBSET ),
1854         TOKEN( "subtitle",                        XML_SUBTITLE ),
1855         TOKEN( "subtotal-field",                  XML_SUBTOTAL_FIELD ),
1856         TOKEN( "subtotal-rule",                   XML_SUBTOTAL_RULE ),
1857         TOKEN( "subtotal-rules",                  XML_SUBTOTAL_RULES ),
1858         TOKEN( "sub-view-size",                   XML_SUB_VIEW_SIZE ),
1859         TOKEN( "suffix",                          XML_SUFFIX ),
1860         TOKEN( "sum",                             XML_SUM ),
1861         TOKEN( "swiss",                           XML_SWISS ),
1862         TOKEN( "symbol",                          XML_SYMBOL ),
1863         TOKEN( "symbol-height",                   XML_SYMBOL_HEIGHT ),
1864         TOKEN( "symbol-image-name",               XML_SYMBOL_IMAGE_NAME ),
1865         TOKEN( "symbol-width",                    XML_SYMBOL_WIDTH ),
1866         TOKEN( "system",                          XML_SYSTEM ),
1867         TOKEN( "tab-color",                       XML_TAB_COLOR ),
1868         TOKEN( "tab-cycle",                       XML_TAB_CYCLE ),
1869         TOKEN( "tab-index",                       XML_TAB_INDEX ),
1870         TOKEN( "tab-stop",                        XML_TAB_STOP ),
1871         TOKEN( "tab-stop-distance",               XML_TAB_STOP_DISTANCE ),
1872         TOKEN( "tab-stops",                       XML_TAB_STOPS ),
1873         TOKEN( "table",                           XML_TABLE ),
1874         TOKEN( "table-background",                XML_TABLE_BACKGROUND ),
1875         TOKEN( "table-cell",                      XML_TABLE_CELL ),
1876         TOKEN( "table-centering",                 XML_TABLE_CENTERING ),
1877         TOKEN( "table-column",                    XML_TABLE_COLUMN ),
1878         TOKEN( "table-column-group",              XML_TABLE_COLUMN_GROUP ),
1879         TOKEN( "table-columns",                   XML_TABLE_COLUMNS ),
1880         TOKEN( "table-count",                     XML_TABLE_COUNT ),
1881         TOKEN( "table-header",                    XML_TABLE_HEADER ),
1882         TOKEN( "table-header-columns",            XML_TABLE_HEADER_COLUMNS ),
1883         TOKEN( "table-header-rows",               XML_TABLE_HEADER_ROWS ),
1884         TOKEN( "table-index",                     XML_TABLE_INDEX ),
1885         TOKEN( "table-index-entry-template",      XML_TABLE_INDEX_ENTRY_TEMPLATE ),
1886         TOKEN( "table-index-source",              XML_TABLE_INDEX_SOURCE ),
1887         TOKEN( "table-name",                      XML_TABLE_NAME ),
1888         TOKEN( "table-of-content",                XML_TABLE_OF_CONTENT ),
1889         TOKEN( "table-of-content-entry-template",     XML_TABLE_OF_CONTENT_ENTRY_TEMPLATE ),
1890         TOKEN( "table-of-content-source",         XML_TABLE_OF_CONTENT_SOURCE ),
1891         TOKEN( "table-page",                      XML_TABLE_PAGE ),
1892         TOKEN( "table-protection",                XML_TABLE_PROTECTION ),
1893         TOKEN( "table-row",                       XML_TABLE_ROW ),
1894         TOKEN( "table-row-group",                 XML_TABLE_ROW_GROUP ),
1895         TOKEN( "table-rows",                      XML_TABLE_ROWS ),
1896         TOKEN( "table-source",                    XML_TABLE_SOURCE ),
1897         TOKEN( "table-view",                      XML_TABLE_VIEW ),
1898         TOKEN( "tables",                          XML_TABLES ),
1899         TOKEN( "tan",                             XML_TAN ),
1900         TOKEN( "tanh",                            XML_TANH ),
1901         TOKEN( "target-cell-address",             XML_TARGET_CELL_ADDRESS ),
1902         TOKEN( "target-frame",                    XML_TARGET_FRAME ),
1903         TOKEN( "target-frame-name",               XML_TARGET_FRAME_NAME ),
1904         TOKEN( "target-range-address",            XML_TARGET_RANGE_ADDRESS ),
1905         TOKEN( "tb-rl",                           XML_TB_RL ),
1906         TOKEN( "teal",                            XML_TEAL ),
1907         TOKEN( "techreport",                      XML_TECHREPORT ),
1908         TOKEN( "template",                        XML_TEMPLATE ),
1909         TOKEN( "template-name",                   XML_TEMPLATE_NAME ),
1910         TOKEN( "tendsto",                         XML_TENDSTO ),
1911         TOKEN( "texture-filter",                  XML_TEX_FILTER ),
1912         TOKEN( "texture-generation-mode-x",       XML_TEX_GENERATION_MODE_X ),
1913         TOKEN( "texture-generation-mode-y",       XML_TEX_GENERATION_MODE_Y ),
1914         TOKEN( "texture-kind",                    XML_TEX_KIND ),
1915         TOKEN( "texture-mode",                    XML_TEX_MODE ),
1916         TOKEN( "text",                            XML_TEXT ),
1917         TOKEN( "text-align",                      XML_TEXT_ALIGN ),
1918         TOKEN( "text-align-last",                 XML_TEXT_ALIGN_LAST ),
1919         TOKEN( "text-align-source",               XML_TEXT_ALIGN_SOURCE ),
1920         TOKEN( "text-autospace",                  XML_TEXT_AUTOSPACE ),
1921         TOKEN( "text-background-color",           XML_TEXT_BACKGROUND_COLOR ),
1922         TOKEN( "text-blinking",                   XML_TEXT_BLINKING ),
1923         TOKEN( "text-box",                        XML_TEXT_BOX ),
1924         TOKEN( "text-changes-only",               XML_TEXT_CHANGES_ONLY ),
1925         TOKEN( "text-color",                      XML_TEXT_COLOR ),
1926         TOKEN( "text-combine",                    XML_TEXT_COMBINE ),
1927         TOKEN( "text-combine-end-char",           XML_TEXT_COMBINE_END_CHAR ),
1928         TOKEN( "text-combine-start-char",         XML_TEXT_COMBINE_START_CHAR ),
1929         TOKEN( "text-content",                    XML_TEXT_CONTENT ),
1930         TOKEN( "text-conversion-dictionary",      XML_TEXT_CONVERSION_DICTIONARY ),
1931         TOKEN( "text-crossing-out",               XML_TEXT_CROSSING_OUT ),
1932         TOKEN( "text-emphasize",                  XML_TEXT_EMPHASIZE ),
1933         TOKEN( "text-global",                     XML_TEXT_GLOBAL ),
1934         TOKEN( "text-indent",                     XML_TEXT_INDENT ),
1935         TOKEN( "text-input",                      XML_TEXT_INPUT ),
1936         TOKEN( "text-justify",                    XML_TEXT_JUSTIFY ),
1937         TOKEN( "text-outline",                    XML_TEXT_OUTLINE ),
1938         TOKEN( "text-only",                       XML_TEXT_ONLY ),
1939         TOKEN( "text-position",                   XML_TEXT_POSITION ),
1940         TOKEN( "text-rotation-angle",             XML_TEXT_ROTATION_ANGLE ),
1941         TOKEN( "text-rotation-scale",             XML_TEXT_ROTATION_SCALE ),
1942         TOKEN( "text-scale",                      XML_TEXT_SCALE ),
1943         TOKEN( "text-shadow",                     XML_TEXT_SHADOW ),
1944         TOKEN( "text-style",                      XML_TEXT_STYLE ),
1945         TOKEN( "text-transform",                  XML_TEXT_TRANSFORM ),
1946         TOKEN( "text-underline",                  XML_TEXT_UNDERLINE ),
1947         TOKEN( "text-underline-color",            XML_TEXT_UNDERLINE_COLOR ),
1948         TOKEN( "textarea-horizontal-align",       XML_TEXTAREA_HORIZONTAL_ALIGN ),
1949         TOKEN( "textarea-vertical-align",         XML_TEXTAREA_VERTICAL_ALIGN ),
1950         TOKEN( "textual",                         XML_TEXTUAL ),
1951         TOKEN( "thick",                           XML_THICK ),
1952         TOKEN( "thin",                            XML_THIN ),
1953         TOKEN( "three-dimensional",               XML_THREE_DIMENSIONAL ),
1954         TOKEN( "thumbnail",                       XML_THUMBNAIL ),
1955         TOKEN( "tick-marks-major-inner",          XML_TICK_MARKS_MAJOR_INNER ),
1956         TOKEN( "tick-marks-major-outer",          XML_TICK_MARKS_MAJOR_OUTER ),
1957         TOKEN( "tick-marks-minor-inner",          XML_TICK_MARKS_MINOR_INNER ),
1958         TOKEN( "tick-marks-minor-outer",          XML_TICK_MARKS_MINOR_OUTER ),
1959         TOKEN( "tile-repeat-offset",              XML_TILE_REPEAT_OFFSET ),
1960         TOKEN( "time",                            XML_TIME ),
1961         TOKEN( "time-adjust",                     XML_TIME_ADJUST ),
1962         TOKEN( "time-style",                      XML_TIME_STYLE ),
1963         TOKEN( "time-value",                      XML_TIME_VALUE ),
1964         TOKEN( "times",                           XML_TIMES ),
1965         TOKEN( "title",                           XML_TITLE ),
1966         TOKEN( "to-another-table",                XML_TO_ANOTHER_TABLE ),
1967         TOKEN( "to-bottom",                       XML_TO_BOTTOM ),
1968         TOKEN( "to-center",                       XML_TO_CENTER ),
1969         TOKEN( "to-left",                         XML_TO_LEFT ),
1970         TOKEN( "to-lower-left",                   XML_TO_LOWER_LEFT ),
1971         TOKEN( "to-lower-right",                  XML_TO_LOWER_RIGHT ),
1972         TOKEN( "to-right",                        XML_TO_RIGHT ),
1973         TOKEN( "to-top",                          XML_TO_TOP ),
1974         TOKEN( "to-upper-left",                   XML_TO_UPPER_LEFT ),
1975         TOKEN( "to-upper-right",                  XML_TO_UPPER_RIGHT ),
1976         TOKEN( "toc-mark",                        XML_TOC_MARK ),
1977         TOKEN( "toc-mark-end",                    XML_TOC_MARK_END ),
1978         TOKEN( "toc-mark-start",                  XML_TOC_MARK_START ),
1979         TOKEN( "toggle",                          XML_TOGGLE ),
1980         TOKEN( "top",                             XML_TOP ),
1981         TOKEN( "top-left",                        XML_TOP_LEFT ),
1982         TOKEN( "top percent",                     XML_TOP_PERCENT ),
1983         TOKEN( "top-right",                       XML_TOP_RIGHT ),
1984         TOKEN( "top values",                      XML_TOP_VALUES ),
1985         TOKEN( "top-arc",                         XML_TOPARC ),
1986         TOKEN( "top-circle",                      XML_TOPCIRCLE ),
1987         TOKEN( "trace-dependents",                XML_TRACE_DEPENDENTS ),
1988         TOKEN( "trace-errors",                    XML_TRACE_ERRORS ),
1989         TOKEN( "trace-precedents",                XML_TRACE_PRECEDENTS ),
1990         TOKEN( "track-changes",                   XML_TRACK_CHANGES ),
1991         TOKEN( "tracked-changes",                 XML_TRACKED_CHANGES ),
1992         TOKEN( "tracked-changes-view-settings",       XML_TRACKED_CHANGES_VIEW_SETTINGS ),
1993         TOKEN( "transform",                       XML_TRANSFORM ),
1994         TOKEN( "transition-on-click",             XML_TRANSITION_ON_CLICK ),
1995         TOKEN( "transparency",                    XML_TRANSPARENCY ),
1996         TOKEN( "transparency-name",               XML_TRANSPARENCY_NAME ),
1997         TOKEN( "transparent",                     XML_TRANSPARENT ),
1998         TOKEN( "transpose",                       XML_TRANSPOSE ),
1999         TOKEN( "true",                            XML_TRUE ),
2000         TOKEN( "truncate-on-overflow",            XML_TRUNCATE_ON_OVERFLOW ),
2001         TOKEN( "try-staggering-first",            XML_TRY_STAGGERING_FIRST ),
2002         TOKEN( "tspan",                           XML_TSPAN ),
2003         TOKEN( "ttb",                             XML_TTB ),
2004         TOKEN( "type",                            XML_TYPE ),
2005         TOKEN( "dot-dash",                        XML_DOT_DASH ),
2006         TOKEN( "dot-dot-dash",                    XML_DOT_DOT_DASH ),
2007         TOKEN( "long-dash",                       XML_LONG_DASH ),
2008         TOKEN( "show-sign-date",                  XML_SHOW_SIGN_DATE ),
2009         TOKEN( "signatureline",                   XML_SIGNATURELINE ),
2010         TOKEN( "signing-instructions",            XML_SIGNING_INSTRUCTIONS ),
2011         TOKEN( "single",                          XML_SINGLE ),
2012         TOKEN( "small-wave",                      XML_SMALL_WAVE ),
2013         TOKEN( "suggested-signer-email",          XML_SUGGESTED_SIGNER_EMAIL ),
2014         TOKEN( "suggested-signer-name",           XML_SUGGESTED_SIGNER_NAME ),
2015         TOKEN( "suggested-signer-title",          XML_SUGGESTED_SIGNER_TITLE ),
2016         TOKEN( "wave",                            XML_WAVE ),
2017         TOKEN( "unformatted-text",                XML_UNFORMATTED_TEXT ),
2018         TOKEN( "union",                           XML_UNION ),
2019         TOKEN( "unit",                            XML_UNIT ),
2020         TOKEN( "unordered-list",                  XML_UNORDERED_LIST ),
2021         TOKEN( "unpublished",                     XML_UNPUBLISHED ),
2022         TOKEN( "up",                              XML_UP ),
2023         TOKEN( "uplimit",                         XML_UPLIMIT ),
2024         TOKEN( "upright",                         XML_UPRIGHT ),
2025         TOKEN( "url",                             XML_URL ),
2026         TOKEN( "use",                             XML_USE ),
2027         TOKEN( "use-caption",                     XML_USE_CAPTION ),
2028         TOKEN( "use-cell-protection",             XML_USE_CELL_PROTECTION ),
2029         TOKEN( "use-chart-objects",               XML_USE_CHART_OBJECTS ),
2030         TOKEN( "use-condition",                   XML_USE_CONDITION ),
2031         TOKEN( "use-draw-objects",                XML_USE_DRAW_OBJECTS ),
2032         TOKEN( "use-floating-frames",             XML_USE_FLOATING_FRAMES ),
2033         TOKEN( "use-graphics",                    XML_USE_GRAPHICS ),
2034         TOKEN( "use-image-objects",               XML_USE_IMAGE_OBJECTS ),
2035         TOKEN( "use-index-marks",                 XML_USE_INDEX_MARKS ),
2036         TOKEN( "use-index-source-styles",         XML_USE_INDEX_SOURCE_STYLES ),
2037         TOKEN( "use-keys-as-entries",             XML_USE_KEYS_AS_ENTRIES ),
2038         TOKEN( "use-label",                       XML_USE_LABEL ),
2039         TOKEN( "use-math-objects",                XML_USE_MATH_OBJECTS ),
2040         TOKEN( "use-objects",                     XML_USE_OBJECTS ),
2041         TOKEN( "use-optimal-column-width",        XML_USE_OPTIMAL_COLUMN_WIDTH ),
2042         TOKEN( "use-optimal-row-height",          XML_USE_OPTIMAL_ROW_HEIGHT ),
2043         TOKEN( "use-other-objects",               XML_USE_OTHER_OBJECTS ),
2044         TOKEN( "use-spreadsheet-objects",         XML_USE_SPREADSHEET_OBJECTS ),
2045         TOKEN( "use-styles",                      XML_USE_STYLES ),
2046         TOKEN( "use-tables",                      XML_USE_TABLES ),
2047         TOKEN( "use-window-font-color",           XML_USE_WINDOW_FONT_COLOR ),
2048         TOKEN( "used-hierarchy",                  XML_USED_HIERARCHY ),
2049         TOKEN( "user-defined",                    XML_USER_DEFINED ),
2050         TOKEN( "user-field-decl",                 XML_USER_FIELD_DECL ),
2051         TOKEN( "user-field-decls",                XML_USER_FIELD_DECLS ),
2052         TOKEN( "user-field-get",                  XML_USER_FIELD_GET ),
2053         TOKEN( "user-field-input",                XML_USER_FIELD_INPUT ),
2054         TOKEN( "user-index",                      XML_USER_INDEX ),
2055         TOKEN( "user-index-entry-template",       XML_USER_INDEX_ENTRY_TEMPLATE ),
2056         TOKEN( "user-index-mark",                 XML_USER_INDEX_MARK ),
2057         TOKEN( "user-index-mark-end",             XML_USER_INDEX_MARK_END ),
2058         TOKEN( "user-index-mark-start",           XML_USER_INDEX_MARK_START ),
2059         TOKEN( "user-index-source",               XML_USER_INDEX_SOURCE ),
2060         TOKEN( "user-transformed",                XML_USER_TRANSFORMED ),
2061         TOKEN( "username",                        XML_USERNAME ),
2062         TOKEN( "validation",                      XML_VALIDATION ),
2063         TOKEN( "value",                           XML_VALUE ),
2064         TOKEN( "value-type",                      XML_VALUE_TYPE ),
2065         TOKEN( "values-cell-range-address",       XML_VALUES_CELL_RANGE_ADDRESS ),
2066         TOKEN( "var",                             XML_VAR ),
2067         TOKEN( "variable",                        XML_VARIABLE ),
2068         TOKEN( "variable-decl",                   XML_VARIABLE_DECL ),
2069         TOKEN( "variable-decls",                  XML_VARIABLE_DECLS ),
2070         TOKEN( "variable-get",                    XML_VARIABLE_GET ),
2071         TOKEN( "variable-input",                  XML_VARIABLE_INPUT ),
2072         TOKEN( "variable-set",                    XML_VARIABLE_SET ),
2073         TOKEN( "variance",                        XML_VARIANCE ),
2074         TOKEN( "varp",                            XML_VARP ),
2075         TOKEN( "vector",                          XML_VECTOR ),
2076         TOKEN( "verb",                            XML_VERB ),
2077         TOKEN( "version",                         XML_VERSION ),
2078         TOKEN( "version-entry",                   XML_VERSION_ENTRY ),
2079         TOKEN( "version-list",                    XML_VERSION_LIST ),
2080         TOKEN( "vertical",                        XML_VERTICAL ),
2081         TOKEN( "vertical-align",                  XML_VERTICAL_ALIGN ),
2082         TOKEN( "vertical-justify",                XML_VERTICAL_JUSTIFY ),
2083         TOKEN( "vertical-lines",                  XML_VERTICAL_LINES ),
2084         TOKEN( "vertical-pos",                    XML_VERTICAL_POS ),
2085         TOKEN( "vertical-rel",                    XML_VERTICAL_REL ),
2086         TOKEN( "vertical-segments",               XML_VERTICAL_SEGMENTS ),
2087         TOKEN( "vertical-split-mode",             XML_VERTICAL_SPLIT_MODE ),
2088         TOKEN( "vertical-split-position",         XML_VERTICAL_SPLIT_POSITION ),
2089         TOKEN( "vertical-stripes",                XML_VERTICAL_STRIPES ),
2090         TOKEN( "view",                            XML_VIEW ),
2091         TOKEN( "viewBox",                         XML_VIEWBOX ),
2092         TOKEN( "view-id",                         XML_VIEW_ID ),
2093         TOKEN( "view-settings",                   XML_VIEW_SETTINGS ),
2094         TOKEN( "visibility",                      XML_VISIBILITY ),
2095         TOKEN( "visible",                         XML_VISIBLE ),
2096         TOKEN( "visible-area",                    XML_VISIBLE_AREA ),
2097         TOKEN( "visible-area-height",             XML_VISIBLE_AREA_HEIGHT ),
2098         TOKEN( "visible-area-left",               XML_VISIBLE_AREA_LEFT ),
2099         TOKEN( "visible-area-top",                XML_VISIBLE_AREA_TOP ),
2100         TOKEN( "visible-area-width",              XML_VISIBLE_AREA_WIDTH ),
2101         TOKEN( "visited-style-name",              XML_VISITED_STYLE_NAME ),
2102         TOKEN( "visual-effect",              XML_VISUAL_EFFECT ),
2103         TOKEN( "volatile",                        XML_VOLATILE ),
2104         TOKEN( "volume",                          XML_VOLUME ),
2105         TOKEN( "vpn",                             XML_VPN ),
2106         TOKEN( "vrp",                             XML_VRP ),
2107         TOKEN( "vup",                             XML_VUP ),
2108         TOKEN( "wall",                            XML_WALL ),
2109         TOKEN( "warning",                         XML_WARNING ),
2110         TOKEN( "watermark",                       XML_WATERMARK ),
2111         TOKEN( "wavyline",                        XML_WAVYLINE ),
2112         TOKEN( "wavyline-from-bottom",            XML_WAVYLINE_FROM_BOTTOM ),
2113         TOKEN( "wavyline-from-left",              XML_WAVYLINE_FROM_LEFT ),
2114         TOKEN( "wavyline-from-right",             XML_WAVYLINE_FROM_RIGHT ),
2115         TOKEN( "wavyline-from-top",               XML_WAVYLINE_FROM_TOP ),
2116         TOKEN( "week-of-year",                    XML_WEEK_OF_YEAR ),
2117         TOKEN( "white",                           XML_WHITE ),
2118         TOKEN( "whole-page",                      XML_WHOLE_PAGE ),
2119         TOKEN( "widows",                          XML_WIDOWS ),
2120         TOKEN( "width",                           XML_WIDTH ),
2121         TOKEN( "word",                            XML_WORD ),
2122         TOKEN( "word-count",                      XML_WORD_COUNT ),
2123         TOKEN( "wrap",                            XML_WRAP ),
2124         TOKEN( "wrap-contour",                    XML_WRAP_CONTOUR ),
2125         TOKEN( "wrap-contour-mode",               XML_WRAP_CONTOUR_MODE ),
2126         TOKEN( "wrap-option",                     XML_WRAP_OPTION ),
2127         TOKEN( "writing-mode",                    XML_WRITING_MODE ),
2128         TOKEN( "www",                             XML_WWW ),
2129         TOKEN( "x",                               XML_X ),
2130         TOKEN( "x1",                              XML_X1 ),
2131         TOKEN( "x2",                              XML_X2 ),
2132         TOKEN( "x-mac-roman",                     XML_X_MAC_ROMAN ),
2133         TOKEN( "x-symbol",                        XML_X_SYMBOL ),
2134         TOKEN( "x-system",                        XML_X_SYSTEM ),
2135         TOKEN( "xor",                             XML_XOR ),
2136         TOKEN( "y",                               XML_Y ),
2137         TOKEN( "y1",                              XML_Y1 ),
2138         TOKEN( "y2",                              XML_Y2 ),
2139         TOKEN( "year",                            XML_YEAR ),
2140         TOKEN( "yellow",                          XML_YELLOW ),
2141         TOKEN( "zero-values",                     XML_ZERO_VALUES ),
2142         TOKEN( "z-index",                         XML_ZINDEX ),
2143         TOKEN( "zoom-type",                       XML_ZOOM_TYPE ),
2144         TOKEN( "zoom-value",                      XML_ZOOM_VALUE ),
2145 
2146         TOKEN( "enable",                          XML_ENABLE ),
2147         TOKEN( "use-regular-expressions",         XML_USE_REGULAR_EXPRESSIONS ),
2148         TOKEN( "use-wildcards",                   XML_USE_WILDCARDS ),
2149         TOKEN( "data-source-has-labels",          XML_DATA_SOURCE_HAS_LABELS ),
2150         TOKEN( "link-data-style-to-source",       XML_LINK_DATA_STYLE_TO_SOURCE ),
2151         TOKEN( "sort-algorithm",                  XML_SORT_ALGORITHM ),
2152         TOKEN( "straight-line",                   XML_STRAIGHT_LINE ),
2153         TOKEN( "angled-line",                     XML_ANGLED_LINE ),
2154         TOKEN( "angled-connector-line",           XML_ANGLED_CONNECTOR_LINE ),
2155 
2156         TOKEN( "application/x-www-form-urlencoded",      XML_APPLICATION_X_WWW_FORM_URLENCODED ),
2157         TOKEN( "multipart/formdata",              XML_MULTIPART_FORMDATA ),
2158         TOKEN( "application/text",                XML_APPLICATION_TEXT ),
2159         TOKEN( "get",                             XML_GET ),
2160         TOKEN( "post",                            XML_POST ),
2161         TOKEN( "query",                           XML_QUERY ),
2162         TOKEN( "parent",                          XML_PARENT ),
2163         TOKEN( "records",                         XML_RECORDS ),
2164         TOKEN( "push",                            XML_PUSH ),
2165         TOKEN( "submit",                          XML_SUBMIT ),
2166         TOKEN( "reset",                           XML_RESET ),
2167         TOKEN( "value-list",                      XML_VALUE_LIST ),
2168         TOKEN( "sql",                             XML_SQL ),
2169         TOKEN( "sql-pass-through",                XML_SQL_PASS_THROUGH ),
2170         TOKEN( "table-fields",                    XML_TABLE_FIELDS ),
2171         TOKEN( "unchecked",                       XML_UNCHECKED ),
2172         TOKEN( "checked",                         XML_CHECKED ),
2173         TOKEN( "unknown",                         XML_UNKNOWN ),
2174 
2175         TOKEN( "roll-from-top",                  XML_ROLL_FROM_TOP ),
2176 
2177         TOKEN( "binary-data",                     XML_BINARY_DATA ),
2178         TOKEN( "notify-on-update-of-table",       XML_NOTIFY_ON_UPDATE_OF_TABLE ),
2179 
2180         TOKEN( "0",                               XML_0 ),
2181         TOKEN( "play",                            XML_PLAY ),
2182         TOKEN( "handout-master",                  XML_HANDOUT_MASTER ),
2183         TOKEN( "text-style-name",                 XML_TEXT_STYLE_NAME ),
2184         TOKEN( "escape-direction",                XML_ESCAPE_DIRECTION ),
2185         TOKEN( "glue-point",                      XML_GLUE_POINT ),
2186         TOKEN( "primary-x",                       XML_PRIMARY_X ),
2187         TOKEN( "secondary-x",                     XML_SECONDARY_X ),
2188         TOKEN( "primary-y",                       XML_PRIMARY_Y ),
2189         TOKEN( "secondary-y",                     XML_SECONDARY_Y ),
2190         TOKEN( "primary-z",                       XML_PRIMARY_Z ),
2191 
2192         TOKEN( "caption-type",                    XML_CAPTION_TYPE ),
2193         TOKEN( "caption-angle-type",              XML_CAPTION_ANGLE_TYPE ),
2194         TOKEN( "caption-angle",                   XML_CAPTION_ANGLE ),
2195         TOKEN( "caption-gap",                     XML_CAPTION_GAP ),
2196         TOKEN( "caption-escape-direction",        XML_CAPTION_ESCAPE_DIRECTION ),
2197         TOKEN( "caption-escape",                  XML_CAPTION_ESCAPE ),
2198         TOKEN( "caption-line-length",             XML_CAPTION_LINE_LENGTH ),
2199         TOKEN( "caption-fit-line-length",         XML_CAPTION_FIT_LINE_LENGTH ),
2200         TOKEN( "free",                            XML_FREE ),
2201         TOKEN( "transition-type",                 XML_TRANSITION_TYPE ),
2202         TOKEN( "transition-style",                XML_TRANSITION_STYLE ),
2203         TOKEN( "transition-speed",                XML_TRANSITION_SPEED ),
2204         TOKEN( "duration",                        XML_DURATION ),
2205         TOKEN( "background-size",                 XML_BACKGROUND_SIZE ),
2206         TOKEN( "background-objects-visible",      XML_BACKGROUND_OBJECTS_VISIBLE ),
2207         TOKEN( "background-visible",              XML_BACKGROUND_VISIBLE ),
2208 
2209         TOKEN( "move-from-upperleft",             XML_MOVE_FROM_UPPERLEFT ),
2210         TOKEN( "move-from-upperright",            XML_MOVE_FROM_UPPERRIGHT ),
2211         TOKEN( "move-from-lowerright",            XML_MOVE_FROM_LOWERRIGHT ),
2212         TOKEN( "move-from-lowerleft",             XML_MOVE_FROM_LOWERLEFT ),
2213         TOKEN( "uncover-to-left",                 XML_UNCOVER_TO_LEFT ),
2214         TOKEN( "uncover-to-upperleft",            XML_UNCOVER_TO_UPPERLEFT ),
2215         TOKEN( "uncover-to-top",                  XML_UNCOVER_TO_TOP ),
2216         TOKEN( "uncover-to-upperright",           XML_UNCOVER_TO_UPPERRIGHT ),
2217         TOKEN( "uncover-to-right",                XML_UNCOVER_TO_RIGHT ),
2218         TOKEN( "uncover-to-lowerright",           XML_UNCOVER_TO_LOWERRIGHT ),
2219         TOKEN( "uncover-to-bottom",               XML_UNCOVER_TO_BOTTOM ),
2220         TOKEN( "uncover-to-lowerleft",            XML_UNCOVER_TO_LOWERLEFT ),
2221         TOKEN( "vertical-checkerboard",           XML_VERTICAL_CHECKERBOARD ),
2222         TOKEN( "horizontal-checkerboard",         XML_HORIZONTAL_CHECKERBOARD ),
2223 
2224         TOKEN( "notify-on-update-of-ranges",       XML_NOTIFY_ON_UPDATE_OF_RANGES ),
2225 
2226         TOKEN( "byte",                             XML_BYTE ),
2227         TOKEN( "macro",                            XML_MACRO ),
2228         TOKEN( "location",                        XML_LOCATION ),
2229         TOKEN( "application",                     XML_APPLICATION ),
2230 
2231         TOKEN( "symbol-image",                    XML_SYMBOL_IMAGE ),
2232         TOKEN( "text-overlap",                    XML_TEXT_OVERLAP ),
2233         TOKEN( "spline-order",                    XML_SPLINE_ORDER ),
2234         TOKEN( "spline-resolution",               XML_SPLINE_RESOLUTION ),
2235         TOKEN( "paper-tray-name",                 XML_PAPER_TRAY_NAME ),
2236 
2237         TOKEN( "column-mapping",                  XML_COLUMN_MAPPING ),
2238         TOKEN( "row-mapping",                     XML_ROW_MAPPING ),
2239 
2240         TOKEN( "table-formula",                   XML_TABLE_FORMULA ),
2241 
2242         TOKEN( "embedded-text",                   XML_EMBEDDED_TEXT ),
2243 
2244         TOKEN( "merge-last-paragraph",            XML_MERGE_LAST_PARAGRAPH ),
2245 
2246         TOKEN( "stock-loss-marker",               XML_STOCK_LOSS_MARKER ),
2247         TOKEN( "stock-gain-marker",               XML_STOCK_GAIN_MARKER ),
2248         TOKEN( "stock-range-line",                XML_STOCK_RANGE_LINE ),
2249 
2250         TOKEN( "rl-tb",                           XML_RL_TB ),
2251         TOKEN( "tb-lr",                           XML_TB_LR ),
2252         TOKEN( "bt-lr",                           XML_BT_LR ),
2253         TOKEN( "lr",                              XML_LR ),
2254         TOKEN( "rl",                              XML_RL ),
2255         TOKEN( "tb",                              XML_TB ),
2256 
2257         TOKEN( "layout-grid-color",               XML_LAYOUT_GRID_COLOR ),
2258         TOKEN( "layout-grid-lines",               XML_LAYOUT_GRID_LINES ),
2259         TOKEN( "layout-grid-base-height",         XML_LAYOUT_GRID_BASE_HEIGHT ),
2260         TOKEN( "layout-grid-ruby-height",         XML_LAYOUT_GRID_RUBY_HEIGHT ),
2261         TOKEN( "layout-grid-mode",                XML_LAYOUT_GRID_MODE ),
2262         TOKEN( "layout-grid-ruby-below",          XML_LAYOUT_GRID_RUBY_BELOW ),
2263         TOKEN( "layout-grid-print",               XML_LAYOUT_GRID_PRINT ),
2264         TOKEN( "layout-grid-display",             XML_LAYOUT_GRID_DISPLAY ),
2265 
2266         //text grid enhancement for better CJK support
2267         TOKEN( "default-page-layout",             XML_DEFAULT_PAGE_LAYOUT ),
2268         TOKEN( "layout-grid-standard-mode",       XML_LAYOUT_GRID_STANDARD_MODE ),
2269         TOKEN( "layout-grid-base-width",          XML_LAYOUT_GRID_BASE_WIDTH ),
2270         TOKEN( "layout-grid-snap-to-characters",  XML_LAYOUT_GRID_SNAP_TO_CHARS ),
2271         TOKEN( "layout-grid-snap-to",             XML_LAYOUT_GRID_SNAP_TO ),
2272 
2273         TOKEN( "snap-to-layout-grid",             XML_SNAP_TO_LAYOUT_GRID ),
2274 
2275         TOKEN( "dont-balance-text-columns",       XML_DONT_BALANCE_TEXT_COLUMNS ),
2276 
2277         TOKEN( "glyph-orientation-vertical",      XML_GLYPH_ORIENTATION_VERTICAL ),
2278 
2279         TOKEN( "marked-invalid",                  XML_MARKED_INVALID ),
2280 
2281         // Regression curve & properties
2282         TOKEN( "regression-curve",                XML_REGRESSION_CURVE ),
2283         TOKEN( "regression-type",                 XML_REGRESSION_TYPE ),
2284         // Extended regression curve properties - ODF 1.2 extended
2285         TOKEN( "regression-name",                 XML_REGRESSION_CURVE_NAME ),
2286         TOKEN( "regression-extrapolate-forward",  XML_REGRESSION_EXTRAPOLATE_FORWARD ),
2287         TOKEN( "regression-extrapolate-backward", XML_REGRESSION_EXTRAPOLATE_BACKWARD ),
2288         TOKEN( "regression-max-degree",           XML_REGRESSION_MAX_DEGREE ),
2289         TOKEN( "regression-min-degree",           XML_REGRESSION_MIN_DEGREE ),
2290         TOKEN( "regression-moving-type",          XML_REGRESSION_MOVING_TYPE ),
2291         TOKEN( "regression-period",               XML_REGRESSION_PERIOD ),
2292         TOKEN( "regression-force-intercept",      XML_REGRESSION_FORCE_INTERCEPT ),
2293         TOKEN( "regression-intercept-value",      XML_REGRESSION_INTERCEPT_VALUE ),
2294         TOKEN( "regression-x-name",               XML_REGRESSION_X_NAME ),
2295         TOKEN( "regression-y-name",               XML_REGRESSION_Y_NAME ),
2296 
2297         TOKEN( "error-indicator",                 XML_ERROR_INDICATOR ),
2298 
2299         TOKEN( "table-type",                      XML_TABLE_TYPE ),
2300 
2301         TOKEN( "display-factor",                  XML_DISPLAY_FACTOR ),
2302 
2303         TOKEN( "transliteration-format",          XML_TRANSLITERATION_FORMAT ),
2304         TOKEN( "transliteration-language",        XML_TRANSLITERATION_LANGUAGE ),
2305         TOKEN( "transliteration-country",         XML_TRANSLITERATION_COUNTRY ),
2306         TOKEN( "transliteration-style",           XML_TRANSLITERATION_STYLE ),
2307 
2308         TOKEN( "key1-phonetic",                   XML_KEY1_PHONETIC ),
2309         TOKEN( "key2-phonetic",                   XML_KEY2_PHONETIC ),
2310         TOKEN( "string-value-phonetic",           XML_STRING_VALUE_PHONETIC ),
2311 
2312         TOKEN( "background-transparency",         XML_BACKGROUND_TRANSPARENCY ),
2313         TOKEN( "background-image-transparency",      XML_BACKGROUND_IMAGE_TRANSPARENCY ),
2314 
2315         TOKEN( "dynamic-spacing",                   XML_DYNAMIC_SPACING ),
2316 
2317         TOKEN( "main-entry",                        XML_MAIN_ENTRY ),
2318 
2319         TOKEN( "use-outline-level",                 XML_USE_OUTLINE_LEVEL ),
2320 
2321         // #107245# New 3D properties which are possible for lathe and extrude 3d objects
2322         TOKEN( "close-front",                      XML_CLOSE_FRONT ),
2323         TOKEN( "close-back",                       XML_CLOSE_BACK ),
2324 
2325         TOKEN( "drop-down",                        XML_DROP_DOWN ),
2326         TOKEN( "current-selected",                 XML_CURRENT_SELECTED ),
2327 
2328         TOKEN( "join-border",                     XML_JOIN_BORDER ),
2329 
2330         TOKEN( "display-list",                     XML_DISPLAY_LIST ),
2331         TOKEN( "no",                               XML_NO ),
2332         TOKEN( "unsorted",                         XML_UNSORTED ),
2333         TOKEN( "font-independent-line-spacing",        XML_FONT_INDEPENDENT_LINE_SPACING ),
2334 
2335         // Wrong! Do not write, use XML_SORT_ASCENDING instead. Only read. fdo#72548
2336         TOKEN( "sorted-ascending",                 XML_SORTED_ASCENDING ),
2337 
2338         TOKEN( "database",                         XML_DATABASE ),
2339         TOKEN( "datasource",                       XML_DATASOURCE ),
2340         TOKEN( "data-source",                      XML_DATA_SOURCE ),
2341         TOKEN( "queries",                          XML_QUERIES ),
2342         TOKEN( "reports",                          XML_REPORTS ),
2343         TOKEN( "report",                           XML_REPORT ),
2344         TOKEN( "as-template",                      XML_AS_TEMPLATE ),
2345 
2346         TOKEN( "connection-resource",              XML_CONNECTION_RESOURCE ),
2347         TOKEN( "suppress-version-columns",         XML_SUPPRESS_VERSION_COLUMNS ),
2348         TOKEN( "java-driver-class",                XML_JAVA_DRIVER_CLASS ),
2349         TOKEN( "extension",                        XML_EXTENSION ),
2350         TOKEN( "is-first-row-header-line",         XML_IS_FIRST_ROW_HEADER_LINE ),
2351         TOKEN( "show-deleted",                     XML_SHOW_DELETED ),
2352         TOKEN( "is-table-name-length-limited",     XML_IS_TABLE_NAME_LENGTH_LIMITED ),
2353         TOKEN( "system-driver-settings",           XML_SYSTEM_DRIVER_SETTINGS ),
2354         TOKEN( "enable-sql92-check",               XML_ENABLE_SQL92_CHECK ),
2355         TOKEN( "append-table-alias-name",          XML_APPEND_TABLE_ALIAS_NAME ),
2356         TOKEN( "parameter-name-substitution",      XML_PARAMETER_NAME_SUBSTITUTION ),
2357         TOKEN( "ignore-driver-privileges",         XML_IGNORE_DRIVER_PRIVILEGES ),
2358         TOKEN( "boolean-comparison-mode",          XML_BOOLEAN_COMPARISON_MODE ),
2359         TOKEN( "use-catalog",                      XML_USE_CATALOG ),
2360         TOKEN( "base-dn",                          XML_BASE_DN ),
2361         TOKEN( "max-row-count",                    XML_MAX_ROW_COUNT ),
2362         TOKEN( "login",                            XML_LOGIN ),
2363         TOKEN( "user-name",                        XML_USER_NAME ),
2364         TOKEN( "is-password-required",             XML_IS_PASSWORD_REQUIRED ),
2365         TOKEN( "login-timeout",                    XML_LOGIN_TIMEOUT ),
2366         TOKEN( "delimiter",                        XML_DELIMITER ),
2367         TOKEN( "field",                            XML_FIELD ),
2368         TOKEN( "decimal",                          XML_DECIMAL ),
2369         TOKEN( "thousand",                         XML_THOUSAND ),
2370         TOKEN( "table-filter",                     XML_TABLE_FILTER ),
2371         TOKEN( "table-filter-pattern",             XML_TABLE_FILTER_PATTERN ),
2372         TOKEN( "table-type-filter",                XML_TABLE_TYPE_FILTER ),
2373         TOKEN( "auto-increment",                   XML_AUTO_INCREMENT ),
2374         TOKEN( "additional-column-statement",      XML_ADDITIONAL_COLUMN_STATEMENT ),
2375         TOKEN( "row-retrieving-statement",         XML_ROW_RETRIEVING_STATEMENT ),
2376         TOKEN( "data-source-settings",             XML_DATA_SOURCE_SETTINGS ),
2377         TOKEN( "data-source-setting",              XML_DATA_SOURCE_SETTING ),
2378         TOKEN( "data-source-setting-value",        XML_DATA_SOURCE_SETTING_VALUE ),
2379         TOKEN( "data-source-setting-is-list",      XML_DATA_SOURCE_SETTING_IS_LIST ),
2380         TOKEN( "data-source-setting-type",         XML_DATA_SOURCE_SETTING_TYPE ),
2381         TOKEN( "data-source-setting-name",         XML_DATA_SOURCE_SETTING_NAME ),
2382         TOKEN( "component",                        XML_COMPONENT ),
2383         TOKEN( "component-collection",             XML_COMPONENT_COLLECTION ),
2384         TOKEN( "query-collection",                 XML_QUERY_COLLECTION ),
2385         TOKEN( "update-table",                     XML_UPDATE_TABLE ),
2386         TOKEN( "filter-statement",                 XML_FILTER_STATEMENT ),
2387         TOKEN( "order-statement",                  XML_ORDER_STATEMENT ),
2388         TOKEN( "escape-processing",                XML_ESCAPE_PROCESSING ),
2389         TOKEN( "keys",                             XML_KEYS ),
2390         TOKEN( "indices",                          XML_INDICES ),
2391         TOKEN( "type-name",                        XML_TYPE_NAME ),
2392         TOKEN( "precision",                        XML_PRECISION ),
2393         TOKEN( "is-nullable",                      XML_IS_NULLABLE ),
2394         TOKEN( "is-autoincrement",                 XML_IS_AUTOINCREMENT ),
2395         TOKEN( "default-value",                    XML_DEFAULT_VALUE ),
2396         TOKEN( "referenced-table-name",            XML_REFERENCED_TABLE_NAME ),
2397         TOKEN( "update-rule",                      XML_UPDATE_RULE ),
2398         TOKEN( "delete-rule",                      XML_DELETE_RULE ),
2399         TOKEN( "key-columns",                      XML_KEY_COLUMNS ),
2400         TOKEN( "key-column",                       XML_KEY_COLUMN ),
2401         TOKEN( "related-column-name",              XML_RELATED_COLUMN_NAME ),
2402         TOKEN( "catalog-name",                     XML_CATALOG_NAME ),
2403         TOKEN( "is-unique",                        XML_IS_UNIQUE ),
2404         TOKEN( "is-clustered",                     XML_IS_CLUSTERED ),
2405         TOKEN( "index-columns",                    XML_INDEX_COLUMNS ),
2406         TOKEN( "index-column",                     XML_INDEX_COLUMN ),
2407         TOKEN( "is-ascending",                     XML_IS_ASCENDING ),
2408         TOKEN( "schema-name",                      XML_SCHEMA_NAME ),
2409         TOKEN( "db",                               XML_NP_DB ),
2410         TOKEN( "http://openoffice.org/2004/database",      XML_N_DB ),
2411         TOKEN( "apply-filter",                     XML_APPLY_FILTER ),
2412         TOKEN( "apply-order",                      XML_APPLY_ORDER ),
2413         TOKEN( "automatic-print-range",            XML_AUTOMATIC_PRINT_RANGE ),
2414 
2415         TOKEN( "selection",                        XML_SELECTION ),
2416         TOKEN( "selection-indexes",                XML_SELECTION_INDEXES ),
2417 
2418         TOKEN( "scale-to-X",                       XML_SCALE_TO_X ),
2419         TOKEN( "scale-to-Y",                       XML_SCALE_TO_Y ),
2420 
2421         TOKEN( "keep-together",                    XML_KEEP_TOGETHER ),
2422 
2423         TOKEN( "use-header-name",               XML_USE_HEADER_NAME ),
2424         TOKEN( "use-footer-name",               XML_USE_FOOTER_NAME ),
2425         TOKEN( "use-date-time-name",            XML_USE_DATE_TIME_NAME ),
2426         TOKEN( "display-header",                XML_DISPLAY_HEADER ),
2427         TOKEN( "display-footer",                XML_DISPLAY_FOOTER ),
2428         TOKEN( "display-page-number",           XML_DISPLAY_PAGE_NUMBER ),
2429         TOKEN( "display-date-time",         XML_DISPLAY_DATE_TIME ),
2430         TOKEN( "source" ,                       XML_SOURCE ),
2431         TOKEN( "current-date",              XML_CURRENT_DATE ),
2432 
2433         TOKEN( "header-decl",                   XML_HEADER_DECL ),
2434         TOKEN( "footer-decl",                   XML_FOOTER_DECL ),
2435         TOKEN( "date-time-decl",                XML_DATE_TIME_DECL ),
2436 
2437         TOKEN( "selected-page",                        XML_SELECTED_PAGE ),
2438 
2439         // DVO, OD 01.10.2003 #i18732#
2440         TOKEN( "flow-with-text",        XML_FLOW_WITH_TEXT ),
2441         TOKEN( "with-tab",              XML_WITH_TAB ), // #i21237#
2442 
2443         TOKEN( "custom-shape" ,                     XML_CUSTOM_SHAPE ),
2444         TOKEN( "engine" ,                               XML_ENGINE ),
2445         TOKEN( "enhanced-geometry" ,                    XML_ENHANCED_GEOMETRY ),
2446         TOKEN( "text-rotate-angle" ,                    XML_TEXT_ROTATE_ANGLE ),
2447         TOKEN( "mirror-vertical" ,                      XML_MIRROR_VERTICAL ),
2448         TOKEN( "mirror-horizontal" ,                    XML_MIRROR_HORIZONTAL ),
2449         TOKEN( "extrusion-allowed" ,                    XML_EXTRUSION_ALLOWED ),
2450         TOKEN( "text-path-allowed" ,                    XML_TEXT_PATH_ALLOWED ),
2451         TOKEN( "concentric-gradient-fill-allowed" ,     XML_CONCENTRIC_GRADIENT_FILL_ALLOWED ),
2452         TOKEN( "extrusion" ,                            XML_EXTRUSION ),
2453         TOKEN( "extrusion-brightness" ,             XML_EXTRUSION_BRIGHTNESS ),
2454         TOKEN( "extrusion-depth" ,                      XML_EXTRUSION_DEPTH ),
2455         TOKEN( "extrusion-diffusion" ,                  XML_EXTRUSION_DIFFUSION ),
2456         TOKEN( "extrusion-number-of-line-segments" ,    XML_EXTRUSION_NUMBER_OF_LINE_SEGMENTS ),
2457         TOKEN( "extrusion-light-face" ,             XML_EXTRUSION_LIGHT_FACE ),
2458         TOKEN( "extrusion-first-light-harsh" ,          XML_EXTRUSION_FIRST_LIGHT_HARSH ),
2459         TOKEN( "extrusion-second-light-harsh" ,     XML_EXTRUSION_SECOND_LIGHT_HARSH ),
2460         TOKEN( "extrusion-first-light-level" ,          XML_EXTRUSION_FIRST_LIGHT_LEVEL ),
2461         TOKEN( "extrusion-second-light-level" ,     XML_EXTRUSION_SECOND_LIGHT_LEVEL ),
2462         TOKEN( "extrusion-first-light-direction" ,      XML_EXTRUSION_FIRST_LIGHT_DIRECTION ),
2463         TOKEN( "extrusion-second-light-direction" , XML_EXTRUSION_SECOND_LIGHT_DIRECTION ),
2464         TOKEN( "extrusion-metal" ,                      XML_EXTRUSION_METAL ),
2465         TOKEN( "extrusion-rotation-angle" ,         XML_EXTRUSION_ROTATION_ANGLE ),
2466         TOKEN( "extrusion-rotation-center" ,            XML_EXTRUSION_ROTATION_CENTER ),
2467         TOKEN( "extrusion-shininess" ,                  XML_EXTRUSION_SHININESS ),
2468         TOKEN( "extrusion-skew" ,                       XML_EXTRUSION_SKEW ),
2469         TOKEN( "extrusion-specularity" ,                XML_EXTRUSION_SPECULARITY ),
2470         TOKEN( "extrusion-projection-mode" ,            XML_EXTRUSION_PROJECTION_MODE ),
2471         TOKEN( "extrusion-viewpoint" ,                  XML_EXTRUSION_VIEWPOINT ),
2472         TOKEN( "extrusion-origin" ,                 XML_EXTRUSION_ORIGIN ),
2473         TOKEN( "extrusion-color" ,                      XML_EXTRUSION_COLOR ),
2474         TOKEN( "secondary-fill-color" ,             XML_SECONDARY_FILL_COLOR ),
2475         TOKEN( "enhanced-path" ,                        XML_ENHANCED_PATH ),
2476         TOKEN( "path-stretchpoint-x" ,                  XML_PATH_STRETCHPOINT_X ),
2477         TOKEN( "path-stretchpoint-y" ,                  XML_PATH_STRETCHPOINT_Y ),
2478         TOKEN( "text-areas" ,                           XML_TEXT_AREAS ),
2479         TOKEN( "glue-points" ,                          XML_GLUE_POINTS ),
2480         TOKEN( "glue-point-type" ,                      XML_GLUE_POINT_TYPE ),
2481         TOKEN( "glue-point-leaving-direction" ,     XML_GLUE_POINT_LEAVING_DIRECTIONS ),
2482         TOKEN( "text-path" ,                            XML_TEXT_PATH ),
2483         TOKEN( "text-path-mode" ,                       XML_TEXT_PATH_MODE ),
2484         TOKEN( "text-path-scale" ,                  XML_TEXT_PATH_SCALE ),
2485         TOKEN( "text-path-same-letter-heights" ,        XML_TEXT_PATH_SAME_LETTER_HEIGHTS ),
2486         TOKEN( "modifiers" ,                            XML_MODIFIERS ),
2487         TOKEN( "equation" ,                         XML_EQUATION ),
2488         TOKEN( "xstretch",                          XML_XSTRETCH ),
2489         TOKEN( "ystretch",                          XML_YSTRETCH ),
2490         TOKEN( "hasstroke",                         XML_HASSTROKE ),
2491         TOKEN( "hasfill",                           XML_HASFILL ),
2492         TOKEN( "logwidth",                          XML_LOGWIDTH ),
2493         TOKEN( "logheight",                         XML_LOGHEIGHT ),
2494         TOKEN( "handle" ,                               XML_HANDLE ),
2495         TOKEN( "handle-mirror-vertical" ,               XML_HANDLE_MIRROR_VERTICAL ),
2496         TOKEN( "handle-mirror-horizontal" ,         XML_HANDLE_MIRROR_HORIZONTAL ),
2497         TOKEN( "handle-switched" ,                      XML_HANDLE_SWITCHED ),
2498         TOKEN( "handle-position" ,                      XML_HANDLE_POSITION ),
2499         TOKEN( "handle-range-x-minimum" ,               XML_HANDLE_RANGE_X_MINIMUM ),
2500         TOKEN( "handle-range-x-maximum" ,               XML_HANDLE_RANGE_X_MAXIMUM ),
2501         TOKEN( "handle-range-y-minimum" ,               XML_HANDLE_RANGE_Y_MINIMUM ),
2502         TOKEN( "handle-range-y-maximum" ,               XML_HANDLE_RANGE_Y_MAXIMUM ),
2503         TOKEN( "handle-polar" ,                     XML_HANDLE_POLAR ),
2504         TOKEN( "handle-radius-range-minimum" ,          XML_HANDLE_RADIUS_RANGE_MINIMUM ),
2505         TOKEN( "handle-radius-range-maximum" ,          XML_HANDLE_RADIUS_RANGE_MAXIMUM ),
2506         TOKEN( "rectangle" ,                            XML_RECTANGLE ),
2507         TOKEN( "roundrectangle" ,                       XML_ROUNDRECTANGLE ),
2508         TOKEN( "oval" ,                             XML_OVAL ),
2509         TOKEN( "cloud" ,                                XML_CLOUD ),
2510         TOKEN( "boundingcube" ,                     XML_BOUNDINGCUBE ),
2511         TOKEN( "wireframe" ,                            XML_WIREFRAME ),
2512         TOKEN( "segments" ,                         XML_SEGMENTS ),
2513         TOKEN( "word-wrap" ,                            XML_WORD_WRAP ),
2514         TOKEN( "collapsing" ,                       XML_COLLAPSING ),
2515         TOKEN( "separating" ,                       XML_SEPARATING ),
2516         TOKEN( "border-model" ,                     XML_BORDER_MODEL ),
2517         TOKEN( "data-pilot-field-reference",        XML_DATA_PILOT_FIELD_REFERENCE ),
2518         TOKEN( "member-difference",                 XML_MEMBER_DIFFERENCE ),
2519         TOKEN( "member-percentage",                 XML_MEMBER_PERCENTAGE ),
2520         TOKEN( "member-percentage-difference",      XML_MEMBER_PERCENTAGE_DIFFERENCE ),
2521         TOKEN( "running-total",                     XML_RUNNING_TOTAL ),
2522         TOKEN( "row-percentage",                    XML_ROW_PERCENTAGE ),
2523         TOKEN( "column-percentage",                 XML_COLUMN_PERCENTAGE ),
2524         TOKEN( "total-percentage",                  XML_TOTAL_PERCENTAGE ),
2525         TOKEN( "field-name",                        XML_FIELD_NAME ),
2526         TOKEN( "member-type",                       XML_MEMBER_TYPE ),
2527         TOKEN( "named",                             XML_NAMED ),
2528         TOKEN( "member-name",                       XML_MEMBER_NAME ),
2529         TOKEN( "display-member-mode",               XML_DISPLAY_MEMBER_MODE ),
2530         TOKEN( "member-count",                      XML_MEMBER_COUNT ),
2531         TOKEN( "data-field",                        XML_DATA_FIELD ),
2532         TOKEN( "data-pilot-display-info",           XML_DATA_PILOT_DISPLAY_INFO ),
2533         TOKEN( "sort-mode",                         XML_SORT_MODE ),
2534         TOKEN( "data-pilot-sort-info",              XML_DATA_PILOT_SORT_INFO ),
2535         TOKEN( "add-empty-lines",                   XML_ADD_EMPTY_LINES ),
2536         TOKEN( "tabular-layout",                    XML_TABULAR_LAYOUT ),
2537         TOKEN( "outline-subtotals-top",             XML_OUTLINE_SUBTOTALS_TOP ),
2538         TOKEN( "outline-subtotals-bottom",          XML_OUTLINE_SUBTOTALS_BOTTOM ),
2539         TOKEN( "layout-mode",                       XML_LAYOUT_MODE ),
2540         TOKEN( "data-pilot-layout-info",            XML_DATA_PILOT_LAYOUT_INFO ),
2541         TOKEN( "symbol-color",                      XML_SYMBOL_COLOR ),
2542         TOKEN( "3d" ,                               XML_3D ),
2543         TOKEN( "image-position" ,                   XML_IMAGE_POSITION ),
2544         TOKEN( "image-align" ,                      XML_IMAGE_ALIGN ),
2545         TOKEN( "diagonal-bl-tr",                    XML_DIAGONAL_BL_TR ),
2546         TOKEN( "diagonal-bl-tr-width",              XML_DIAGONAL_BL_TR_WIDTH ),
2547         TOKEN( "diagonal-tl-br",                    XML_DIAGONAL_TL_BR ),
2548         TOKEN( "diagonal-tl-br-width",              XML_DIAGONAL_TL_BR_WIDTH ),
2549         TOKEN( "repeat-content",                    XML_REPEAT_CONTENT ),
2550         TOKEN( "shrink-to-fit",                     XML_SHRINK_TO_FIT ),
2551 
2552         // OD 2004-05-05 #i28701#
2553         TOKEN( "wrap-influence-on-position",           XML_WRAP_INFLUENCE_ON_POSITION ),
2554         // Tokens have been renamed and <XML_ITERATIVE> has been added (#i35017#)
2555         TOKEN( "once-successive",                       XML_ONCE_SUCCESSIVE ),
2556         TOKEN( "once-concurrent",                       XML_ONCE_CONCURRENT ),
2557         TOKEN( "allow-overlap",                         XML_ALLOW_OVERLAP ),
2558 
2559         // Names for OOo format only
2560         TOKEN( "http://openoffice.org/2000/office",     XML_N_OFFICE_OOO ),
2561         TOKEN( "http://openoffice.org/2000/meta",       XML_N_META_OOO ),
2562         TOKEN( "http://openoffice.org/2000/style",      XML_N_STYLE_OOO ),
2563         TOKEN( "http://openoffice.org/2000/datastyle",  XML_N_NUMBER_OOO ),
2564         TOKEN( "http://openoffice.org/2000/text",       XML_N_TEXT_OOO ),
2565         TOKEN( "http://openoffice.org/2000/table",      XML_N_TABLE_OOO ),
2566         TOKEN( "http://openoffice.org/2000/drawing",    XML_N_DRAW_OOO ),
2567         TOKEN( "http://openoffice.org/2000/dr3d",       XML_N_DR3D_OOO ),
2568         TOKEN( "http://openoffice.org/2000/presentation",XML_N_PRESENTATION_OOO ),
2569         TOKEN( "urn:oasis:names:tc:openoffice:xmlns:presentation:1.0",XML_N_PRESENTATION_OASIS ),
2570         TOKEN( "http://openoffice.org/2000/chart",      XML_N_CHART_OOO ),
2571         TOKEN( "http://openoffice.org/2001/config",     XML_N_CONFIG_OOO ),
2572         TOKEN( "http://openoffice.org/2000/form",       XML_N_FORM_OOO ),
2573         TOKEN( "http://openoffice.org/2000/script",     XML_N_SCRIPT_OOO ),
2574 
2575         TOKEN( "global",                     XML_GLOBAL ),
2576 
2577         TOKEN( "note-class",                        XML_NOTE_CLASS ),
2578         TOKEN( "note-citation",                        XML_NOTE_CITATION ),
2579         TOKEN( "note-body",                        XML_NOTE_BODY ),
2580         TOKEN( "notes-configuration",               XML_NOTES_CONFIGURATION ),
2581         TOKEN( "note-ref",                        XML_NOTE_REF ),
2582         TOKEN( "is-sub-table",                        XML_IS_SUB_TABLE ),
2583         TOKEN( "page-layout",                        XML_PAGE_LAYOUT ),
2584         TOKEN( "page-layout-name",                       XML_PAGE_LAYOUT_NAME ),
2585         TOKEN( "graphic-properties",              XML_GRAPHIC_PROPERTIES ),
2586         TOKEN( "drawing-page-properties",         XML_DRAWING_PAGE_PROPERTIES ),
2587         TOKEN( "page-layout-properties",          XML_PAGE_LAYOUT_PROPERTIES ),
2588         TOKEN( "header-footer-properties",        XML_HEADER_FOOTER_PROPERTIES ),
2589         TOKEN( "text-properties",                 XML_TEXT_PROPERTIES ),
2590         TOKEN( "paragraph-properties",            XML_PARAGRAPH_PROPERTIES ),
2591         TOKEN( "ruby-properties",                 XML_RUBY_PROPERTIES ),
2592         TOKEN( "section-properties",              XML_SECTION_PROPERTIES ),
2593         TOKEN( "table-properties",                XML_TABLE_PROPERTIES ),
2594         TOKEN( "table-column-properties",         XML_TABLE_COLUMN_PROPERTIES ),
2595         TOKEN( "table-row-properties",            XML_TABLE_ROW_PROPERTIES ),
2596         TOKEN( "table-cell-properties",           XML_TABLE_CELL_PROPERTIES ),
2597         TOKEN( "list-level-properties",           XML_LIST_LEVEL_PROPERTIES ),
2598         TOKEN( "chart-properties",                XML_CHART_PROPERTIES ),
2599         TOKEN( "drawing-page",                    XML_DRAWING_PAGE ),
2600         TOKEN( "graphics",                        XML_GRAPHICS ),
2601         TOKEN( "tab",                              XML_TAB ),
2602         TOKEN( "text-underline-mode",              XML_TEXT_UNDERLINE_MODE ),
2603         TOKEN( "text-line-through-mode",           XML_TEXT_LINE_THROUGH_MODE ),
2604         TOKEN( "continuous",                       XML_CONTINUOUS ),
2605         TOKEN( "skip-white-space",                 XML_SKIP_WHITE_SPACE ),
2606         TOKEN( "scripts",                          XML_SCRIPTS ),
2607         TOKEN( "font-face-decls",                 XML_FONT_FACE_DECLS ),
2608         TOKEN( "font-face",                        XML_FONT_FACE ),
2609         TOKEN( "font-face-src",                    XML_FONT_FACE_SRC ),
2610         TOKEN( "font-face-uri",                    XML_FONT_FACE_URI ),
2611         TOKEN( "font-face-format",                 XML_FONT_FACE_FORMAT ),
2612         TOKEN( "font-adornments",                 XML_FONT_ADORNMENTS ),
2613         TOKEN( "inch",                             XML_INCH ),
2614         TOKEN( "space-after",                      XML_SPACE_AFTER ),
2615         TOKEN( "start-indent",                     XML_START_INDENT ),
2616         TOKEN( "end-indent",                       XML_END_INDENT ),
2617 
2618         // chart Oasis format additions
2619         TOKEN( "interval-minor-divisor",           XML_INTERVAL_MINOR_DIVISOR ),
2620         TOKEN( "date-string",                      XML_DATE_STRING ),
2621 
2622         TOKEN( "text-underline-style",             XML_TEXT_UNDERLINE_STYLE ),
2623         TOKEN( "text-underline-type",              XML_TEXT_UNDERLINE_TYPE ),
2624         TOKEN( "text-underline-width",             XML_TEXT_UNDERLINE_WIDTH ),
2625 
2626         TOKEN( "text-overline-type",               XML_TEXT_OVERLINE_TYPE ),
2627         TOKEN( "text-overline-style",              XML_TEXT_OVERLINE_STYLE ),
2628         TOKEN( "text-overline-width",              XML_TEXT_OVERLINE_WIDTH ),
2629         TOKEN( "text-overline-color",              XML_TEXT_OVERLINE_COLOR ),
2630         TOKEN( "text-overline-mode",               XML_TEXT_OVERLINE_MODE ),
2631 
2632         TOKEN( "text-line-through-style",          XML_TEXT_LINE_THROUGH_STYLE ),
2633         TOKEN( "text-line-through-type",           XML_TEXT_LINE_THROUGH_TYPE ),
2634         TOKEN( "text-line-through-width",          XML_TEXT_LINE_THROUGH_WIDTH ),
2635         TOKEN( "text-line-through-text",           XML_TEXT_LINE_THROUGH_TEXT ),
2636 
2637         TOKEN( "leader-style",                     XML_LEADER_STYLE ),
2638         TOKEN( "leader-text",                      XML_LEADER_TEXT ),
2639 
2640         TOKEN( "bold-dotted",                      XML_BOLD_DOTTED ),
2641         TOKEN( "bold-dash",                        XML_BOLD_DASH ),
2642         TOKEN( "bold-long-dash",                   XML_BOLD_LONG_DASH ),
2643         TOKEN( "bold-dot-dash",                    XML_BOLD_DOT_DASH ),
2644         TOKEN( "bold-dot-dot-dash",                XML_BOLD_DOT_DOT_DASH ),
2645         TOKEN( "bold-wave",                        XML_BOLD_WAVE ),
2646         TOKEN( "double-wave",                      XML_DOUBLE_WAVE ),
2647         TOKEN( "double-line",                      XML_DOUBLE_LINE ),
2648         TOKEN( "thick-line",                       XML_THICK_LINE ),
2649         TOKEN( "single-line",                      XML_SINGLE_LINE ),
2650         TOKEN( "slash",                            XML_SLASH ),
2651         TOKEN( "text-line-through-color",          XML_TEXT_LINE_THROUGH_COLOR ),
2652         TOKEN( "text-line-through-text-style",     XML_TEXT_LINE_THROUGH_TEXT_STYLE ),
2653         TOKEN( "leader-color",                     XML_LEADER_COLOR ),
2654         TOKEN( "leader-type",                      XML_LEADER_TYPE ),
2655         TOKEN( "leader-width",                     XML_LEADER_WIDTH ),
2656         TOKEN( "leader-text-style",                XML_LEADER_TEXT_STYLE ),
2657 
2658         TOKEN( "opacity",                          XML_OPACITY ),
2659         TOKEN( "opacity-name",                     XML_OPACITY_NAME ),
2660         TOKEN( "shadow-opacity",                   XML_SHADOW_OPACITY ),
2661         TOKEN( "always",                           XML_ALWAYS ),
2662         TOKEN( "count-in-text-boxes",              XML_COUNT_IN_TEXT_BOXES ),
2663 
2664         TOKEN( "ooo",                              XML_NP_OOO ),
2665         TOKEN( "http://openoffice.org/2004/office",      XML_N_OOO ),
2666         TOKEN( "ooow",                             XML_NP_OOOW ),
2667         TOKEN( "http://openoffice.org/2004/writer",      XML_N_OOOW ),
2668         TOKEN( "oooc",                             XML_NP_OOOC ),
2669         TOKEN( "http://openoffice.org/2004/calc",      XML_N_OOOC ),
2670         TOKEN( "dom",                              XML_NP_DOM ),
2671         TOKEN( "http://www.w3.org/2001/xml-events",      XML_N_DOM ),
2672 
2673         TOKEN( "event-listeners",      XML_EVENT_LISTENERS ),
2674         TOKEN( "event-listener",      XML_EVENT_LISTENER ),
2675 
2676         TOKEN( "form",                 XML_FORM ),
2677         TOKEN( "void",                 XML_VOID ),
2678         TOKEN( "property",                 XML_PROPERTY ),
2679         TOKEN( "property-name",                XML_PROPERTY_NAME ),
2680         TOKEN( "list-property",                XML_LIST_PROPERTY ),
2681         TOKEN( "list-value",               XML_LIST_VALUE ),
2682         TOKEN( "column-style-name",            XML_COLUMN_STYLE_NAME ),
2683         TOKEN( "textarea",                     XML_TEXTAREA ),
2684         TOKEN( "fixed-text",                   XML_FIXED_TEXT ),
2685         TOKEN( "file",                         XML_FILE ),
2686         TOKEN( "formatted-text",               XML_FORMATTED_TEXT ),
2687         TOKEN( "button",                       XML_BUTTON ),
2688         TOKEN( "checkbox",                     XML_CHECKBOX ),
2689         TOKEN( "radio",                        XML_RADIO ),
2690         TOKEN( "listbox",                      XML_LISTBOX ),
2691         TOKEN( "combobox",                     XML_COMBOBOX ),
2692         TOKEN( "image-frame",                  XML_IMAGE_FRAME ),
2693         TOKEN( "value-range",                  XML_VALUE_RANGE ),
2694         TOKEN( "generic-control",              XML_GENERIC_CONTROL ),
2695         TOKEN( "service-name",                 XML_SERVICE_NAME ),
2696         TOKEN( "property-type",                XML_PROPERTY_TYPE ),
2697         TOKEN( "integer",                      XML_INTEGER ),
2698         TOKEN( "property-is-void",             XML_PROPERTY_IS_VOID ),
2699         TOKEN( "property-is-list",             XML_PROPERTY_IS_LIST ),
2700         TOKEN( "property-value",               XML_PROPERTY_VALUE ),
2701         TOKEN( "mimetype",                     XML_MIMETYPE ),
2702         TOKEN( "database-row-select",          XML_DATABASE_ROW_SELECT ),
2703         TOKEN( "control-implementation",       XML_CONTROL_IMPLEMENTATION ),
2704         TOKEN( "interpolation",                XML_INTERPOLATION ),
2705         TOKEN( "cubic-spline",                 XML_CUBIC_SPLINE ),
2706         TOKEN( "b-spline",                     XML_B_SPLINE ),
2707         TOKEN( "step-start",                   XML_STEP_START ),
2708         TOKEN( "step-end",                     XML_STEP_END ),
2709         TOKEN( "step-center-x",                XML_STEP_CENTER_X ),
2710         TOKEN( "step-center-y",                XML_STEP_CENTER_Y ),
2711         // the gnm: values should only used for reading Gnumeric ods file
2712         // these values should never be written
2713         TOKEN( "gnm:step-start",               XML_GNM_STEP_START ),
2714         TOKEN( "gnm:step-end",                 XML_GNM_STEP_END ),
2715         TOKEN( "gnm:step-center-x",            XML_GNM_STEP_CENTER_X ),
2716         TOKEN( "gnm:step-center-y",            XML_GNM_STEP_CENTER_Y ),
2717         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:database:1.0",     XML_N_DB_OASIS ),
2718 
2719         TOKEN( "show-filter-button",                   XML_SHOW_FILTER_BUTTON ),
2720         TOKEN( "drill-down-on-double-click",           XML_DRILL_DOWN_ON_DOUBLE_CLICK ),
2721         TOKEN( "header-grid-layout",                   XML_HEADER_GRID_LAYOUT ),
2722         TOKEN( "grouped-by",                           XML_GROUPED_BY ),
2723         TOKEN( "days",                                 XML_DAYS ),
2724         TOKEN( "months",                               XML_MONTHS ),
2725         TOKEN( "quarters",                             XML_QUARTERS ),
2726         TOKEN( "years",                                XML_YEARS ),
2727         TOKEN( "date-start",                           XML_DATE_START ),
2728         TOKEN( "date-end",                             XML_DATE_END ),
2729         TOKEN( "step",                                 XML_STEP ),
2730         TOKEN( "data-pilot-groups",                    XML_DATA_PILOT_GROUPS ),
2731         TOKEN( "data-pilot-group",                     XML_DATA_PILOT_GROUP ),
2732         TOKEN( "data-pilot-group-member",              XML_DATA_PILOT_GROUP_MEMBER ),
2733         TOKEN( "japanese-candle-stick",        XML_JAPANESE_CANDLE_STICK ),
2734         TOKEN( "named-symbol",                 XML_NAMED_SYMBOL ),
2735         TOKEN( "diamond",                      XML_DIAMOND ),
2736         TOKEN( "arrow-down",                   XML_ARROW_DOWN ),
2737         TOKEN( "arrow-up",                     XML_ARROW_UP ),
2738         TOKEN( "arrow-right",                  XML_ARROW_RIGHT ),
2739         TOKEN( "arrow-left",                   XML_ARROW_LEFT ),
2740         TOKEN( "bow-tie",                      XML_BOW_TIE ),
2741         TOKEN( "hourglass",                    XML_HOURGLASS ),
2742         TOKEN( "symbol-name",                  XML_SYMBOL_NAME ),
2743         TOKEN( "symbol-type",                  XML_SYMBOL_TYPE ),
2744         TOKEN( "image-opacity",                XML_IMAGE_OPACITY ), // #i25616#
2745 
2746         TOKEN( "default-outline-level",        XML_DEFAULT_OUTLINE_LEVEL ),
2747         TOKEN( "show-details",                 XML_SHOW_DETAILS ),
2748         TOKEN( "show-empty",                   XML_SHOW_EMPTY ),
2749         TOKEN( "repeat-item-labels",           XML_REPEAT_ITEM_LABELS ),
2750         TOKEN( "iterative",                    XML_ITERATIVE ),
2751 
2752         TOKEN( "X",                            XML_uX ),
2753         TOKEN( "dlg",                                    XML_NP_DLG ),
2754         TOKEN( "http://openoffice.org/2000/dialog",      XML_N_DLG ),
2755         TOKEN( "script-data",                  XML_SCRIPT_DATA ),
2756         TOKEN( "libraries",                    XML_LIBRARIES ),
2757         TOKEN( "source-code",                  XML_SOURCE_CODE ),
2758         TOKEN( "readonly",                     XML_READONLY ),
2759         TOKEN( "z",                            XML_Z ),
2760         TOKEN( "dimension",                    XML_DIMENSION ),
2761         TOKEN( "validation-name",               XML_VALIDATION_NAME ),
2762 
2763         TOKEN( "screen",                       XML_SCREEN ),
2764         TOKEN( "printer",                      XML_PRINTER ),
2765 
2766         // XForms token
2767         TOKEN( "model",                            XML_MODEL ),
2768         TOKEN( "schema",                           XML_SCHEMA ),
2769         TOKEN( "bind",                             XML_BIND ),
2770         TOKEN( "instance",                         XML_INSTANCE ),
2771         TOKEN( "submission",                       XML_SUBMISSION ),
2772         TOKEN( "ref",                              XML_REF ),
2773         TOKEN( "src",                              XML_SRC ),
2774         TOKEN( "method",                           XML_METHOD ),
2775         TOKEN( "nodeset",                          XML_NODESET ),
2776         TOKEN( "indent",                           XML_INDENT ),
2777         TOKEN( "omit-xml-declaration",             XML_OMIT_XML_DECLARATION ),
2778         TOKEN( "standalone",                       XML_STANDALONE ),
2779         TOKEN( "cdata-section-elements",           XML_CDATA_SECTION_ELEMENTS ),
2780         TOKEN( "required",                         XML_REQUIRED ),
2781         TOKEN( "relevant",                         XML_RELEVANT ),
2782         TOKEN( "calculate",                        XML_CALCULATE ),
2783         TOKEN( "constraint",                       XML_CONSTRAINT ),
2784         TOKEN( "maxOccurs",                        XML_MAXOCCURS /* (maxOccurs) */ ),
2785         TOKEN( "minOccurs",                        XML_MINOCCURS /* (minOccurs) */ ),
2786         TOKEN( "p3ptype",                          XML_P3PTYPE ),
2787         TOKEN( "mediatype",                        XML_MEDIATYPE ),
2788         TOKEN( "includenamespaceprefixes",         XML_INCLUDENAMESPACEPREFIXES ),
2789 
2790         // XForms/XSD Schema tokens
2791         TOKEN( "base",                             XML_BASE ),
2792         TOKEN( "targetNamespace",                  XML_TARGETNAMESPACE ),
2793         TOKEN( "simpleType",                       XML_SIMPLETYPE ),
2794         TOKEN( "restriction",                      XML_RESTRICTION ),
2795         TOKEN( "maxLength",                        XML_MAXLENGTH ),
2796         TOKEN( "minLength",                        XML_MINLENGTH ),
2797         TOKEN( "minInclusive",                     XML_MININCLUSIVE ),
2798         TOKEN( "minExclusive",                     XML_MINEXCLUSIVE ),
2799         TOKEN( "maxInclusive",                     XML_MAXINCLUSIVE ),
2800         TOKEN( "maxExclusive",                     XML_MAXEXCLUSIVE ),
2801         TOKEN( "pattern",                          XML_PATTERN ),
2802         TOKEN( "enumeration",                      XML_ENUMERATION ),
2803         TOKEN( "whiteSpace",                       XML_WHITESPACE ),
2804         TOKEN( "totalDigits",                      XML_TOTALDIGITS ),
2805         TOKEN( "fractionDigits",                   XML_FRACTIONDIGITS ),
2806         TOKEN( "preserve",                         XML_PRESERVE ),
2807         TOKEN( "anyURI",                           XML_ANYURI ),
2808         TOKEN( "dateTime",                         XML_DATETIME_XSD ),
2809         TOKEN( "main-etry",                        XML_MAIN_ETRY),
2810 
2811         TOKEN( "remove",                        XML_REMOVE ),
2812         TOKEN( "hold",                      XML_HOLD ),
2813         TOKEN( "transition",                    XML_TRANSITION ),
2814         TOKEN( "inherit",                       XML_INHERIT ),
2815         TOKEN( "fillDefault",                   XML_FILLDEFAULT ),
2816         TOKEN( "restart",                       XML_RESTART ),
2817         TOKEN( "restartDefault",                XML_RESTARTDEFAULT ),
2818         TOKEN( "whenNotActive",             XML_WHENNOTACTIVE ),
2819         TOKEN( "never",                     XML_NEVER ),
2820         TOKEN( "accelerate",                    XML_ACCELERATE ),
2821         TOKEN( "decelerate",                    XML_DECELERATE ),
2822         TOKEN( "autoReverse",                   XML_AUTOREVERSE ),
2823         TOKEN( "indefinite",                    XML_INDEFINITE ),
2824         TOKEN( "repeatCount",                   XML_REPEATCOUNT ),
2825         TOKEN( "repeatDur",                 XML_REPEATDUR ),
2826         TOKEN( "endsync",                       XML_ENDSYNC ),
2827         TOKEN( "first",                     XML_FIRST ),
2828         TOKEN( "last",                      XML_LAST ),
2829         TOKEN( "media",                     XML_MEDIA ),
2830         TOKEN( "dur",                           XML_DUR ),
2831         TOKEN( "begin",                     XML_BEGIN ),
2832         TOKEN( "whole",                     XML_WHOLE ),
2833         TOKEN( "from",                      XML_FROM ),
2834         TOKEN( "to",                            XML_TO ),
2835         TOKEN( "by",                            XML_BY ),
2836         TOKEN( "values",                        XML_VALUES ),
2837         TOKEN( "keyTimes",                  XML_KEYTIMES ),
2838         TOKEN( "keySplines",                    XML_KEYSPLINES ),
2839         TOKEN( "calcMode",                  XML_CALCMODE ),
2840         TOKEN( "discrete",                  XML_DISCRETE ),
2841         TOKEN( "paced",                     XML_PACED ),
2842         TOKEN( "spline",                        XML_SPLINE ),
2843         TOKEN( "accumulate",                    XML_ACCUMULATE ),
2844         TOKEN( "additive",                  XML_ADDITIVE ),
2845         TOKEN( "multiply",                  XML_MULTIPLY ),
2846         TOKEN( "animate",                       XML_ANIMATE ),
2847         TOKEN( "animateMotion",             XML_ANIMATEMOTION ),
2848         TOKEN( "animatePhysics",            XML_ANIMATEPHYSICS ),
2849         TOKEN( "animateTransform",          XML_ANIMATETRANSFORM ),
2850         TOKEN( "animateColor",              XML_ANIMATECOLOR ),
2851         TOKEN( "transitionFilter",          XML_TRANSITIONFILTER ),
2852         TOKEN( "attributeName",             XML_ATTRIBUTENAME ),
2853 
2854         TOKEN( "smil",                      XML_NP_SMIL ),
2855         TOKEN( "http://www.w3.org/2001/SMIL20/", XML_N_SMIL ),
2856 
2857         TOKEN( "anim",                      XML_NP_ANIMATION ),
2858         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:animation:1.0",  XML_N_ANIMATION ),
2859         TOKEN( "urn:oasis:names:tc:openoffice:xmlns:animation:1.0",  XML_N_ANIMATION_OOO ),
2860 
2861         TOKEN( "par",                           XML_PAR ),
2862         TOKEN( "seq",                           XML_SEQ ),
2863 
2864         TOKEN( "translate",                 XML_TRANSLATE ),
2865         TOKEN( "skewX",                     XML_SKEWX ),
2866         TOKEN( "skewY",                     XML_SKEWY ),
2867 
2868         TOKEN( "audio",                     XML_AUDIO ),
2869 
2870         TOKEN( "color-interpolation",           XML_COLOR_INTERPOLATION ),
2871         TOKEN( "color-interpolation-direction", XML_COLOR_INTERPOLATION_DIRECTION ),
2872         TOKEN( "hsl",                           XML_HSL ),
2873         TOKEN( "rgb",                           XML_RGB ),
2874 
2875         TOKEN( "barWipe",                       XML_BARWIPE ),
2876         TOKEN( "boxWipe",                       XML_BOXWIPE ),
2877         TOKEN( "fourBoxWipe",                   XML_FOURBOXWIPE ),
2878         TOKEN( "barnDoorWipe",              XML_BARNDOORWIPE ),
2879         TOKEN( "diagonalWipe",              XML_DIAGONALWIPE ),
2880         TOKEN( "bowTieWipe",                    XML_BOWTIEWIPE ),
2881         TOKEN( "miscDiagonalWipe",          XML_MISCDIAGONALWIPE ),
2882         TOKEN( "veeWipe",                       XML_VEEWIPE ),
2883         TOKEN( "barnVeeWipe",                   XML_BARNVEEWIPE ),
2884         TOKEN( "zigZagWipe",                    XML_ZIGZAGWIPE ),
2885         TOKEN( "barnZigZagWipe",                XML_BARNZIGZAGWIPE ),
2886         TOKEN( "irisWipe",                  XML_IRISWIPE ),
2887         TOKEN( "triangleWipe",              XML_TRIANGLEWIPE ),
2888         TOKEN( "arrowHeadWipe",             XML_ARROWHEADWIPE ),
2889         TOKEN( "pentagonWipe",              XML_PENTAGONWIPE ),
2890         TOKEN( "hexagonWipe",                   XML_HEXAGONWIPE ),
2891         TOKEN( "ellipseWipe",                   XML_ELLIPSEWIPE ),
2892         TOKEN( "eyeWipe",                       XML_EYEWIPE ),
2893         TOKEN( "roundRectWipe",             XML_ROUNDRECTWIPE ),
2894         TOKEN( "starWipe",                  XML_STARWIPE ),
2895         TOKEN( "miscShapeWipe",             XML_MISCSHAPEWIPE ),
2896         TOKEN( "clockWipe",                 XML_CLOCKWIPE ),
2897         TOKEN( "pinWheelWipe",              XML_PINWHEELWIPE ),
2898         TOKEN( "singleSweepWipe",               XML_SINGLESWEEPWIPE ),
2899         TOKEN( "fanWipe",                       XML_FANWIPE ),
2900         TOKEN( "doubleFanWipe",             XML_DOUBLEFANWIPE ),
2901         TOKEN( "doubleSweepWipe",               XML_DOUBLESWEEPWIPE ),
2902         TOKEN( "saloonDoorWipe",                XML_SALOONDOORWIPE ),
2903         TOKEN( "windshieldWipe",                XML_WINDSHIELDWIPE ),
2904         TOKEN( "snakeWipe",                 XML_SNAKEWIPE ),
2905         TOKEN( "spiralWipe",                    XML_SPIRALWIPE ),
2906         TOKEN( "parallelSnakesWipe",            XML_PARALLELSNAKESWIPE ),
2907         TOKEN( "boxSnakesWipe",             XML_BOXSNAKESWIPE ),
2908         TOKEN( "waterfallWipe",             XML_WATERFALLWIPE ),
2909         TOKEN( "pushWipe",                  XML_PUSHWIPE ),
2910         TOKEN( "slideWipe",                 XML_SLIDEWIPE ),
2911         TOKEN( "blindsWipe",                    XML_BLINDSWIPE ),
2912         TOKEN( "randomBarWipe",             XML_RANDOMBARWIPE ),
2913         TOKEN( "checkerBoardWipe",          XML_CHECKERBOARDWIPE ),
2914         TOKEN( "zoom",                      XML_ZOOM ),
2915 
2916         TOKEN( "leftToRight",                   XML_LEFTTORIGHT ),
2917         TOKEN( "topToBottom",                   XML_TOPTOBOTTOM ),
2918         TOKEN( "topLeft",                       XML_TOPLEFT ),
2919         TOKEN( "topRight",                  XML_TOPRIGHT ),
2920         TOKEN( "bottomRight",                   XML_BOTTOMRIGHT ),
2921         TOKEN( "bottomLeft",                    XML_BOTTOMLEFT ),
2922         TOKEN( "topCenter",                 XML_TOPCENTER ),
2923         TOKEN( "rightCenter",                   XML_RIGHTCENTER ),
2924         TOKEN( "bottomCenter",              XML_BOTTOMCENTER ),
2925         TOKEN( "leftCenter",                    XML_LEFTCENTER ),
2926         TOKEN( "cornersIn",                 XML_CORNERSIN ),
2927         TOKEN( "cornersOut",                    XML_CORNERSOUT ),
2928         TOKEN( "diagonalBottomLeft",            XML_DIAGONALBOTTOMLEFT ),
2929         TOKEN( "diagonalTopLeft",               XML_DIAGONALTOPLEFT ),
2930         TOKEN( "doubleBarnDoor",                XML_DOUBLEBARNDOOR ),
2931         TOKEN( "doubleDiamond",             XML_DOUBLEDIAMOND ),
2932         TOKEN( "fourPoint",                 XML_FOURPOINT ),
2933         TOKEN( "fivePoint",                 XML_FIVEPOINT ),
2934         TOKEN( "sixPoint",                  XML_SIXPOINT ),
2935         TOKEN( "heart",                     XML_HEART ),
2936         TOKEN( "keyhole",                       XML_KEYHOLE ),
2937         TOKEN( "clockwiseTwelve",               XML_CLOCKWISETWELVE ),
2938         TOKEN( "clockwiseThree",                XML_CLOCKWISETHREE ),
2939         TOKEN( "clockwiseSix",              XML_CLOCKWISESIX ),
2940         TOKEN( "clockwiseNine",             XML_CLOCKWISENINE ),
2941         TOKEN( "twoBladeVertical",          XML_TWOBLADEVERTICAL ),
2942         TOKEN( "twoBladeHorizontal",            XML_TWOBLADEHORIZONTAL ),
2943         TOKEN( "fourBlade",                 XML_FOURBLADE ),
2944         TOKEN( "clockwiseTop",              XML_CLOCKWISETOP ),
2945         TOKEN( "clockwiseRight",                XML_CLOCKWISERIGHT ),
2946         TOKEN( "clockwiseBottom",               XML_CLOCKWISEBOTTOM ),
2947         TOKEN( "clockwiseLeft",             XML_CLOCKWISELEFT ),
2948         TOKEN( "clockwiseTopLeft",          XML_CLOCKWISETOPLEFT ),
2949         TOKEN( "counterClockwiseBottomLeft",    XML_COUNTERCLOCKWISEBOTTOMLEFT ),
2950         TOKEN( "clockwiseBottomRight",      XML_CLOCKWISEBOTTOMRIGHT ),
2951         TOKEN( "counterClockwiseTopRight",  XML_COUNTERCLOCKWISETOPRIGHT ),
2952         TOKEN( "centerTop",                 XML_CENTERTOP ),
2953         TOKEN( "centerRight",                   XML_CENTERRIGHT ),
2954         TOKEN( "fanOutVertical",                XML_FANOUTVERTICAL ),
2955         TOKEN( "fanOutHorizontal",          XML_FANOUTHORIZONTAL ),
2956         TOKEN( "fanInVertical",             XML_FANINVERTICAL ),
2957         TOKEN( "fanInHorizontal",               XML_FANINHORIZONTAL ),
2958         TOKEN( "parallelVertical",          XML_PARALLELVERTICAL ),
2959         TOKEN( "parallelDiagonal",          XML_PARALLELDIAGONAL ),
2960         TOKEN( "oppositeVertical",          XML_OPPOSITEVERTICAL ),
2961         TOKEN( "oppositeHorizontal",            XML_OPPOSITEHORIZONTAL ),
2962         TOKEN( "parallelDiagonalTopLeft",       XML_PARALLELDIAGONALTOPLEFT ),
2963         TOKEN( "parallelDiagonalBottomLeft",    XML_PARALLELDIAGONALBOTTOMLEFT ),
2964         TOKEN( "topLeftHorizontal",         XML_TOPLEFTHORIZONTAL ),
2965         TOKEN( "topLeftDiagonal",               XML_TOPLEFTDIAGONAL ),
2966         TOKEN( "topLeftVertical",               XML_TOPLEFTVERTICAL ),
2967         TOKEN( "topRightDiagonal",          XML_TOPRIGHTDIAGONAL ),
2968         TOKEN( "bottomRightDiagonal",           XML_BOTTOMRIGHTDIAGONAL ),
2969         TOKEN( "bottomLeftDiagonal",            XML_BOTTOMLEFTDIAGONAL ),
2970         TOKEN( "topLeftClockwise",          XML_TOPLEFTCLOCKWISE ),
2971         TOKEN( "topRightClockwise",         XML_TOPRIGHTCLOCKWISE ),
2972         TOKEN( "bottomRightClockwise",      XML_BOTTOMRIGHTCLOCKWISE ),
2973         TOKEN( "bottomLeftClockwise",           XML_BOTTOMLEFTCLOCKWISE ),
2974         TOKEN( "topLeftCounterClockwise",       XML_TOPLEFTCOUNTERCLOCKWISE ),
2975         TOKEN( "topRightCounterClockwise",  XML_TOPRIGHTCOUNTERCLOCKWISE ),
2976         TOKEN( "bottomRightCounterClockwise",   XML_BOTTOMRIGHTCOUNTERCLOCKWISE ),
2977         TOKEN( "bottomLeftCounterClockwise",    XML_BOTTOMLEFTCOUNTERCLOCKWISE ),
2978         TOKEN( "verticalTopSame",               XML_VERTICALTOPSAME ),
2979         TOKEN( "verticalBottomSame",            XML_VERTICALBOTTOMSAME ),
2980         TOKEN( "verticalTopLeftOpposite",       XML_VERTICALTOPLEFTOPPOSITE ),
2981         TOKEN( "verticalBottomLeftOpposite",    XML_VERTICALBOTTOMLEFTOPPOSITE ),
2982         TOKEN( "horizontalLeftSame",            XML_HORIZONTALLEFTSAME ),
2983         TOKEN( "horizontalRightSame",           XML_HORIZONTALRIGHTSAME ),
2984         TOKEN( "horizontalTopLeftOpposite", XML_HORIZONTALTOPLEFTOPPOSITE ),
2985         TOKEN( "horizontalTopRightOpposite",    XML_HORIZONTALTOPRIGHTOPPOSITE ),
2986         TOKEN( "diagonalBottomLeftOpposite",    XML_DIAGONALBOTTOMLEFTOPPOSITE ),
2987         TOKEN( "diagonalTopLeftOpposite",       XML_DIAGONALTOPLEFTOPPOSITE ),
2988         TOKEN( "twoBoxTop",                 XML_TWOBOXTOP ),
2989         TOKEN( "twoBoxBottom",              XML_TWOBOXBOTTOM ),
2990         TOKEN( "twoBoxLeft",                    XML_TWOBOXLEFT ),
2991         TOKEN( "twoBoxRight",                   XML_TWOBOXRIGHT ),
2992         TOKEN( "fourBoxVertical",           XML_FOURBOXVERTICAL ),
2993         TOKEN( "fourBoxHorizontal",         XML_FOURBOXHORIZONTAL ),
2994         TOKEN( "verticalLeft",              XML_VERTICALLEFT ),
2995         TOKEN( "verticalRight",             XML_VERTICALRIGHT ),
2996         TOKEN( "horizontalLeft",                XML_HORIZONTALLEFT ),
2997         TOKEN( "horizontalRight",               XML_HORIZONTALRIGHT ),
2998         TOKEN( "fromLeft",                  XML_FROMLEFT ),
2999         TOKEN( "fromTop",                       XML_FROMTOP ),
3000         TOKEN( "fromRight",                 XML_FROMRIGHT ),
3001         TOKEN( "fromBottom",                    XML_FROMBOTTOM ),
3002         TOKEN( "crossfade",                 XML_CROSSFADE ),
3003         TOKEN( "fadeToColor",                   XML_FADETOCOLOR ),
3004         TOKEN( "fadeFromColor",             XML_FADEFROMCOLOR ),
3005         TOKEN( "fadeOverColor",             XML_FADEOVERCOLOR ),
3006         TOKEN( "threeBlade",                    XML_THREEBLADE ),
3007         TOKEN( "eightBlade",                    XML_EIGHTBLADE ),
3008         TOKEN( "oneBlade",                  XML_ONEBLADE ),
3009         TOKEN( "across",                        XML_ACROSS ),
3010         TOKEN( "combHorizontal",                XML_COMBHORIZONTAL ),
3011         TOKEN( "combVertical",              XML_COMBVERTICAL ),
3012         TOKEN( "rotateIn",                  XML_ROTATEIN ),
3013         TOKEN( "rotateOut",                 XML_ROTATEOUT ),
3014         TOKEN( "fromTopLeft",                   XML_FROMTOPLEFT ),
3015         TOKEN( "fromTopRight",              XML_FROMTOPRIGHT ),
3016         TOKEN( "fromBottomLeft",                XML_FROMBOTTOMLEFT ),
3017         TOKEN( "fromBottomRight",               XML_FROMBOTTOMRIGHT ),
3018 
3019         TOKEN( "subtype",                       XML_SUBTYPE ),
3020         TOKEN( "out",                           XML_OUT ),
3021 
3022         TOKEN( "forward",                       XML_FORWARD ),
3023         TOKEN( "reverse",                       XML_REVERSE ),
3024 
3025         TOKEN( "fadeColor",                 XML_FADECOLOR ),
3026 
3027         TOKEN( "onbegin",                       XML_ONBEGIN ),
3028         TOKEN( "onend",                     XML_ONEND ),
3029         TOKEN( "click",                     XML_CLICK ),
3030         TOKEN( "doubleclick",                   XML_DOUBLECLICK ),
3031         TOKEN( "mouseover",                 XML_MOUSEOVER ),
3032         TOKEN( "mouseout",                  XML_MOUSEOUT ),
3033 
3034         TOKEN( "node-type",         XML_NODE_TYPE ),
3035         TOKEN( "preset-id",         XML_PRESET_ID ),
3036         TOKEN( "preset-sub-type",       XML_PRESET_SUB_TYPE ),
3037         TOKEN( "preset-class",      XML_PRESET_CLASS ),
3038         TOKEN( "preset-property",      XML_PRESET_PROPERTY ),
3039         TOKEN( "custom",                XML_CUSTOM ),
3040         TOKEN( "entrance",          XML_ENTRANCE ),
3041         TOKEN( "exit",              XML_EXIT ),
3042         TOKEN( "emphasis",          XML_EMPHASIS ),
3043         TOKEN( "motion-path",           XML_MOTION_PATH ),
3044         TOKEN( "ole-action",            XML_OLE_ACTION ),
3045         TOKEN( "media-call",            XML_MEDIA_CALL ),
3046         TOKEN( "on-click",          XML_ON_CLICK ),
3047         TOKEN( "with-previous",     XML_WITH_PREVIOUS ),
3048         TOKEN( "after-previous",        XML_AFTER_PREVIOUS ),
3049         TOKEN( "main-sequence",     XML_MAIN_SEQUENCE ),
3050         TOKEN( "timing-root",           XML_TIMING_ROOT ),
3051         TOKEN( "interactive-sequence",XML_INTERACTIVE_SEQUENCE ),
3052 
3053         TOKEN( "sub-item",          XML_SUB_ITEM ),
3054         TOKEN( "iterate-type",      XML_ITERATE_TYPE ),
3055         TOKEN( "iterate-interval",  XML_ITERATE_INTERVAL ),
3056         TOKEN( "iterate",               XML_ITERATE ),
3057         TOKEN( "by-paragraph",      XML_BY_PARAGRAPH ),
3058         TOKEN( "by-word",               XML_BY_WORD ),
3059         TOKEN( "by-letter",         XML_BY_LETTER ),
3060 
3061         TOKEN( "after-effect",      XML_AFTER_EFFECT ),
3062         TOKEN( "master",                XML_MASTER ),
3063 
3064         TOKEN( "group-id",          XML_GROUP_ID ),
3065         TOKEN( "targetElement",     XML_TARGETELEMENT ),
3066         TOKEN( "toggle-pause",      XML_TOGGLE_PAUSE ),
3067         TOKEN( "master-element",        XML_MASTER_ELEMENT ),
3068         TOKEN( "stop-audio",            XML_STOP_AUDIO ),
3069 
3070         TOKEN( "audio-level",           XML_AUDIO_LEVEL ),
3071 
3072         TOKEN( "urn:oasis:names:tc",    XML_URN_OASIS_NAMES_TC ),
3073         TOKEN( "opendocument",          XML_OPENDOCUMENT),
3074         TOKEN( "1.0", XML_1_0 ),
3075 
3076         TOKEN( "is-list-header",     XML_IS_LIST_HEADER ),
3077         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0",      XML_N_SVG_COMPAT ),
3078         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0",      XML_N_FO_COMPAT ),
3079         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0",      XML_N_SMIL_COMPAT ),
3080         TOKEN( "http://www.w3.org/2001/SMIL20", XML_N_SMIL_OLD ),
3081         TOKEN( "xforms-submission",            XML_XFORMS_SUBMISSION ),
3082         TOKEN( "xforms-list-source",            XML_XFORMS_LIST_SOURCE ),
3083 
3084         TOKEN( "http://www.w3.org/",    XML_URI_W3_PREFIX ),
3085         TOKEN( "/xforms",               XML_URI_XFORMS_SUFFIX ),
3086         /* XML_HORIZONTAL_ON_LEFT_PAGES and XML_HORIZONTAL_ON_RIGHT_PAGES
3087            are replaced by XML_HORIZONTAL_ON_EVEN and XML_HORIZONTAL_ON_ODD. (#i49139#)
3088         */
3089         TOKEN( "horizontal-on-even",        XML_HORIZONTAL_ON_EVEN ),
3090         TOKEN( "urn:oasis:names:tc:opendocument:xmlns:report:1.0",        XML_N_RPT_OASIS ),
3091         TOKEN( "http://openoffice.org/2005/report",       XML_N_RPT ),
3092         TOKEN( "group",       XML_GROUP ),
3093         TOKEN( "groups",       XML_GROUPS        ),
3094         TOKEN( "report-header",       XML_REPORT_HEADER ),
3095         TOKEN( "page-header",       XML_PAGE_HEADER  ),
3096         TOKEN( "detail",       XML_DETAIL        ),
3097         TOKEN( "page-footer",       XML_PAGE_FOOTER  ),
3098         TOKEN( "report-footer",       XML_REPORT_FOOTER ),
3099         TOKEN( "start-new-column",       XML_START_NEW_COLUMN            ),
3100         TOKEN( "reset-page-number",       XML_RESET_PAGE_NUMBER          ),
3101         TOKEN( "print-header-on-each-page",       XML_PRINT_HEADER_ON_EACH_PAGE  ),
3102         TOKEN( "sort-expression",        XML_SORT_EXPRESSION             ),
3103         TOKEN( "group-expression",       XML_GROUP_EXPRESSION            ),
3104         TOKEN( "group-header",       XML_GROUP_HEADER                ),
3105         TOKEN( "group-footer",       XML_GROUP_FOOTER                ),
3106         TOKEN( "header-on-new-page",       XML_HEADER_ON_NEW_PAGE),
3107         TOKEN( "footer-on-new-page",       XML_FOOTER_ON_NEW_PAGE),
3108         TOKEN( "page-print-option",       XML_PAGE_PRINT_OPTION ),
3109         TOKEN( "pre-evaluated",         XML_PRE_EVALUATED),
3110         TOKEN( "command-type",       XML_COMMAND_TYPE ),
3111         TOKEN( "master-fields",       XML_MASTER_FIELDS ),
3112         TOKEN( "detail-fields",       XML_DETAIL_FIELDS ),
3113         TOKEN( "conditional-print-expression",       XML_CONDITIONAL_PRINT_EXPRESSION ),
3114         TOKEN( "report-component",       XML_REPORT_COMPONENT ),
3115         TOKEN( "print-repeated-values",       XML_PRINT_REPEATED_VALUES ),
3116         TOKEN( "repeat-section",       XML_REPEAT_SECTION ),
3117         TOKEN( "force-new-column",       XML_FORCE_NEW_COLUMN ),
3118         TOKEN( "group-on",       XML_GROUP_ON),
3119         TOKEN( "force-new-page",       XML_FORCE_NEW_PAGE),
3120         TOKEN( "group-interval",       XML_GROUP_INTERVAL),
3121         TOKEN( "print-when-group-change",   XML_PRINT_WHEN_GROUP_CHANGE),
3122         TOKEN( "report-element",   XML_REPORT_ELEMENT),
3123         TOKEN( "list-source",   XML_LIST_SOURCE),
3124         TOKEN( "list-source-type",   XML_LIST_SOURCE_TYPE),
3125         TOKEN( "image-data",   XML_IMAGE_DATA),
3126         TOKEN( "selected",   XML_SELECTED),
3127         TOKEN( "current-state",   XML_CURRENT_STATE),
3128         TOKEN( "is-tristate",   XML_IS_TRISTATE),
3129         TOKEN( "all-pages",   XML_ALL_PAGES),
3130         TOKEN( "not-with-report-header",                XML_NOT_WITH_REPORT_HEADER              ),
3131         TOKEN( "not-with-report-footer",                XML_NOT_WITH_REPORT_FOOTER              ),
3132         TOKEN( "not-with-report-header-nor-footer",     XML_NOT_WITH_REPORT_HEADER_NOR_FOOTER   ),
3133         TOKEN( "before-section",        XML_BEFORE_SECTION      ),
3134         TOKEN( "after-section",         XML_AFTER_SECTION       ),
3135         TOKEN( "before-after-section",  XML_BEFORE_AFTER_SECTION),
3136         TOKEN( "prefix-characters",     XML_PREFIX_CHARACTERS       ),
3137         TOKEN( "quartal",               XML_QUARTAL             ),
3138         TOKEN( "week",                  XML_WEEK                ),
3139         TOKEN( "whole-group",           XML_WHOLE_GROUP         ),
3140         TOKEN( "with-first-detail",     XML_WITH_FIRST_DETAIL   ),
3141         TOKEN( "top-down",              XML_TOP_DOWN   ),
3142         TOKEN( "bottom-up",             XML_BOTTOM_UP   ),
3143         TOKEN( "hour",                  XML_HOUR   ),
3144         TOKEN( "minute",                XML_MINUTE   ),
3145         TOKEN( "rpt",                   XML_NP_RPT ),
3146         TOKEN( "format-condition",      XML_FORMAT_CONDITION ),
3147         TOKEN( "expression1",           XML_EXPRESSION1     ),
3148         TOKEN( "expression2",           XML_EXPRESSION2     ),
3149         TOKEN( "equal",                 XML_EQUAL           ),
3150         TOKEN( "not_equal",             XML_NOT_EQUAL       ),
3151         TOKEN( "less",                  XML_LESS            ),
3152         TOKEN( "greater",               XML_GREATER         ),
3153         TOKEN( "less_equal",            XML_LESS_EQUAL      ),
3154         TOKEN( "greater_equal",         XML_GREATER_EQUAL   ),
3155         TOKEN( "between",               XML_BETWEEN         ),
3156         TOKEN( "not_between",           XML_NOT_BETWEEN     ),
3157         TOKEN( "table-template",        XML_TABLE_TEMPLATE  ),
3158         TOKEN( "first-row",             XML_FIRST_ROW       ),
3159         TOKEN( "last-row",              XML_LAST_ROW        ),
3160         TOKEN( "first-column",          XML_FIRST_COLUMN    ),
3161         TOKEN( "last-column",           XML_LAST_COLUMN     ),
3162         TOKEN( "even-rows",             XML_EVEN_ROWS       ),
3163         TOKEN( "odd-rows",              XML_ODD_ROWS        ),
3164         TOKEN( "even-columns",          XML_EVEN_COLUMNS    ),
3165         TOKEN( "odd-columns",           XML_ODD_COLUMNS     ),
3166         // table styles
3167         TOKEN( "first-row-even-column",  XML_FIRST_ROW_EVEN_COLUMN    ),
3168         TOKEN( "last-row-even-column",   XML_LAST_ROW_EVEN_COLUMN     ),
3169         TOKEN( "first-row-end-column",   XML_FIRST_ROW_END_COLUMN     ),
3170         TOKEN( "first-row-start-column", XML_FIRST_ROW_START_COLUMN   ),
3171         TOKEN( "last-row-end-column",    XML_LAST_ROW_END_COLUMN      ),
3172         TOKEN( "last-row-start-column",  XML_LAST_ROW_START_COLUMN    ),
3173 
3174         TOKEN( "horizontal-on-odd",         XML_HORIZONTAL_ON_ODD ),
3175         // Password error from 1.4 to 2.0 Beta (#i45874#)
3176         TOKEN( "restart-numbering",               XML_RESTART_NUMBERING),
3177         // OpenDocument <text:numbered-paragraph> element not supported on OpenDocument import (#i52127#)
3178         TOKEN( "numbered-paragraph", XML_NUMBERED_PARAGRAPH),
3179         TOKEN( "master-detail-fields",  XML_MASTER_DETAIL_FIELDS),
3180         TOKEN( "master-detail-field",   XML_MASTER_DETAIL_FIELD),
3181         TOKEN( "sub-document",          XML_SUB_DOCUMENT),
3182         TOKEN( "fixed-content",         XML_FIXED_CONTENT),
3183         TOKEN( "initial-formula",       XML_INITIAL_FORMULA),
3184         TOKEN( "deep-traversing",       XML_DEEP_TRAVERSING),
3185         TOKEN( "preserve-IRI",       XML_PRESERVE_IRI),
3186         TOKEN( "sort-by-x-values",      XML_SORT_BY_X_VALUES ),
3187         TOKEN( "page-continuation",        XML_PAGE_CONTINUATION ),
3188         TOKEN( "right-angled-axes",      XML_RIGHT_ANGLED_AXES ),
3189         TOKEN( "soft-page-break",                 XML_SOFT_PAGE_BREAK ),
3190         TOKEN( "use-soft-page-breaks",            XML_USE_SOFT_PAGE_BREAKS ),
3191         TOKEN( "percentage-data-style-name",      XML_PERCENTAGE_DATA_STYLE_NAME ),
3192         TOKEN( "value-and-percentage",            XML_VALUE_AND_PERCENTAGE ),
3193         TOKEN( "group-bars-per-axis",             XML_GROUP_BARS_PER_AXIS ),
3194         TOKEN( "include-hidden-cells",            XML_INCLUDE_HIDDEN_CELLS ),
3195         TOKEN( "auto-position",                   XML_AUTOMATIC_POSITION ),
3196         TOKEN( "auto-size",                       XML_AUTOMATIC_SIZE ),
3197         TOKEN( "reverse-direction",               XML_REVERSE_DIRECTION ),
3198         TOKEN( "label-separator",                 XML_LABEL_SEPARATOR ),
3199         TOKEN( "label-position",                  XML_LABEL_POSITION ),
3200         TOKEN( "avoid-overlap",                   XML_AVOID_OVERLAP ),
3201         TOKEN( "near-origin",                     XML_NEAR_ORIGIN ),
3202         TOKEN( "dependency",             XML_DEPENDENCY ),
3203         TOKEN( "nav-order",             XML_NAV_ORDER ),
3204 
3205         TOKEN( "use-first-row-styles",          XML_USE_FIRST_ROW_STYLES ),
3206         TOKEN( "use-last-row-styles",           XML_USE_LAST_ROW_STYLES ),
3207         TOKEN( "use-first-column-styles",       XML_USE_FIRST_COLUMN_STYLES ),
3208         TOKEN( "use-last-column-styles",        XML_USE_LAST_COLUMN_STYLES ),
3209         TOKEN( "use-banding-rows-styles",       XML_USE_BANDING_ROWS_STYLES ),
3210         TOKEN( "use-banding-columns-styles",    XML_USE_BANDING_COLUMNS_STYLES ),
3211 
3212         TOKEN( "automatic-content",     XML_AUTOMATIC_CONTENT ),
3213         TOKEN( "display-r-square",      XML_DISPLAY_R_SQUARE ),
3214         TOKEN( "display-equation",      XML_DISPLAY_EQUATION ),
3215         // db odf 12
3216         TOKEN( "table-representations", XML_TABLE_REPRESENTATIONS ),
3217         TOKEN( "table-representation",  XML_TABLE_REPRESENTATION ),
3218         TOKEN( "schema-definition",     XML_SCHEMA_DEFINITION ),
3219         TOKEN( "connection-data",       XML_CONNECTION_DATA ),
3220         TOKEN( "database-description",  XML_DATABASE_DESCRIPTION ),
3221         TOKEN( "compound-database",     XML_COMPOUND_DATABASE ),
3222         TOKEN( "file-based-database",   XML_FILE_BASED_DATABASE ),
3223         TOKEN( "server-database",       XML_SERVER_DATABASE ),
3224         TOKEN( "media-type",            XML_MEDIA_TYPE ),
3225         TOKEN( "hostname",              XML_HOSTNAME ),
3226         TOKEN( "port",                  XML_PORT ),
3227         TOKEN( "local-socket",          XML_LOCAL_SOCKET ),
3228         TOKEN( "use-system-user",       XML_USE_SYSTEM_USER ),
3229         TOKEN( "driver-settings",       XML_DRIVER_SETTINGS ),
3230         TOKEN( "java-classpath",        XML_JAVA_CLASSPATH ),
3231         TOKEN( "character-set",         XML_CHARACTER_SET ),
3232         TOKEN( "application-connection-settings",         XML_APPLICATION_CONNECTION_SETTINGS ),
3233         TOKEN( "table-include-filter",         XML_TABLE_INCLUDE_FILTER ),
3234         TOKEN( "default-row-style-name", XML_DEFAULT_ROW_STYLE_NAME),
3235         TOKEN( "angle-offset",          XML_ANGLE_OFFSET ),
3236         // Core implementation for direct cross-references (#i81002#)
3237         TOKEN( "number-no-superior", XML_NUMBER_NO_SUPERIOR ),
3238         TOKEN( "number-all-superior", XML_NUMBER_ALL_SUPERIOR ),
3239         TOKEN( "list-level-position-and-space-mode", XML_LIST_LEVEL_POSITION_AND_SPACE_MODE ),
3240         TOKEN( "label-width-and-position",           XML_LABEL_WIDTH_AND_POSITION ),
3241         TOKEN( "label-alignment",                    XML_LABEL_ALIGNMENT ),
3242         TOKEN( "list-level-label-alignment",         XML_LIST_LEVEL_LABEL_ALIGNMENT ),
3243         TOKEN( "label-followed-by",                  XML_LABEL_FOLLOWED_BY ),
3244         TOKEN( "listtab",                            XML_LISTTAB ),
3245         TOKEN( "space",                              XML_SPACE ),
3246         TOKEN( "nothing",                            XML_NOTHING ),
3247         TOKEN( "list-tab-stop-position",             XML_LIST_TAB_STOP_POSITION ),
3248 
3249         // bm: chart error bar extensions (ODF 1.2)
3250         TOKEN( "standard-error",        XML_STANDARD_ERROR ),
3251         TOKEN( "cell-range" ,           XML_CELL_RANGE ),
3252         TOKEN( "error-lower-range",     XML_ERROR_LOWER_RANGE ),
3253         TOKEN( "error-upper-range",     XML_ERROR_UPPER_RANGE ),
3254 
3255         TOKEN( "continue-list",         XML_CONTINUE_LIST ),
3256         TOKEN( "style-override",        XML_STYLE_OVERRIDE ),
3257 
3258         // XForms: Changes to model should optionally set document's modified state. (#i90243#)
3259         TOKEN( "xforms-settings",       XML_XFORM_MODEL_SETTINGS ),
3260 
3261         // ODF 1.2 metadata
3262         TOKEN( "meta-field",            XML_META_FIELD ),
3263         TOKEN( "about",                 XML_ABOUT ),
3264         TOKEN( "datatype",              XML_DATATYPE ),
3265         TOKEN( "transformation",        XML_TRANSFORMATION ),
3266 
3267         // ODF 1.2 numbered-paragraph
3268         TOKEN( "list-id",               XML_LIST_ID ),
3269 
3270         TOKEN( "treat-empty-cells",     XML_TREAT_EMPTY_CELLS ),
3271         TOKEN( "leave-gap",             XML_LEAVE_GAP ),
3272         TOKEN( "use-zero",              XML_USE_ZERO ),
3273         TOKEN( "ignore",                XML_IGNORE ),
3274 
3275         // enhanced fields
3276         TOKEN( "fieldmark",             XML_FIELDMARK ),
3277         TOKEN( "fieldmark-start",       XML_FIELDMARK_START ),
3278         TOKEN( "fieldmark-end",         XML_FIELDMARK_END ),
3279 
3280         TOKEN( "image-scale",           XML_IMAGE_SCALE  ),
3281         TOKEN( "isotropic",             XML_ISOTROPIC  ),
3282         TOKEN( "anisotropic",           XML_ANISOTROPIC ),
3283 
3284         TOKEN( "axis-position",         XML_AXIS_POSITION ),
3285         TOKEN( "axis-label-position",   XML_AXIS_LABEL_POSITION ),
3286         TOKEN( "near-axis",             XML_NEAR_AXIS ),
3287         TOKEN( "near-axis-other-side",  XML_NEAR_AXIS_OTHER_SIDE ),
3288         TOKEN( "outside-start",         XML_OUTSIDE_START ),
3289         TOKEN( "outside-end",           XML_OUTSIDE_END ),
3290         TOKEN( "tick-mark-position",    XML_TICK_MARK_POSITION ),
3291         TOKEN( "at-labels",             XML_AT_LABELS ),
3292         TOKEN( "at-axis",               XML_AT_AXIS ),
3293         TOKEN( "at-labels-and-axis",    XML_AT_LABELS_AND_AXIS ),
3294         TOKEN( "filled-radar",                    XML_FILLED_RADAR ),
3295         TOKEN( "surface",               XML_SURFACE ),
3296 
3297         TOKEN( "mathvariant",           XML_MATHVARIANT ),
3298         TOKEN( "mathsize",              XML_MATHSIZE ),
3299         TOKEN( "mathweight",            XML_MATHWEIGHT ),
3300         TOKEN( "mathcolor",             XML_MATHCOLOR ),
3301 
3302         TOKEN( "contains",              XML_CONTAINS ),
3303         TOKEN( "does-not-contain",      XML_DOES_NOT_CONTAIN ),
3304         TOKEN( "begins-with",           XML_BEGINS_WITH ),
3305         TOKEN( "does-not-begin-with",   XML_DOES_NOT_BEGIN_WITH ),
3306         TOKEN( "ends-with",             XML_ENDS_WITH ),
3307         TOKEN( "does-not-end-with",     XML_DOES_NOT_END_WITH ),
3308 
3309         TOKEN( "chartooo", XML_NP_CHART_EXT ),
3310         TOKEN( "http://openoffice.org/2010/chart", XML_N_CHART_EXT ),
3311         TOKEN( "coordinate-region",    XML_COORDINATE_REGION ),
3312 
3313         TOKEN( "diagonal-bl-tr-widths", XML_DIAGONAL_BL_TR_WIDTHS ),
3314         TOKEN( "diagonal-tl-br-widths", XML_DIAGONAL_TL_BR_WIDTHS ),
3315 
3316         TOKEN( "outside-minimum",       XML_OUTSIDE_MINIMUM ),
3317         TOKEN( "outside-maximum",       XML_OUTSIDE_MAXIMUM ),
3318 
3319         TOKEN( "legend-expansion",      XML_LEGEND_EXPANSION),
3320         TOKEN( "legend-expansion-aspect-ratio", XML_LEGEND_EXPANSION_ASPECT_RATIO),
3321         TOKEN( "balanced",              XML_BALANCED),
3322         TOKEN( "high",                  XML_HIGH),
3323         TOKEN( "wide",                  XML_WIDE),
3324 
3325         TOKEN( "axis-type",             XML_AXIS_TYPE ), //#i25706#
3326         TOKEN( "date-scale",            XML_DATE_SCALE ),
3327         TOKEN( "base-time-unit",        XML_BASE_TIME_UNIT ),
3328         TOKEN( "major-interval-value",  XML_MAJOR_INTERVAL_VALUE ),
3329         TOKEN( "minor-interval-value",  XML_MINOR_INTERVAL_VALUE ),
3330         TOKEN( "major-interval-unit",   XML_MAJOR_INTERVAL_UNIT ),
3331         TOKEN( "minor-interval-unit",   XML_MINOR_INTERVAL_UNIT ),
3332 
3333         TOKEN( "min-value", XML_MIN_VALUE ),
3334         TOKEN( "max-value", XML_MAX_VALUE ),
3335 
3336         TOKEN( "margin", XML_MARGIN),
3337 
3338         TOKEN( "propertry-mapping", XML_PROPERTY_MAPPING),
3339         TOKEN( "provider", XML_PROVIDER),
3340         TOKEN( "data-mappings", XML_DATA_MAPPINGS),
3341         TOKEN( "data-mapping", XML_DATA_MAPPING),
3342         TOKEN( "frequency", XML_DATA_FREQUENCY),
3343         TOKEN( "data-transformations", XML_DATA_TRANSFORMATIONS),
3344         TOKEN( "column-remove-transformation", XML_COLUMN_REMOVE_TRANSFORMATION),
3345         TOKEN( "column-split-transformation", XML_COLUMN_SPLIT_TRANSFORMATION),
3346         TOKEN( "column-merge-transformation", XML_COLUMN_MERGE_TRANSFORMATION),
3347         TOKEN( "column-sort-transformation", XML_COLUMN_SORT_TRANSFORMATION),
3348         TOKEN( "column-text-transformation", XML_COLUMN_TEXT_TRANSFORMATION),
3349         TOKEN( "column-aggregate-transformation", XML_COLUMN_AGGREGATE_TRANSFORMATION),
3350         TOKEN( "column-number-transformation", XML_COLUMN_NUMBER_TRANSFORMATION),
3351 
3352         TOKEN( "sort-param", XML_SORT_PARAM ),
3353         TOKEN( "merge-string", XML_MERGE_STRING ),
3354         TOKEN( "trim", XML_TRIM ),
3355         TOKEN( "round-up", XML_ROUND_UP ),
3356         TOKEN( "round-down", XML_ROUND_DOWN ),
3357         TOKEN( "log-base-10", XML_LOG_10 ),
3358         TOKEN( "number-square", XML_SQUARE ),
3359         TOKEN( "square-root", XML_SQUARE_ROOT ),
3360         TOKEN( "even", XML_EVEN ),
3361         TOKEN( "odd", XML_ODD ),
3362         TOKEN( "sign", XML_SIGN ),
3363         TOKEN( "replace-string", XML_REPLACE_STRING ),
3364         TOKEN( "column-replacenull-transformation", XML_COLUMN_REPLACENULL_TRANSFORMATION ),
3365         TOKEN( "column-datetime-transformation", XML_COLUMN_DATETIME_TRANSFORMATION ),
3366         TOKEN( "start-of-year", XML_START_OF_YEAR ),
3367         TOKEN( "end-of-year", XML_END_OF_YEAR ),
3368         TOKEN( "month-name", XML_MONTH_NAME ),
3369         TOKEN( "start-of-month", XML_START_OF_MONTH ),
3370         TOKEN( "end-of-month", XML_END_OF_MONTH ),
3371         TOKEN( "day-of-year", XML_DAY_OF_YEAR ),
3372         TOKEN( "start-of-quarter", XML_START_OF_QUARTER ),
3373         TOKEN( "end-of-quarter", XML_END_OF_QUARTER ),
3374 
3375         // regina, ODF1.2 additional symbols in charts
3376         TOKEN( "star",                         XML_STAR ),
3377         TOKEN( "asterisk",                     XML_ASTERISK ),
3378         TOKEN( "horizontal-bar",               XML_HORIZONTAL_BAR ),
3379         TOKEN( "vertical-bar",                 XML_VERTICAL_BAR ),
3380 
3381         TOKEN( "std-weight", XML_ERROR_STANDARD_WEIGHT ),
3382 
3383         // erAck: 2013-07-02  BCP 47 language tags
3384         TOKEN( "rfc-language-tag",          XML_RFC_LANGUAGE_TAG ),
3385         TOKEN( "rfc-language-tag-asian",    XML_RFC_LANGUAGE_TAG_ASIAN ),
3386         TOKEN( "rfc-language-tag-complex",  XML_RFC_LANGUAGE_TAG_COMPLEX ),
3387         TOKEN( "data-table-show-horz-border",     XML_DATA_TABLE_SHOW_HORZ_BORDER ),
3388         TOKEN( "data-table-show-vert-border",     XML_DATA_TABLE_SHOW_VERT_BORDER ),
3389         TOKEN( "data-table-show-outline",     XML_DATA_TABLE_SHOW_OUTLINE ),
3390         TOKEN( "display-units",     XML_CHART_DUNITS_DISPLAYUNITS ),
3391         TOKEN( "display-units-built-in-unit",     XML_CHART_DUNITS_BUILTINUNIT ),
3392         TOKEN( "external-data", XML_EXTERNALDATA),
3393 
3394         TOKEN( "exponent-interval",               XML_EXPONENT_INTERVAL ),
3395         TOKEN( "forced-exponent-sign",            XML_FORCED_EXPONENT_SIGN ),
3396         TOKEN( "min-decimal-places",              XML_MIN_DECIMAL_PLACES ),
3397         TOKEN( "max-denominator-value",           XML_MAX_DENOMINATOR_VALUE ),
3398         TOKEN( "max-numerator-digits",            XML_MAX_NUMERATOR_DIGITS ),
3399         TOKEN( "zeros-numerator-digits",          XML_ZEROS_NUMERATOR_DIGITS ),
3400         TOKEN( "zeros-denominator-digits",        XML_ZEROS_DENOMINATOR_DIGITS ),
3401         TOKEN( "integer-fraction-delimiter",      XML_INTEGER_FRACTION_DELIMITER ),
3402 
3403         // for optional language-dependent reference formats
3404         TOKEN( "reference-language",              XML_REFERENCE_LANGUAGE ),
3405         TOKEN( "newline",                         XML_NEWLINE ),
3406         TOKEN( "creator-initials",                XML_CREATOR_INITIALS ),
3407 
3408         // tdf#115007 spell out numbers, dates, money amounts and cross references
3409         TOKEN( "transliteration-spellout",         XML_TRANSLITERATION_SPELLOUT ),
3410 
3411         // For recording whether comments/annotations are resolved
3412         TOKEN( "resolved",                        XML_RESOLVED ),
3413 
3414         TOKEN( "page-content-top",                XML_PAGE_CONTENT_TOP ),
3415 
3416         TOKEN( "page-content-bottom",             XML_PAGE_CONTENT_BOTTOM ),
3417         TOKEN("margin-gutter", XML_MARGIN_GUTTER),
3418 
3419 #if OSL_DEBUG_LEVEL > 0
3420         { 0, nullptr, std::nullopt,               XML_TOKEN_END }
3421 #else
3422         { 0, nullptr, std::nullopt             /* XML_TOKEN_END */ }
3423 #endif
3424     };
3425 
3426     // get OUString representation of token
GetXMLToken(enum XMLTokenEnum eToken)3427     const OUString& GetXMLToken( enum XMLTokenEnum eToken )
3428     {
3429 #if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG
3430         static bool s_bChecked = false;
3431         if (!s_bChecked)
3432         {
3433             // check the consistency of the token list. Below, we use the
3434             // ordinal value of the token as index into the token list, so we
3435             // should make sure that every entry is at the proper position
3436             std::set<OString> tokenSet;
3437             bool foundDuplicate = false;
3438             const XMLTokenEntry* pEntry = aTokenList;
3439             const XMLTokenEntry* pEntryEnd =
3440                 pEntry + SAL_N_ELEMENTS(aTokenList);
3441             sal_uInt16 nPos = 0;
3442             while (pEntry < pEntryEnd)
3443             {
3444                 SAL_WARN_IF(nPos != static_cast<sal_uInt16>(pEntry->eToken), "xmloff",
3445                             "inconsistency at pos " << nPos << " for token "
3446                             << OUString( pEntry->pChar, pEntry->nLength, RTL_TEXTENCODING_ASCII_US ));
3447                 assert(nPos == static_cast<sal_uInt16>(pEntry->eToken));
3448                     // Inconsistency in the token list!
3449                     // The positions in xmltoken.hxx and xmltoken.cxx need to match.
3450 
3451                 // verify that we have no duplicates, which can mess us up when doing fast-parser import
3452                 if (pEntry->nLength && nPos >= XML_MM)
3453                     // ignoring the zero-length fake entries and the namespace prefix entries
3454                 {
3455                     auto pair = tokenSet.insert(OString(pEntry->pChar, pEntry->nLength));
3456                     if (!pair.second)
3457                     {
3458                         SAL_WARN("xmloff", "duplicate token string "
3459                                 << OUString( pEntry->pChar, pEntry->nLength, RTL_TEXTENCODING_ASCII_US ));
3460                         foundDuplicate = true;
3461                     }
3462                 }
3463                 ++pEntry;
3464                 ++nPos;
3465             }
3466             assert(!foundDuplicate && "duplicate token string");
3467 
3468             s_bChecked = true; // it's all static, checking once is enough
3469         }
3470 #endif
3471         assert(XML_TOKEN_INVALID < eToken);
3472         assert(eToken < XML_TOKEN_END);
3473         assert(sal_uInt16(eToken) < SAL_N_ELEMENTS(aTokenList));
3474 
3475         XMLTokenEntry* pToken = &aTokenList[static_cast<sal_uInt16>(eToken)];
3476         if (!pToken->xOUString)
3477            pToken->xOUString = OUString( pToken->pChar, pToken->nLength,
3478                                          RTL_TEXTENCODING_ASCII_US );
3479         return *pToken->xOUString;
3480     }
3481 
3482     // does rString represent eToken?
IsXMLToken(std::u16string_view rString,enum XMLTokenEnum eToken)3483     bool IsXMLToken(
3484         std::u16string_view rString,
3485         enum XMLTokenEnum eToken )
3486     {
3487         assert(XML_TOKEN_INVALID < eToken);
3488         assert(eToken < XML_TOKEN_END);
3489 
3490         const XMLTokenEntry* pToken = &aTokenList[static_cast<sal_uInt16>(eToken)];
3491         return static_cast<sal_Int32>(rString.size()) == pToken->nLength &&
3492                rtl_ustr_asciil_reverseEquals_WithLength(
3493                     rString.data(), pToken->pChar, pToken->nLength );
3494     }
3495 
IsXMLToken(const sax_fastparser::FastAttributeList::FastAttributeIter & aIter,enum XMLTokenEnum eToken)3496     bool IsXMLToken(
3497         const sax_fastparser::FastAttributeList::FastAttributeIter& aIter,
3498         enum XMLTokenEnum eToken )
3499     {
3500         assert(XML_TOKEN_INVALID < eToken);
3501         assert(eToken < XML_TOKEN_END);
3502 
3503         const XMLTokenEntry* pToken = &aTokenList[static_cast<sal_uInt16>(eToken)];
3504         return aIter.isString( pToken->pChar );
3505     }
3506 
3507     // does aStr represent eToken?
IsXMLToken(std::string_view aStr,enum XMLTokenEnum eToken)3508     bool IsXMLToken(
3509         std::string_view aStr,
3510         enum XMLTokenEnum eToken )
3511     {
3512         assert(XML_TOKEN_INVALID < eToken);
3513         assert(eToken < XML_TOKEN_END);
3514 
3515         const XMLTokenEntry* pToken = &aTokenList[static_cast<sal_uInt16>(eToken)];
3516         return aStr == std::string_view(pToken->pChar, pToken->nLength);
3517     }
3518 }
3519 
3520 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
3521