Line data Source code
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 :
10 : #ifndef INCLUDED_OOX_DRAWINGML_EFFECTPROPERTIES_HXX
11 : #define INCLUDED_OOX_DRAWINGML_EFFECTPROPERTIES_HXX
12 :
13 : #include <oox/drawingml/fillproperties.hxx>
14 :
15 : namespace oox {
16 : namespace drawingml {
17 :
18 :
19 :
20 0 : struct EffectShadowProperties
21 : {
22 : OptValue< sal_Int64 > moShadowDist;
23 : OptValue< sal_Int64 > moShadowDir;
24 : OptValue< sal_Int64 > moShadowAlpha;
25 : Color moShadowColor;
26 :
27 : /** Overwrites all members that are explicitly set in rSourceProps. */
28 : void assignUsed( const EffectShadowProperties& rSourceProps );
29 : };
30 :
31 :
32 :
33 0 : struct OOX_DLLPUBLIC EffectProperties
34 : {
35 : EffectShadowProperties maShadow;
36 :
37 : /** Overwrites all members that are explicitly set in rSourceProps. */
38 : void assignUsed( const EffectProperties& rSourceProps );
39 :
40 : /** Writes the properties to the passed property map. */
41 : void pushToPropMap(
42 : PropertyMap& rPropMap,
43 : const GraphicHelper& rGraphicHelper ) const;
44 : };
45 :
46 :
47 :
48 : } // namespace drawingml
49 : } // namespace oox
50 :
51 : #endif
52 :
53 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|