LibreOffice Module sc (master) 1
excelfilter.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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
23
24namespace oox::xls {
25
26class WorkbookGlobals;
27
29{
30public:
32 explicit ExcelFilter(
33 const css::uno::Reference< css::uno::XComponentContext >& rxContext );
34 virtual ~ExcelFilter() override;
35
39
40 virtual bool importDocument() override;
41 virtual bool exportDocument() noexcept override;
42
43 virtual const ::oox::drawingml::Theme* getCurrentTheme() const override;
44 virtual ::oox::vml::Drawing* getVmlDrawing() override;
45 virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles() override;
46 virtual ::oox::drawingml::chart::ChartConverter* getChartConverter() override;
47 virtual void useInternalChartDataTable( bool bInternal ) override;
48
49 virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& rDescriptor ) override;
50
51private:
52 virtual GraphicHelper* implCreateGraphicHelper() const override;
53 virtual ::oox::ole::VbaProject* implCreateVbaProject() const override;
54 virtual OUString SAL_CALL getImplementationName() override;
55
57};
58
59} // namespace oox::xls
60
61/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual bool exportDocument() noexcept override
virtual bool importDocument() override
Definition: excelfilter.cxx:74
virtual GraphicHelper * implCreateGraphicHelper() const override
virtual sal_Bool SAL_CALL filter(const css::uno::Sequence< css::beans::PropertyValue > &rDescriptor) override
virtual ::oox::vml::Drawing * getVmlDrawing() override
virtual OUString SAL_CALL getImplementationName() override
virtual const ::oox::drawingml::Theme * getCurrentTheme() const override
virtual void useInternalChartDataTable(bool bInternal) override
virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles() override
virtual ~ExcelFilter() override
Definition: excelfilter.cxx:53
virtual ::oox::drawingml::chart::ChartConverter * getChartConverter() override
void registerWorkbookGlobals(WorkbookGlobals &rBookGlob)
Definition: excelfilter.cxx:58
virtual ::oox::ole::VbaProject * implCreateVbaProject() const override
WorkbookGlobals * mpBookGlob
Definition: excelfilter.hxx:56
ExcelFilter(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
Definition: excelfilter.cxx:47
WorkbookGlobals & getWorkbookGlobals() const
Definition: excelfilter.cxx:63
void unregisterWorkbookGlobals()
Definition: excelfilter.cxx:69
unsigned char sal_Bool