LCOV - code coverage report
Current view: top level - libreoffice/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-12-27 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          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        8695 : class SAL_NO_VTABLE XStorage : public css::container::XNameAccess, public css::lang::XComponent
      29             : {
      30             : public:
      31             : 
      32             :     // Methods
      33             :     virtual void SAL_CALL copyToStorage( const ::com::sun::star::uno::Reference< css::embed::XStorage >& xDest ) = 0;
      34             :     virtual ::com::sun::star::uno::Reference< css::io::XStream > SAL_CALL openStreamElement( const ::rtl::OUString& sStreamName, ::sal_Int32 nOpenMode ) = 0;
      35             :     virtual ::com::sun::star::uno::Reference< css::io::XStream > SAL_CALL openEncryptedStreamElement( const ::rtl::OUString& sStreamName, ::sal_Int32 nOpenMode, const ::rtl::OUString& sPassword ) = 0;
      36             :     virtual ::com::sun::star::uno::Reference< css::embed::XStorage > SAL_CALL openStorageElement( const ::rtl::OUString& sStorName, ::sal_Int32 nOpenMode ) = 0;
      37             :     virtual ::com::sun::star::uno::Reference< css::io::XStream > SAL_CALL cloneStreamElement( const ::rtl::OUString& sStreamName ) = 0;
      38             :     virtual ::com::sun::star::uno::Reference< css::io::XStream > SAL_CALL cloneEncryptedStreamElement( const ::rtl::OUString& sStreamName, const ::rtl::OUString& sPassword ) = 0;
      39             :     virtual void SAL_CALL copyLastCommitTo( const ::com::sun::star::uno::Reference< css::embed::XStorage >& xTargetStorage ) = 0;
      40             :     virtual void SAL_CALL copyStorageElementLastCommitTo( const ::rtl::OUString& sStorName, const ::com::sun::star::uno::Reference< css::embed::XStorage >& xTargetStorage ) = 0;
      41             :     virtual ::sal_Bool SAL_CALL isStreamElement( const ::rtl::OUString& sElementName ) = 0;
      42             :     virtual ::sal_Bool SAL_CALL isStorageElement( const ::rtl::OUString& sElementName ) = 0;
      43             :     virtual void SAL_CALL removeElement( const ::rtl::OUString& sElementName ) = 0;
      44             :     virtual void SAL_CALL renameElement( const ::rtl::OUString& sElementName, const ::rtl::OUString& sNewName ) = 0;
      45             :     virtual void SAL_CALL copyElementTo( const ::rtl::OUString& sElementName, const ::com::sun::star::uno::Reference< css::embed::XStorage >& xDest, const ::rtl::OUString& sNewName ) = 0;
      46             :     virtual void SAL_CALL moveElementTo( const ::rtl::OUString& sElementName, const ::com::sun::star::uno::Reference< css::embed::XStorage >& xDest, const ::rtl::OUString& sNewName ) = 0;
      47             : 
      48             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      49             : 
      50             : protected:
      51        6215 :     ~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 css::embed::XStorage const *);
      56             : } } } }
      57             : 
      58             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::embed::XStorage > *) SAL_THROW(());
      59             : 
      60             : #endif

Generated by: LCOV version 1.10