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
1030 // XML_HORIZONTAL_ON_LEFT_PAGES and XML_HORIZONTAL_ON_RIGHT_PAGES
1031 // are replaced by XML_HORIZONTAL_ON_EVEN and XML_HORIZONTAL_ON_ODD.
1032 // Usage is deprecated, but the old token are needed for the
1033 // OpenOffice.org file format import/export filter for the renaming (#i49139#)
1070 XML_IGNORE_SELECTED_PAGE, // used for ODF compatibility
2178
2206
2208
2211
2223
2233
2241
2265
2267
2270
2272
2274
2276
2280
2288
2297
2298 //text grid enhancement for better CJK support
2304
2307
2309
2311
2325
2327
2329
2331
2336
2340
2343
2346
2348
2349 // #107245# New 3D properties which are possible for lathe and extrude 3d objects
2352
2355
2357
2362
2363 // Wrong! Do not write, use XML_SORT_ASCENDING instead. Only read. fdo#72548
2365
2367 XML_DATASOURCE, // forms "datasource"
2368 XML_DATA_SOURCE, // db "data-source"
2373
2442
2445
2448
2450
2460
2464
2466
2467 // DVO, OD 01.10.2003 #i18732
2469
2470 XML_WITH_TAB, // #i21237#
2471
2545
2549
2574
2576
2580
2587
2588 /* Core impl. of the positioning of floating screen objects without
2589 considering its wrapping style (#i28701#)
2590 */
2592 // Tokens have been renamed and <XML_ITERATIVE> has been added (#i35017#)
2596
2597 // Names for OOo format only
2612
2654
2655 // chart Oasis format additions
2658
2662
2668
2673
2676
2694
2700
2709
2712
2720
2754
2769
2782
2795
2799
2802
2803 // XForms tokens
2804 // already defined: XML_ACTION, XML_VERSION, XML_ENCODING,
2805 // XML_REPLACE, XML_SEPARATOR, XML_TYPE, XML_ID
2823 XML_MAXOCCURS, // maxOccurs
2824 XML_MINOCCURS, // minOccurs
2828
2829 // XForms/XSD Schema; these tokens use innerWordCapitalization
2830 // (already defined: XML_SCHEMA, XML_LENGTH, XML_ID)
2832 XML_TARGETNAMESPACE, // targetNamespace
2833 XML_SIMPLETYPE, // simpleType
2835 XML_MAXLENGTH, // maxLength
2836 XML_MINLENGTH, // minLength
2837 XML_MININCLUSIVE, // minInclusive
2838 XML_MINEXCLUSIVE, // minExclusive
2839 XML_MAXINCLUSIVE, // maxInclusive
2840 XML_MAXEXCLUSIVE, // maxExclusive
2843 XML_WHITESPACE, // whiteSpace
2844 XML_TOTALDIGITS, // totalDigits
2845 XML_FRACTIONDIGITS, // fractionDigits
2847 XML_ANYURI, // anyURI
2848 XML_DATETIME_XSD, // dateTime
2849 XML_MAIN_ETRY, // #i28755#
2850
2851 // SMIL
2894