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>
29 // SVG token mapper with hashing
34 // diverse attribute tokens
40 SVGTokenDisplay
, // #i121656#
58 SVGTokenFontSizeAdjust
,
64 SVGTokenLetterSpacing
,
65 SVGTokenTextDecoration
,
68 SVGTokenCharacter
, // not in the hash, just for simple text handling in SvgCharacterNode
83 SVGTokenClipPathProperty
,
85 SVGTokenClipPathUnits
,
87 SVGTokenMaskContentUnits
,
100 SVGTokenPatternUnits
,
101 SVGTokenPatternContentUnits
,
102 SVGTokenPatternTransform
,
108 // AspectRatio and params
109 SVGTokenPreserveAspectRatio
,
124 // structural elements
142 // gradient elements and tokens
143 SVGTokenLinearGradient
,
144 SVGTokenRadialGradient
,
156 SVGTokenGradientUnits
,
157 SVGTokenGradientTransform
,
158 SVGTokenSpreadMethod
,
170 SVGTokenStrokeDasharray
,
171 SVGTokenStrokeDashoffset
,
172 SVGTokenStrokeLinecap
,
173 SVGTokenStrokeLinejoin
,
174 SVGTokenStrokeMiterlimit
,
175 SVGTokenStrokeOpacity
,
180 SVGTokenBaselineShift
,
185 SVGToken
StrToSVGToken(const OUString
& rStr
, bool bCaseIndependent
);
187 OUString
getStrTitle();
188 OUString
getStrDesc();
189 } // end of namespace svgreader
190 } // end of namespace svgio
192 #endif // INCLUDED_SVGIO_INC_SVGTOKEN_HXX
194 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */