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
41namespace 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
1031 // XML_HORIZONTAL_ON_LEFT_PAGES and XML_HORIZONTAL_ON_RIGHT_PAGES
1032 // are replaced by XML_HORIZONTAL_ON_EVEN and XML_HORIZONTAL_ON_ODD.
1033 // Usage is deprecated, but the old token are needed for the
1034 // OpenOffice.org file format import/export filter for the renaming (#i49139#)
1071 XML_IGNORE_SELECTED_PAGE, // used for ODF compatibility
2182
2210
2212
2215
2227
2237
2245
2269
2271
2274
2276
2278
2280
2284
2292
2301
2302 //text grid enhancement for better CJK support
2308
2311
2313
2315
2329
2331
2333
2335
2340
2344
2347
2350
2352
2353 // #107245# New 3D properties which are possible for lathe and extrude 3d objects
2356
2359
2361
2366
2367 // Wrong! Do not write, use XML_SORT_ASCENDING instead. Only read. fdo#72548
2369
2371 XML_DATASOURCE, // forms "datasource"
2372 XML_DATA_SOURCE, // db "data-source"
2377
2446
2449
2452
2454
2464
2468
2470
2471 // DVO, OD 01.10.2003 #i18732
2473
2474 XML_WITH_TAB, // #i21237#
2475
2549
2553
2579
2581
2585
2592
2593 /* Core impl. of the positioning of floating screen objects without
2594 considering its wrapping style (#i28701#)
2595 */
2597 // Tokens have been renamed and <XML_ITERATIVE> has been added (#i35017#)
2601
2602 // Names for OOo format only
2617
2659
2660 // chart Oasis format additions
2663
2667
2673
2678
2681
2699
2705
2714
2717
2725
2759
2775
2788
2801
2805
2808
2809 // XForms tokens
2810 // already defined: XML_ACTION, XML_VERSION, XML_ENCODING,
2811 // XML_REPLACE, XML_SEPARATOR, XML_TYPE, XML_ID
2829 XML_MAXOCCURS, // maxOccurs
2830 XML_MINOCCURS, // minOccurs
2834
2835 // XForms/XSD Schema; these tokens use innerWordCapitalization
2836 // (already defined: XML_SCHEMA, XML_LENGTH, XML_ID)
2838 XML_TARGETNAMESPACE, // targetNamespace
2839 XML_SIMPLETYPE, // simpleType
2841 XML_MAXLENGTH, // maxLength
2842 XML_MINLENGTH, // minLength
2843 XML_MININCLUSIVE, // minInclusive
2844 XML_MINEXCLUSIVE, // minExclusive
2845 XML_MAXINCLUSIVE, // maxInclusive
2846 XML_MAXEXCLUSIVE, // maxExclusive
2849 XML_WHITESPACE, // whiteSpace
2850 XML_TOTALDIGITS, // totalDigits
2851 XML_FRACTIONDIGITS, // fractionDigits
2853 XML_ANYURI, // anyURI
2854 XML_DATETIME_XSD, // dateTime
2855 XML_MAIN_ETRY, // #i28755#
2856
2857 // SMIL