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
13 #include <oox/drawingml/color.hxx>
14 #include <oox/helper/propertymap.hxx>
23 struct EffectShadowProperties
25 OptValue
< sal_Int64
> moShadowDist
;
26 OptValue
< sal_Int64
> moShadowDir
;
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 std::vector
<std::unique_ptr
<Effect
>> m_Effects
;
50 EffectProperties(EffectProperties
const& rOther
)
55 /** Overwrites all members that are explicitly set in rSourceProps. */
56 void assignUsed( const EffectProperties
& rSourceProps
);
58 /** Writes the properties to the passed property map. */
60 PropertyMap
& rPropMap
,
61 const GraphicHelper
& rGraphicHelper
) const;
64 } // namespace drawingml
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */