LCOV - code coverage report
Current view: top level - embed - XOptimizedStorage.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_EMBED_XOPTIMIZEDSTORAGE_HDL
       2             : #define INCLUDED_COM_SUN_STAR_EMBED_XOPTIMIZEDSTORAGE_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/beans/PropertyValue.hdl"
       7             : #include "com/sun/star/beans/PropertyVetoException.hdl"
       8             : #include "com/sun/star/beans/UnknownPropertyException.hdl"
       9             : #include "com/sun/star/container/ElementExistException.hdl"
      10             : #include "com/sun/star/container/NoSuchElementException.hdl"
      11             : #include "com/sun/star/embed/InvalidStorageException.hdl"
      12             : #include "com/sun/star/embed/StorageWrappedTargetException.hdl"
      13             : namespace com { namespace sun { namespace star { namespace embed { class XOptimizedStorage; } } } }
      14             : #include "com/sun/star/io/IOException.hdl"
      15             : namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
      16             : namespace com { namespace sun { namespace star { namespace io { class XStream; } } } }
      17             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
      18             : #include "com/sun/star/packages/NoRawFormatException.hdl"
      19             : #include "com/sun/star/packages/WrongPasswordException.hdl"
      20             : #include "com/sun/star/uno/RuntimeException.hdl"
      21             : #include "com/sun/star/uno/XInterface.hdl"
      22             : #include "com/sun/star/uno/Any.h"
      23             : #include "com/sun/star/uno/Reference.h"
      24             : #include "com/sun/star/uno/Sequence.h"
      25             : #include "cppu/macros.hxx"
      26             : #include "rtl/ustring.hxx"
      27             : #include "sal/types.h"
      28             : 
      29             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      30             : 
      31             : namespace com { namespace sun { namespace star { namespace embed {
      32             : 
      33       10752 : class SAL_NO_VTABLE XOptimizedStorage : public css::uno::XInterface
      34             : {
      35             : public:
      36             : 
      37             :     // Methods
      38             :     virtual void SAL_CALL insertRawNonEncrStreamElementDirect( const ::rtl::OUString& sStreamName, const ::com::sun::star::uno::Reference< css::io::XInputStream >& xInStream ) /* throw (css::embed::InvalidStorageException, css::lang::IllegalArgumentException, css::packages::NoRawFormatException, css::container::ElementExistException, css::io::IOException, css::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual void SAL_CALL insertStreamElementDirect( const ::rtl::OUString& sStreamName, const ::com::sun::star::uno::Reference< css::io::XInputStream >& xInStream, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& aProperties ) /* throw (css::embed::InvalidStorageException, css::lang::IllegalArgumentException, css::container::ElementExistException, css::io::IOException, css::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual void SAL_CALL copyElementDirectlyTo( const ::rtl::OUString& sSourceName, const ::com::sun::star::uno::Reference< css::embed::XOptimizedStorage >& xTargetStorage, const ::rtl::OUString& sTargetName ) /* throw (css::embed::InvalidStorageException, css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::container::ElementExistException, css::io::IOException, css::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual void SAL_CALL writeAndAttachToStream( const ::com::sun::star::uno::Reference< css::io::XStream >& xStream ) /* throw (css::embed::InvalidStorageException, css::lang::IllegalArgumentException, css::io::IOException, css::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual void SAL_CALL attachToURL( const ::rtl::OUString& sURL, ::sal_Bool bReadOnly ) /* throw (css::embed::InvalidStorageException, css::lang::IllegalArgumentException, css::io::IOException, css::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual ::com::sun::star::uno::Any SAL_CALL getElementPropertyValue( const ::rtl::OUString& sElementName, const ::rtl::OUString& sPropertyName ) /* throw (css::embed::InvalidStorageException, css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::io::IOException, css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual void SAL_CALL copyStreamElementData( const ::rtl::OUString& sStreamName, const ::com::sun::star::uno::Reference< css::io::XStream >& xTargetStream ) /* throw (css::embed::InvalidStorageException, css::lang::IllegalArgumentException, css::packages::WrongPasswordException, css::io::IOException, css::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
      45             : 
      46             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      47             : 
      48             : protected:
      49       10294 :     ~XOptimizedStorage() throw () {} // avoid warnings about virtual members and non-virtual dtor
      50             : };
      51             : 
      52             : 
      53             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::embed::XOptimizedStorage const *);
      54             : } } } }
      55             : 
      56             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::embed::XOptimizedStorage > *) SAL_THROW(());
      57             : 
      58             : #endif

Generated by: LCOV version 1.10