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/.
12 #include <oox/core/contexthandler2.hxx>
14 namespace model
{ class EffectStyle
; }
16 namespace oox::drawingml
{
18 struct EffectProperties
;
21 class EffectPropertiesContext final
: public ::oox::core::ContextHandler2
24 EffectPropertiesContext(::oox::core::ContextHandler2Helper
const & rParent
, EffectProperties
& rEffectProperties
,
25 model::EffectStyle
* pEffectStyle
= nullptr) noexcept
;
26 virtual ~EffectPropertiesContext() override
;
28 virtual ::oox::core::ContextHandlerRef
29 onCreateContext( ::sal_Int32 Element
, const ::oox::AttributeList
& rAttribs
) override
;
32 static void saveUnsupportedAttribs( Effect
& rEffect
, const AttributeList
& rAttribs
);
34 model::EffectStyle
* mpEffectStyle
;
35 EffectProperties
& mrEffectProperties
;
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */