LCOV - code coverage report
Current view: top level - sc/source/filter/inc - orcusfiltersimpl.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 1 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 2 0.0 %
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             : 
      10             : #ifndef INCLUDED_SC_SOURCE_FILTER_INC_ORCUSFILTERSIMPL_HXX
      11             : #define INCLUDED_SC_SOURCE_FILTER_INC_ORCUSFILTERSIMPL_HXX
      12             : 
      13             : #include "orcusfilters.hxx"
      14             : 
      15             : #define __ORCUS_STATIC_LIB
      16             : #include <orcus/xml_namespace.hpp>
      17             : 
      18           0 : class ScOrcusFiltersImpl : public ScOrcusFilters
      19             : {
      20             : public:
      21             :     static OString toSystemPath(const OUString& rPath);
      22             : 
      23             :     virtual bool importCSV(ScDocument& rDoc, SfxMedium& rMedium) const SAL_OVERRIDE;
      24             :     virtual bool importGnumeric(ScDocument& rDoc, SfxMedium& rMedium) const SAL_OVERRIDE;
      25             :     virtual bool importXLSX(ScDocument& rDoc, SfxMedium& rMedium) const SAL_OVERRIDE;
      26             :     virtual bool importODS(ScDocument& rDoc, SfxMedium& rMedium) const SAL_OVERRIDE;
      27             : 
      28             :     virtual ScOrcusXMLContext* createXMLContext(ScDocument& rDoc, const OUString& rPath) const SAL_OVERRIDE;
      29             : };
      30             : 
      31             : class ScOrcusXMLContextImpl : public ScOrcusXMLContext
      32             : {
      33             :     ScDocument& mrDoc;
      34             :     OUString maPath;
      35             : 
      36             :     orcus::xmlns_repository maNsRepo; /// XML namespace repository for this context.
      37             : 
      38             : public:
      39             :     ScOrcusXMLContextImpl(ScDocument& rDoc, const OUString& rPath);
      40             :     virtual ~ScOrcusXMLContextImpl();
      41             : 
      42             :     virtual bool loadXMLStructure(SvTreeListBox& rTreeCtrl, ScOrcusXMLTreeParam& rParam) SAL_OVERRIDE;
      43             : 
      44             :     virtual bool importXML(const ScOrcusImportXMLParam& rParam) SAL_OVERRIDE;
      45             : };
      46             : 
      47             : #endif
      48             : 
      49             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11