1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_SVGIO_INC_SVGTOKEN_HXX
21 #define INCLUDED_SVGIO_INC_SVGTOKEN_HXX
23 #include <rtl/ustring.hxx>
25 namespace svgio::svgreader
27 // SVG token mapper with hashing
32 // diverse attribute tokens
38 SVGTokenDisplay
, // #i121656#
56 SVGTokenFontSizeAdjust
,
62 SVGTokenLetterSpacing
,
63 SVGTokenTextDecoration
,
66 SVGTokenCharacter
, // not in the hash, just for simple text handling in SvgCharacterNode
81 SVGTokenClipPathProperty
,
83 SVGTokenClipPathUnits
,
85 SVGTokenMaskContentUnits
,
99 SVGTokenPatternContentUnits
,
100 SVGTokenPatternTransform
,
106 // AspectRatio and params
107 SVGTokenPreserveAspectRatio
,
122 // structural elements
140 // gradient elements and tokens
141 SVGTokenLinearGradient
,
142 SVGTokenRadialGradient
,
154 SVGTokenGradientUnits
,
155 SVGTokenGradientTransform
,
156 SVGTokenSpreadMethod
,
168 SVGTokenStrokeDasharray
,
169 SVGTokenStrokeDashoffset
,
170 SVGTokenStrokeLinecap
,
171 SVGTokenStrokeLinejoin
,
172 SVGTokenStrokeMiterlimit
,
173 SVGTokenStrokeOpacity
,
178 SVGTokenBaselineShift
,
183 SVGToken
StrToSVGToken(const OUString
& rStr
, bool bCaseIndependent
);
185 OUString
getStrTitle();
186 OUString
getStrDesc();
188 } // end of namespace svgio::svgreader
190 #endif // INCLUDED_SVGIO_INC_SVGTOKEN_HXX
192 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */