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 
14 namespace oox::drawingml {
15 
16 struct EffectProperties;
17 struct Effect;
18 
20 {
21 public:
23  EffectProperties& rEffectProperties ) noexcept;
24  virtual ~EffectPropertiesContext() override;
25 
27  onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
28 
29 private:
30  static void saveUnsupportedAttribs( Effect& rEffect, const AttributeList& rAttribs );
31 
33 };
34 
35 }
36 
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
static void saveUnsupportedAttribs(Effect &rEffect, const AttributeList &rAttribs)
virtual ::oox::core::ContextHandlerRef onCreateContext(::sal_Int32 Element, const ::oox::AttributeList &rAttribs) override
Provides access to attribute values of an element.
::rtl::Reference< ContextHandler > ContextHandlerRef
EffectPropertiesContext(::oox::core::ContextHandler2Helper const &rParent, EffectProperties &rEffectProperties) noexcept
Helper class that provides a context stack.