LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/offapi/com/sun/star/embed - XStorage.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-08-25 Functions: 2 2 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_EMBED_XSTORAGE_HDL
       2                 :            : #define INCLUDED_COM_SUN_STAR_EMBED_XSTORAGE_HDL
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/uno/RuntimeException.hdl"
       7                 :            : #include "com/sun/star/io/IOException.hdl"
       8                 :            : #include "com/sun/star/lang/IllegalArgumentException.hdl"
       9                 :            : #include "com/sun/star/lang/XComponent.hdl"
      10                 :            : #include "com/sun/star/container/ElementExistException.hdl"
      11                 :            : #include "com/sun/star/packages/NoEncryptionException.hdl"
      12                 :            : #include "com/sun/star/packages/WrongPasswordException.hdl"
      13                 :            : namespace com { namespace sun { namespace star { namespace io { class XStream; } } } }
      14                 :            : #include "com/sun/star/embed/InvalidStorageException.hdl"
      15                 :            : #include "com/sun/star/embed/StorageWrappedTargetException.hdl"
      16                 :            : namespace com { namespace sun { namespace star { namespace embed { class XStorage; } } } }
      17                 :            : #include "com/sun/star/container/NoSuchElementException.hdl"
      18                 :            : #include "com/sun/star/container/XNameAccess.hdl"
      19                 :            : #include "com/sun/star/uno/Reference.h"
      20                 :            : #include "cppu/macros.hxx"
      21                 :            : #include "rtl/ustring.hxx"
      22                 :            : #include "sal/types.h"
      23                 :            : 
      24                 :            : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      25                 :            : 
      26                 :            : namespace com { namespace sun { namespace star { namespace embed {
      27                 :            : 
      28                 :      37888 : class SAL_NO_VTABLE XStorage : public ::com::sun::star::container::XNameAccess, public ::com::sun::star::lang::XComponent
      29                 :            : {
      30                 :            : public:
      31                 :            : 
      32                 :            :     // Methods
      33                 :            :     virtual void SAL_CALL copyToStorage( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xDest ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      34                 :            :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > SAL_CALL openStreamElement( const ::rtl::OUString& sStreamName, ::sal_Int32 nOpenMode ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::packages::WrongPasswordException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      35                 :            :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > SAL_CALL openEncryptedStreamElement( const ::rtl::OUString& sStreamName, ::sal_Int32 nOpenMode, const ::rtl::OUString& sPassword ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::packages::NoEncryptionException, ::com::sun::star::packages::WrongPasswordException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      36                 :            :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > SAL_CALL openStorageElement( const ::rtl::OUString& sStorName, ::sal_Int32 nOpenMode ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      37                 :            :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > SAL_CALL cloneStreamElement( const ::rtl::OUString& sStreamName ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::packages::WrongPasswordException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      38                 :            :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > SAL_CALL cloneEncryptedStreamElement( const ::rtl::OUString& sStreamName, const ::rtl::OUString& sPassword ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::packages::NoEncryptionException, ::com::sun::star::packages::WrongPasswordException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      39                 :            :     virtual void SAL_CALL copyLastCommitTo( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xTargetStorage ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      40                 :            :     virtual void SAL_CALL copyStorageElementLastCommitTo( const ::rtl::OUString& sStorName, const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xTargetStorage ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      41                 :            :     virtual ::sal_Bool SAL_CALL isStreamElement( const ::rtl::OUString& sElementName ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::embed::InvalidStorageException, ::com::sun::star::uno::RuntimeException) = 0;
      42                 :            :     virtual ::sal_Bool SAL_CALL isStorageElement( const ::rtl::OUString& sElementName ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::embed::InvalidStorageException, ::com::sun::star::uno::RuntimeException) = 0;
      43                 :            :     virtual void SAL_CALL removeElement( const ::rtl::OUString& sElementName ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      44                 :            :     virtual void SAL_CALL renameElement( const ::rtl::OUString& sElementName, const ::rtl::OUString& sNewName ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::container::ElementExistException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      45                 :            :     virtual void SAL_CALL copyElementTo( const ::rtl::OUString& sElementName, const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xDest, const ::rtl::OUString& sNewName ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::container::ElementExistException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      46                 :            :     virtual void SAL_CALL moveElementTo( const ::rtl::OUString& sElementName, const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xDest, const ::rtl::OUString& sNewName ) throw (::com::sun::star::embed::InvalidStorageException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::container::ElementExistException, ::com::sun::star::io::IOException, ::com::sun::star::embed::StorageWrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
      47                 :            : 
      48                 :            :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      49                 :            : 
      50                 :            : protected:
      51                 :      36231 :     ~XStorage() throw () {} // avoid warnings about virtual members and non-virtual dtor
      52                 :            : };
      53                 :            : 
      54                 :            : 
      55                 :            : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::embed::XStorage const *);
      56                 :            : } } } }
      57                 :            : 
      58                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > *) SAL_THROW(());
      59                 :            : 
      60                 :            : #endif

Generated by: LCOV version 1.10