LCOV - code coverage report
Current view: top level - include/xmloff - settingsstore.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 2 0.0 %
Date: 2014-04-14 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             : // Simple interface to allow serialization of document settings
      11             : 
      12             : #ifndef INCLUDED_XMLOFF_SETTINGSSTORE_HXX
      13             : #define INCLUDED_XMLOFF_SETTINGSSTORE_HXX
      14             : 
      15             : #include <vector>
      16             : #include <com/sun/star/beans/PropertyValue.hpp>
      17             : #include <com/sun/star/embed/XStorage.hpp>
      18             : 
      19             : // Scans list of properties for certain URL properties that could refer
      20             : // to internal objects, and initializes from these.
      21           0 : class DocumentSettingsSerializer {
      22             : public:
      23             :   // Import objects and update properties (eliding URLs)
      24             :   virtual com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
      25             :         filterStreamsFromStorage(
      26             :         OUString const & referer,
      27             :                 const com::sun::star::uno::Reference< com::sun::star::embed::XStorage > &xStorage,
      28             :                 const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aConfigProps ) = 0;
      29             :   // Export objects and update properties with relative URLs into this storage
      30             :   virtual com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
      31             :         filterStreamsToStorage(
      32             :                 const com::sun::star::uno::Reference< com::sun::star::embed::XStorage > &xStorage,
      33             :                 const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aConfigProps ) = 0;
      34             : 
      35             : protected:
      36           0 :     ~DocumentSettingsSerializer() {}
      37             : };
      38             : 
      39             : #endif // INCLUDED_XMLOFF_SETTINGSSTORE_HXX
      40             : 
      41             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10