tdf#154285 Check upper bound of arguments in SbRtl_Minute function
[LibreOffice.git] / oox / inc / drawingml / effectpropertiescontext.hxx
blob81d765cb887ae947e9ead82872362422dcccb3de
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #pragma once
12 #include <oox/core/contexthandler2.hxx>
14 namespace model { class EffectStyle; }
16 namespace oox::drawingml {
18 struct EffectProperties;
19 struct Effect;
21 class EffectPropertiesContext final : public ::oox::core::ContextHandler2
23 public:
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;
31 private:
32 static void saveUnsupportedAttribs( Effect& rEffect, const AttributeList& rAttribs );
34 model::EffectStyle* mpEffectStyle;
35 EffectProperties& mrEffectProperties;
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */