LCOV - code coverage report
Current view: top level - sc/inc - importfilterdata.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 1 2 50.0 %
Date: 2015-06-13 12:38:46 Functions: 2 3 66.7 %
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_INC_IMPORTFILTERDATA_HXX
      11             : #define INCLUDED_SC_INC_IMPORTFILTERDATA_HXX
      12             : 
      13             : #include "address.hxx"
      14             : 
      15             : #include <boost/noncopyable.hpp>
      16             : #include <boost/scoped_ptr.hpp>
      17             : 
      18             : namespace sc {
      19             : 
      20             : /**
      21             :  * Stores data imported from the file that need to be processed at the end
      22             :  * of the import process.
      23             :  */
      24         394 : struct ImportPostProcessData : boost::noncopyable
      25             : {
      26             :     /**
      27             :      * Data stream data needs to be post-processed because it requires
      28             :      * ScDocShell instance which is not available in the filter code.
      29             :      */
      30           0 :     struct DataStream
      31             :     {
      32             :         enum InsertPos { InsertTop, InsertBottom };
      33             : 
      34             :         OUString maURL;
      35             :         ScRange maRange;
      36             :         bool mbRefreshOnEmpty;
      37             :         InsertPos meInsertPos;
      38             : 
      39             :         DataStream();
      40             :     };
      41             : 
      42             :     boost::scoped_ptr<DataStream> mpDataStream;
      43             : };
      44             : 
      45             : }
      46             : 
      47             : #endif
      48             : 
      49             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11