LCOV - code coverage report
Current view: top level - libreoffice/sw/source/filter/ww8 - docxexportfilter.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 9 11.1 %
Date: 2012-12-27 Functions: 2 9 22.2 %
Legend: Lines: hit not hit

          Line data    Source code
       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 _DOCXEXPORTFILTER_HXX_
      21             : #define _DOCXEXPORTFILTER_HXX_
      22             : 
      23             : #include <oox/core/xmlfilterbase.hxx>
      24             : #include <oox/drawingml/chart/chartconverter.hxx>
      25             : #include <oox/vml/vmldrawing.hxx>
      26             : 
      27             : #include <com/sun/star/beans/PropertyValue.hpp>
      28             : 
      29             : /// The physical access to the DOCX document (for writing).
      30          48 : class DocxExportFilter : public oox::core::XmlFilterBase
      31             : {
      32             : public:
      33             :     DocxExportFilter( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& xContext );
      34             : 
      35             :     // FIXME these should not even exist for the export-only filter!
      36             :     // For now, let's just do empty implementations of those.
      37           0 :     virtual bool        importDocument() { return false; }
      38           0 :     virtual const ::oox::drawingml::Theme* getCurrentTheme() const { return NULL; }
      39           0 :     virtual sal_Int32   getSchemeClr( sal_Int32 ) const { return 0; }
      40           0 :     virtual ::oox::vml::Drawing* getVmlDrawing() { return NULL; }
      41           0 :     virtual ::oox::drawingml::chart::ChartConverter* getChartConverter() { return NULL; }
      42           0 :     virtual const ::oox::drawingml::table::TableStyleListPtr getTableStyles() { return ::oox::drawingml::table::TableStyleListPtr(); }
      43             : 
      44             :     // Actual export of the DOCX document
      45             :     virtual bool        exportDocument();
      46             : 
      47             : private:
      48             : 
      49             :     /// Implementatio of the filter abstract method.
      50             :     virtual ::rtl::OUString implGetImplementationName() const;
      51             : 
      52           0 :     virtual ::oox::ole::VbaProject* implCreateVbaProject() const
      53             :     {
      54           0 :         return NULL; // FIXME: implement me !
      55             :     }
      56             : };
      57             : 
      58             : #endif // _DOCXEXPORTFILTER_HXX_
      59             : 
      60             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10