LibreOffice Module xmloff (master)  1
xmltoken.hxx
Go to the documentation of this file.
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 #ifndef INCLUDED_XMLOFF_XMLTOKEN_HXX
21 #define INCLUDED_XMLOFF_XMLTOKEN_HXX
22 
23 #include <sal/config.h>
24 #include <xmloff/dllapi.h>
25 #include <rtl/ustring.hxx>
26 #include <sax/fastattribs.hxx>
27 
41 namespace xmloff::token {
42 
43  // IMPORTANT! XMLTokenEnum order MUST be in synch with aTokenList in
44  // xmloff/source/core/xmltoken.cxx, and with xmloff/source/token/tokens.txt.
45 
49  enum XMLTokenEnum : sal_Int16
50  {
53 
54  // common xml
62 
63  // namespace prefixes and names
118 
121 
124 
127 
128  // erAck: 2008-04-09T20:02+0200 OpenFormula aka ODFF
131 
132  // ODF 1.2 metadata: RDFa and GRDDL
137 
138  // OOo extension digital signatures, used in ODF 1.1
141  // ODF 1.2 digital signatures
150 
151  // ODF Enhanced namespaces
154 
155  // jonp: 2008-09-24 Excel Interop
158 
161 
164 
165  // css text level 3
168 
169  // calc extensions
172  // generic LO extensions
175 
176  // enhanced fields
179 
180  // units
186 
187  // any other
211 
1016  // XML_HORIZONTAL_ON_LEFT_PAGES and XML_HORIZONTAL_ON_RIGHT_PAGES
1017  // are replaced by XML_HORIZONTAL_ON_EVEN and XML_HORIZONTAL_ON_ODD.
1018  // Usage is deprecated, but the old token are needed for the
1019  // OpenOffice.org file format import/export filter for the renaming (#i49139#)
1053  XML_IGNORE_SELECTED_PAGE, // used for ODF compatibility
2142 
2170 
2172 
2175 
2187 
2197 
2205 
2229 
2231 
2234 
2236 
2238 
2240 
2244 
2251 
2260 
2261  //text grid enhancement for better CJK support
2267 
2270 
2272 
2274 
2288 
2290 
2292 
2294 
2299 
2303 
2306 
2309 
2311 
2312  // #107245# New 3D properties which are possible for lathe and extrude 3d objects
2315 
2318 
2320 
2325 
2326  // Wrong! Do not write, use XML_SORT_ASCENDING instead. Only read. fdo#72548
2328 
2330  XML_DATASOURCE, // forms "datasource"
2331  XML_DATA_SOURCE, // db "data-source"
2336 
2405 
2408 
2411 
2413 
2423 
2427 
2429 
2430  // DVO, OD 01.10.2003 #i18732
2432 
2433  XML_WITH_TAB, // #i21237#
2434 
2506 
2510 
2535 
2537 
2541 
2548 
2549  /* Core impl. of the positioning of floating screen objects without
2550  considering its wrapping style (#i28701#)
2551  */
2553  // Tokens have been renamed and <XML_ITERATIVE> has been added (#i35017#)
2557 
2558  // Names for OOo format only
2573 
2615 
2616  // chart Oasis format additions
2619 
2623 
2629 
2634 
2637 
2655 
2661 
2670 
2673 
2681 
2715 
2730 
2742  XML_IMAGE_OPACITY, // #i25616#
2743 
2756 
2760 
2763 
2764  // XForms tokens
2765  // already defined: XML_ACTION, XML_VERSION, XML_ENCODING,
2766  // XML_REPLACE, XML_SEPARATOR, XML_TYPE, XML_ID
2784  XML_MAXOCCURS, // maxOccurs
2785  XML_MINOCCURS, // minOccurs
2789 
2790  // XForms/XSD Schema; these tokens use innerWordCapitalization
2791  // (already defined: XML_SCHEMA, XML_LENGTH, XML_ID)
2793  XML_TARGETNAMESPACE, // targetNamespace
2794  XML_SIMPLETYPE, // simpleType
2796  XML_MAXLENGTH, // maxLength
2797  XML_MINLENGTH, // minLength
2798  XML_MININCLUSIVE, // minInclusive
2799  XML_MINEXCLUSIVE, // minExclusive
2800  XML_MAXINCLUSIVE, // maxInclusive
2801  XML_MAXEXCLUSIVE, // maxExclusive
2804  XML_WHITESPACE, // whiteSpace
2805  XML_TOTALDIGITS, // totalDigits
2806  XML_FRACTIONDIGITS, // fractionDigits
2808  XML_ANYURI, // anyURI
2809  XML_DATETIME_XSD, // dateTime
2810  XML_MAIN_ETRY, // #i28755#
2811 
2812  // SMIL
2855 
2858 
2862 
2865 
2869 
2871 
2876 
2917 
3020 
3023 
3026 
3028 
3035