LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/rdf - XDocumentMetadataAccess.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-12-17 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/uno/RuntimeException.hdl"
       7             : #include "com/sun/star/lang/WrappedTargetException.hdl"
       8             : #include "com/sun/star/container/NoSuchElementException.hdl"
       9             : namespace com { namespace sun { namespace star { namespace embed { class XStorage; } } } }
      10             : #include "com/sun/star/io/IOException.hdl"
      11             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
      12             : #include "com/sun/star/container/ElementExistException.hdl"
      13             : namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
      14             : #include "com/sun/star/rdf/XURI.hdl"
      15             : #include "com/sun/star/rdf/ParseException.hdl"
      16             : #include "com/sun/star/beans/StringPair.hdl"
      17             : #include "com/sun/star/datatransfer/UnsupportedFlavorException.hdl"
      18             : #include "com/sun/star/beans/PropertyValue.hdl"
      19             : namespace com { namespace sun { namespace star { namespace rdf { class XMetadatable; } } } }
      20             : namespace com { namespace sun { namespace star { namespace task { class XInteractionHandler; } } } }
      21             : #include "com/sun/star/rdf/XRepositorySupplier.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        1593 : 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 ) = 0;
      38             :     virtual ::com::sun::star::uno::Reference< css::rdf::XMetadatable > SAL_CALL getElementByURI( const ::com::sun::star::uno::Reference< css::rdf::XURI >& URI ) = 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 ) = 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 ) = 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 ) = 0;
      42             :     virtual void SAL_CALL removeMetadataFile( const ::com::sun::star::uno::Reference< css::rdf::XURI >& GraphName ) = 0;
      43             :     virtual void SAL_CALL addContentOrStylesFile( const ::rtl::OUString& FileName ) = 0;
      44             :     virtual void SAL_CALL removeContentOrStylesFile( const ::rtl::OUString& FileName ) = 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 ) = 0;
      46             :     virtual void SAL_CALL storeMetadataToStorage( const ::com::sun::star::uno::Reference< css::embed::XStorage >& Storage ) = 0;
      47             :     virtual void SAL_CALL loadMetadataFromMedium( const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& Medium ) = 0;
      48             :     virtual void SAL_CALL storeMetadataToMedium( const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& Medium ) = 0;
      49             : 
      50             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      51             : 
      52             : protected:
      53         821 :     ~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