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 #ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXCELFILTER_HXX
21 #define INCLUDED_SC_SOURCE_FILTER_INC_EXCELFILTER_HXX
22 
24 
25 namespace oox::xls {
26 
27 class WorkbookGlobals;
28 
30 {
31 public:
33  explicit ExcelFilter(
34  const css::uno::Reference< css::uno::XComponentContext >& rxContext );
35  virtual ~ExcelFilter() override;
36 
37  void registerWorkbookGlobals( WorkbookGlobals& rBookGlob );
40 
41  virtual bool importDocument() override;
42  virtual bool exportDocument() throw() override;
43 
44  virtual const ::oox::drawingml::Theme* getCurrentTheme() const override;
45  virtual ::oox::vml::Drawing* getVmlDrawing() override;
46  virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles() override;
47  virtual ::oox::drawingml::chart::ChartConverter* getChartConverter() override;
48  virtual void useInternalChartDataTable( bool bInternal ) override;
49 
50  virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& rDescriptor ) override;
51 
52 private:
53  virtual GraphicHelper* implCreateGraphicHelper() const override;
54  virtual ::oox::ole::VbaProject* implCreateVbaProject() const override;
55  virtual OUString SAL_CALL getImplementationName() override;
56 
58 };
59 
60 } // namespace oox::xls
61 
62 #endif
63 
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void registerWorkbookGlobals(WorkbookGlobals &rBookGlob)
Definition: excelfilter.cxx:63
virtual ::oox::ole::VbaProject * implCreateVbaProject() const override
virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles() override
virtual GraphicHelper * implCreateGraphicHelper() const override
virtual bool importDocument() override
Definition: excelfilter.cxx:79
virtual ::oox::drawingml::chart::ChartConverter * getChartConverter() override
WorkbookGlobals & getWorkbookGlobals() const
Definition: excelfilter.cxx:68
unsigned char sal_Bool
virtual ::oox::vml::Drawing * getVmlDrawing() override
virtual OUString SAL_CALL getImplementationName() override
void unregisterWorkbookGlobals()
Definition: excelfilter.cxx:74
virtual ~ExcelFilter() override
Definition: excelfilter.cxx:58
virtual void useInternalChartDataTable(bool bInternal) override
virtual bool exportDocument() override
WorkbookGlobals * mpBookGlob
Definition: excelfilter.hxx:57
ExcelFilter(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
Definition: excelfilter.cxx:52
virtual const ::oox::drawingml::Theme * getCurrentTheme() const override
virtual sal_Bool SAL_CALL filter(const css::uno::Sequence< css::beans::PropertyValue > &rDescriptor) override