LibreOffice Module oox (master) 1
effectpropertiescontext.hxx
Go to the documentation of this file.
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#pragma once
11
13
14namespace model { class EffectStyle; }
15
16namespace oox::drawingml {
17
18struct EffectProperties;
19struct Effect;
20
22{
23public:
24 EffectPropertiesContext(::oox::core::ContextHandler2Helper const & rParent, EffectProperties& rEffectProperties,
25 model::EffectStyle* pEffectStyle = nullptr) noexcept;
26 virtual ~EffectPropertiesContext() override;
27
29 onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
30
31private:
32 static void saveUnsupportedAttribs( Effect& rEffect, const AttributeList& rAttribs );
33
36};
37
38}
39
40/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Provides access to attribute values of an element.
virtual ::oox::core::ContextHandlerRef onCreateContext(::sal_Int32 Element, const ::oox::AttributeList &rAttribs) override
static void saveUnsupportedAttribs(Effect &rEffect, const AttributeList &rAttribs)
EffectPropertiesContext(::oox::core::ContextHandler2Helper const &rParent, EffectProperties &rEffectProperties, model::EffectStyle *pEffectStyle=nullptr) noexcept
::rtl::Reference< ContextHandler > ContextHandlerRef