Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / oox / inc / drawingml / ThemeOverrideFragmentHandler.hxx
blob266a88c2ad6a267fb80e4d71ace62c03afbabd04
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>
15 namespace oox {
16 namespace drawingml {
18 class Theme;
20 class ThemeOverrideFragmentHandler : public ::oox::core::FragmentHandler2
22 public:
23 explicit ThemeOverrideFragmentHandler(
24 ::oox::core::XmlFilterBase& rFilter,
25 const OUString& rFragmentPath,
26 Theme& rTheme );
27 virtual ~ThemeOverrideFragmentHandler() override;
29 virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
31 private:
32 Theme& mrTheme;
35 } // namespace drawingml
36 } // namespace oox
38 #endif
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */