LibreOffice Module oox (master) 1
ThemeFilterBase.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
12#include <memory>
13#include <oox/dllapi.h>
16#include <rtl/ref.hxx>
17
18namespace oox::drawingml
19{
21{
22public:
24
25 explicit ThemeFilterBase(css::uno::Reference<css::uno::XComponentContext> const& rxContext);
26
27 virtual ~ThemeFilterBase() override;
28
30 virtual const oox::drawingml::Theme* getCurrentTheme() const override;
31
33 virtual std::shared_ptr<oox::drawingml::Theme> getCurrentThemePtr() const override;
34
35 void setCurrentTheme(const oox::drawingml::ThemePtr& pTheme);
36
38 virtual oox::vml::Drawing* getVmlDrawing() override;
39
41 virtual oox::drawingml::table::TableStyleListPtr getTableStyles() override;
42
43 virtual oox::drawingml::chart::ChartConverter* getChartConverter() override;
44
45 virtual oox::ole::VbaProject* implCreateVbaProject() const override;
46
47 virtual bool importDocument() override { return true; }
48 virtual bool exportDocument() override { return false; }
49
50private:
51 virtual OUString SAL_CALL getImplementationName() override;
52
54};
55
56} // namespace oox::drawingml
57
58/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual bool exportDocument() override
Derived classes implement export of the entire document.
oox::drawingml::ThemePtr mpTheme
virtual bool importDocument() override
Derived classes implement import of the entire document.
virtual ~ThemeFilterBase() override
rtl::Reference< ThemeFilterBase > Pointer_t
Represents the collection of VML shapes for a complete draw page.
Definition: vmldrawing.hxx:94
#define OOX_DLLPUBLIC
Definition: dllapi.h:28
OUString getImplementationName()
std::shared_ptr< TableStyleList > TableStyleListPtr
std::shared_ptr< Theme > ThemePtr