LibreOffice Module sw (master) 1
docxexportfilter.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_SW_SOURCE_FILTER_WW8_DOCXEXPORTFILTER_HXX
21#define INCLUDED_SW_SOURCE_FILTER_WW8_DOCXEXPORTFILTER_HXX
22
26
27
30{
31public:
32 explicit DocxExportFilter( const css::uno::Reference< css::uno::XComponentContext >& xContext );
33
34 // FIXME these should not even exist for the export-only filter!
35 // For now, let's just do empty implementations of those.
36 virtual bool importDocument() override { return false; }
37 virtual const ::oox::drawingml::Theme* getCurrentTheme() const override { return nullptr; }
38 virtual ::oox::vml::Drawing* getVmlDrawing() override { return nullptr; }
39 virtual ::oox::drawingml::chart::ChartConverter* getChartConverter() override { return nullptr; }
40 virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles() override { return ::oox::drawingml::table::TableStyleListPtr(); }
41
42 // Actual export of the DOCX document
43 virtual bool exportDocument() override;
44
45private:
46 virtual OUString SAL_CALL getImplementationName() override;
47
48 virtual ::oox::ole::VbaProject* implCreateVbaProject() const override
49 {
50 return nullptr; // FIXME: implement me !
51 }
52};
53
54#endif // INCLUDED_SW_SOURCE_FILTER_WW8_DOCXEXPORTFILTER_HXX
55
56/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
The physical access to the DOCX document (for writing).
virtual OUString SAL_CALL getImplementationName() override
virtual ::oox::vml::Drawing * getVmlDrawing() override
virtual bool importDocument() override
virtual const ::oox::drawingml::Theme * getCurrentTheme() const override
virtual bool exportDocument() override
virtual ::oox::ole::VbaProject * implCreateVbaProject() const override
DocxExportFilter(const css::uno::Reference< css::uno::XComponentContext > &xContext)
virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles() override
virtual ::oox::drawingml::chart::ChartConverter * getChartConverter() override