Gtk-WARNING gtktreestore.c:1047: Invalid column number 1 added to iter
[LibreOffice.git] / oox / inc / drawingml / ThemeOverrideFragmentHandler.hxx
bloba51c66c3eea0ca6cc5e9133e848772893afd22ff
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 #ifndef INCLUDED_OOX_DRAWINGML_THEMEOVERRICEFRAGMENTHANDLER_HXX
11 #define INCLUDED_OOX_DRAWINGML_THEMEOVERRICEFRAGMENTHANDLER_HXX
13 #include <oox/core/fragmenthandler2.hxx>
14 #include <oox/drawingml/theme.hxx>
16 namespace oox::drawingml
19 class Theme;
21 class ThemeOverrideFragmentHandler final : public ::oox::core::FragmentHandler2
23 public:
24 explicit ThemeOverrideFragmentHandler(::oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, Theme& rOoxTheme, model::Theme& rTheme);
25 virtual ~ThemeOverrideFragmentHandler() override;
27 virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList& rAttribs) override;
29 private:
30 Theme& mrOoxTheme;
31 model::Theme& mrTheme;
34 } // namespace oox::drawingml
36 #endif
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */