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/.
10 #ifndef INCLUDED_OOX_DRAWINGML_EFFECTPROPERTIES_HXX
11 #define INCLUDED_OOX_DRAWINGML_EFFECTPROPERTIES_HXX
14 #include <oox/drawingml/color.hxx>
15 #include <oox/helper/propertymap.hxx>
17 #include <boost/ptr_container/ptr_vector.hpp>
22 struct EffectShadowProperties
24 OptValue
< sal_Int64
> moShadowDist
;
25 OptValue
< sal_Int64
> moShadowDir
;
26 OptValue
< sal_Int64
> moShadowAlpha
;
29 /** Overwrites all members that are explicitly set in rSourceProps. */
30 void assignUsed( const EffectShadowProperties
& rSourceProps
);
36 std::map
< OUString
, css::uno::Any
> maAttribs
;
39 css::beans::PropertyValue
getEffect();
42 struct EffectProperties
44 EffectShadowProperties maShadow
;
46 /** Stores all effect properties, including those not supported by core yet */
47 boost::ptr_vector
< Effect
> maEffects
;
49 /** Overwrites all members that are explicitly set in rSourceProps. */
50 void assignUsed( const EffectProperties
& rSourceProps
);
52 /** Writes the properties to the passed property map. */
54 PropertyMap
& rPropMap
,
55 const GraphicHelper
& rGraphicHelper
) const;
58 } // namespace drawingml
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */