LCOV - code coverage report
Current view: top level - rdf - XDocumentMetadataAccess.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_RDF_XDOCUMENTMETADATAACCESS_HDL
       2             : #define INCLUDED_COM_SUN_STAR_RDF_XDOCUMENTMETADATAACCESS_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/beans/PropertyValue.hdl"
       7             : #include "com/sun/star/beans/StringPair.hdl"
       8             : #include "com/sun/star/container/ElementExistException.hdl"
       9             : #include "com/sun/star/container/NoSuchElementException.hdl"
      10             : #include "com/sun/star/datatransfer/UnsupportedFlavorException.hdl"
      11             : namespace com { namespace sun { namespace star { namespace embed { class XStorage; } } } }
      12             : #include "com/sun/star/io/IOException.hdl"
      13             : namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
      14             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
      15             : #include "com/sun/star/lang/WrappedTargetException.hdl"
      16             : #include "com/sun/star/rdf/ParseException.hdl"
      17             : namespace com { namespace sun { namespace star { namespace rdf { class XMetadatable; } } } }
      18             : #include "com/sun/star/rdf/XRepositorySupplier.hdl"
      19             : #include "com/sun/star/rdf/XURI.hdl"
      20             : namespace com { namespace sun { namespace star { namespace task { class XInteractionHandler; } } } }
      21             : #include "com/sun/star/uno/RuntimeException.hdl"
      22             : #include "com/sun/star/uno/Reference.h"
      23             : #include "com/sun/star/uno/Sequence.h"
      24             : #include "cppu/macros.hxx"
      25             : #include "rtl/ustring.hxx"
      26             : #include "sal/types.h"
      27             : 
      28             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      29             : 
      30             : namespace com { namespace sun { namespace star { namespace rdf {
      31             : 
      32        1961 : class SAL_NO_VTABLE XDocumentMetadataAccess : public css::rdf::XURI, public css::rdf::XRepositorySupplier
      33             : {
      34             : public:
      35             : 
      36             :     // Methods
      37             :     virtual ::com::sun::star::uno::Reference< css::rdf::XMetadatable > SAL_CALL getElementByMetadataReference( const css::beans::StringPair& MetadataReference ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual ::com::sun::star::uno::Reference< css::rdf::XMetadatable > SAL_CALL getElementByURI( const ::com::sun::star::uno::Reference< css::rdf::XURI >& URI ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::rdf::XURI > > SAL_CALL getMetadataGraphsWithType( const ::com::sun::star::uno::Reference< css::rdf::XURI >& Type ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual ::com::sun::star::uno::Reference< css::rdf::XURI > SAL_CALL addMetadataFile( const ::rtl::OUString& FileName, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::rdf::XURI > >& Types ) /* throw (css::lang::IllegalArgumentException, css::container::ElementExistException, ::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual ::com::sun::star::uno::Reference< css::rdf::XURI > SAL_CALL importMetadataFile( ::sal_Int16 Format, const ::com::sun::star::uno::Reference< css::io::XInputStream >& InStream, const ::rtl::OUString& FileName, const ::com::sun::star::uno::Reference< css::rdf::XURI >& BaseURI, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::rdf::XURI > >& Types ) /* throw (css::lang::IllegalArgumentException, css::datatransfer::UnsupportedFlavorException, css::container::ElementExistException, css::rdf::ParseException, css::io::IOException, ::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual void SAL_CALL removeMetadataFile( const ::com::sun::star::uno::Reference< css::rdf::XURI >& GraphName ) /* throw (css::lang::IllegalArgumentException, css::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual void SAL_CALL addContentOrStylesFile( const ::rtl::OUString& FileName ) /* throw (css::lang::IllegalArgumentException, css::container::ElementExistException, ::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual void SAL_CALL removeContentOrStylesFile( const ::rtl::OUString& FileName ) /* throw (css::lang::IllegalArgumentException, css::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual void SAL_CALL loadMetadataFromStorage( const ::com::sun::star::uno::Reference< css::embed::XStorage >& Storage, const ::com::sun::star::uno::Reference< css::rdf::XURI >& BaseURI, const ::com::sun::star::uno::Reference< css::task::XInteractionHandler >& InteractionHandler ) /* throw (css::lang::IllegalArgumentException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
      46             :     virtual void SAL_CALL storeMetadataToStorage( const ::com::sun::star::uno::Reference< css::embed::XStorage >& Storage ) /* throw (css::lang::IllegalArgumentException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
      47             :     virtual void SAL_CALL loadMetadataFromMedium( const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& Medium ) /* throw (css::lang::IllegalArgumentException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
      48             :     virtual void SAL_CALL storeMetadataToMedium( const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& Medium ) /* throw (css::lang::IllegalArgumentException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
      49             : 
      50             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      51             : 
      52             : protected:
      53        1366 :     ~XDocumentMetadataAccess() throw () {} // avoid warnings about virtual members and non-virtual dtor
      54             : };
      55             : 
      56             : 
      57             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rdf::XDocumentMetadataAccess const *);
      58             : } } } }
      59             : 
      60             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::rdf::XDocumentMetadataAccess > *) SAL_THROW(());
      61             : 
      62             : #endif

Generated by: LCOV version 1.10