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
1032 // XML_HORIZONTAL_ON_LEFT_PAGES and XML_HORIZONTAL_ON_RIGHT_PAGES
1033 // are replaced by XML_HORIZONTAL_ON_EVEN and XML_HORIZONTAL_ON_ODD.
1034 // Usage is deprecated, but the old token are needed for the
1035 // OpenOffice.org file format import/export filter for the renaming (#i49139#)
1072 XML_IGNORE_SELECTED_PAGE, // used for ODF compatibility
2184
2212
2214
2217
2229
2239
2247
2271
2273
2276
2278
2280
2282
2286
2294
2303
2304 //text grid enhancement for better CJK support
2310
2313
2315
2317
2331
2333
2335
2337
2342
2346
2349
2352
2354
2355 // #107245# New 3D properties which are possible for lathe and extrude 3d objects
2358
2361
2363
2368
2369 // Wrong! Do not write, use XML_SORT_ASCENDING instead. Only read. fdo#72548
2371
2373 XML_DATASOURCE, // forms "datasource"
2374 XML_DATA_SOURCE, // db "data-source"
2379
2448
2451
2454
2456
2466
2470
2472
2473 // DVO, OD 01.10.2003 #i18732
2475
2476 XML_WITH_TAB, // #i21237#
2477
2551
2555
2581
2583
2587
2594
2595 /* Core impl. of the positioning of floating screen objects without
2596 considering its wrapping style (#i28701#)
2597 */
2599 // Tokens have been renamed and <XML_ITERATIVE> has been added (#i35017#)
2603
2604 // Names for OOo format only
2619
2661
2662 // chart Oasis format additions
2665
2669
2675
2680
2683
2701
2707
2716
2719
2727
2761
2777
2790
2803
2807
2810
2811 // XForms tokens
2812 // already defined: XML_ACTION, XML_VERSION, XML_ENCODING,
2813 // XML_REPLACE, XML_SEPARATOR, XML_TYPE, XML_ID
2831 XML_MAXOCCURS, // maxOccurs
2832 XML_MINOCCURS, // minOccurs
2836
2837 // XForms/XSD Schema; these tokens use innerWordCapitalization
2838 // (already defined: XML_SCHEMA, XML_LENGTH, XML_ID)
2840 XML_TARGETNAMESPACE, // targetNamespace
2841 XML_SIMPLETYPE, // simpleType
2843 XML_MAXLENGTH, // maxLength
2844 XML_MINLENGTH, // minLength
2845 XML_MININCLUSIVE, // minInclusive
2846 XML_MINEXCLUSIVE, // minExclusive
2847 XML_MAXINCLUSIVE, // maxInclusive
2848 XML_MAXEXCLUSIVE, // maxExclusive
2851 XML_WHITESPACE, // whiteSpace
2852 XML_TOTALDIGITS, // totalDigits
2853 XML_FRACTIONDIGITS, // fractionDigits
2855 XML_ANYURI, // anyURI
2856 XML_DATETIME_XSD, // dateTime
2857 XML_MAIN_ETRY, // #i28755#
2858
2859 // SMIL