Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / oox / source / drawingml / ThemeFilterBase.cxx
blobeddb49eb16cb1d47a0a2e24f57a358ea2ff56a86
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 #include <oox/drawingml/ThemeFilterBase.hxx>
11 #include <oox/drawingml/theme.hxx>
13 using namespace css;
15 namespace oox::drawingml
17 ThemeFilterBase::ThemeFilterBase(const uno::Reference<uno::XComponentContext>& rxContext)
18 : XmlFilterBase(rxContext)
22 ThemeFilterBase::~ThemeFilterBase() = default;
24 const oox::drawingml::Theme* ThemeFilterBase::getCurrentTheme() const { return mpTheme.get(); }
26 std::shared_ptr<oox::drawingml::Theme> ThemeFilterBase::getCurrentThemePtr() const
28 return mpTheme;
31 void ThemeFilterBase::setCurrentTheme(const ::oox::drawingml::ThemePtr& pTheme)
33 mpTheme = pTheme;
36 oox::vml::Drawing* ThemeFilterBase::getVmlDrawing() { return nullptr; }
38 oox::drawingml::table::TableStyleListPtr ThemeFilterBase::getTableStyles()
40 return oox::drawingml::table::TableStyleListPtr();
43 oox::drawingml::chart::ChartConverter* ThemeFilterBase::getChartConverter() { return nullptr; }
45 oox::ole::VbaProject* ThemeFilterBase::implCreateVbaProject() const { return nullptr; }
47 OUString ThemeFilterBase::getImplementationName() { return OUString(); }
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */