LCOV - code coverage report
Current view: top level - document - XDocumentProperties.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_DOCUMENT_XDOCUMENTPROPERTIES_HDL
       2             : #define INCLUDED_COM_SUN_STAR_DOCUMENT_XDOCUMENTPROPERTIES_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/beans/NamedValue.hdl"
       7             : #include "com/sun/star/beans/PropertyValue.hdl"
       8             : namespace com { namespace sun { namespace star { namespace beans { class XPropertyContainer; } } } }
       9             : namespace com { namespace sun { namespace star { namespace embed { class XStorage; } } } }
      10             : #include "com/sun/star/io/IOException.hdl"
      11             : #include "com/sun/star/io/WrongFormatException.hdl"
      12             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
      13             : #include "com/sun/star/lang/Locale.hdl"
      14             : #include "com/sun/star/lang/WrappedTargetException.hdl"
      15             : #include "com/sun/star/uno/RuntimeException.hdl"
      16             : #include "com/sun/star/uno/XInterface.hdl"
      17             : #include "com/sun/star/util/DateTime.hdl"
      18             : #include "com/sun/star/uno/Reference.h"
      19             : #include "com/sun/star/uno/Sequence.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 document {
      27             : 
      28        1536 : class SAL_NO_VTABLE XDocumentProperties : public css::uno::XInterface
      29             : {
      30             : public:
      31             : 
      32             :     // Attributes
      33             :     virtual ::rtl::OUString SAL_CALL getAuthor() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual void SAL_CALL setAuthor( const ::rtl::OUString& _author ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual ::rtl::OUString SAL_CALL getGenerator() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual void SAL_CALL setGenerator( const ::rtl::OUString& _generator ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual css::util::DateTime SAL_CALL getCreationDate() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual void SAL_CALL setCreationDate( const css::util::DateTime& _creationdate ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual ::rtl::OUString SAL_CALL getTitle() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual void SAL_CALL setTitle( const ::rtl::OUString& _title ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual ::rtl::OUString SAL_CALL getSubject() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual void SAL_CALL setSubject( const ::rtl::OUString& _subject ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual ::rtl::OUString SAL_CALL getDescription() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual void SAL_CALL setDescription( const ::rtl::OUString& _description ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getKeywords() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      46             :     virtual void SAL_CALL setKeywords( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _keywords ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      47             :     virtual css::lang::Locale SAL_CALL getLanguage() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      48             :     virtual void SAL_CALL setLanguage( const css::lang::Locale& _language ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      49             :     virtual ::rtl::OUString SAL_CALL getModifiedBy() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      50             :     virtual void SAL_CALL setModifiedBy( const ::rtl::OUString& _modifiedby ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      51             :     virtual css::util::DateTime SAL_CALL getModificationDate() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      52             :     virtual void SAL_CALL setModificationDate( const css::util::DateTime& _modificationdate ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      53             :     virtual ::rtl::OUString SAL_CALL getPrintedBy() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      54             :     virtual void SAL_CALL setPrintedBy( const ::rtl::OUString& _printedby ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      55             :     virtual css::util::DateTime SAL_CALL getPrintDate() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      56             :     virtual void SAL_CALL setPrintDate( const css::util::DateTime& _printdate ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      57             :     virtual ::rtl::OUString SAL_CALL getTemplateName() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      58             :     virtual void SAL_CALL setTemplateName( const ::rtl::OUString& _templatename ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      59             :     virtual ::rtl::OUString SAL_CALL getTemplateURL() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      60             :     virtual void SAL_CALL setTemplateURL( const ::rtl::OUString& _templateurl ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      61             :     virtual css::util::DateTime SAL_CALL getTemplateDate() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      62             :     virtual void SAL_CALL setTemplateDate( const css::util::DateTime& _templatedate ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      63             :     virtual ::rtl::OUString SAL_CALL getAutoloadURL() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      64             :     virtual void SAL_CALL setAutoloadURL( const ::rtl::OUString& _autoloadurl ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      65             :     virtual ::sal_Int32 SAL_CALL getAutoloadSecs() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      66             :     virtual void SAL_CALL setAutoloadSecs( ::sal_Int32 _autoloadsecs ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      67             :     virtual ::rtl::OUString SAL_CALL getDefaultTarget() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      68             :     virtual void SAL_CALL setDefaultTarget( const ::rtl::OUString& _defaulttarget ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      69             :     virtual ::com::sun::star::uno::Sequence< css::beans::NamedValue > SAL_CALL getDocumentStatistics() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      70             :     virtual void SAL_CALL setDocumentStatistics( const ::com::sun::star::uno::Sequence< css::beans::NamedValue >& _documentstatistics ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      71             :     virtual ::sal_Int16 SAL_CALL getEditingCycles() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      72             :     virtual void SAL_CALL setEditingCycles( ::sal_Int16 _editingcycles ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      73             :     virtual ::sal_Int32 SAL_CALL getEditingDuration() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      74             :     virtual void SAL_CALL setEditingDuration( ::sal_Int32 _editingduration ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      75             : 
      76             :     // Methods
      77             :     virtual void SAL_CALL resetUserData( const ::rtl::OUString& Author ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      78             :     virtual ::com::sun::star::uno::Reference< css::beans::XPropertyContainer > SAL_CALL getUserDefinedProperties() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      79             :     virtual void SAL_CALL loadFromStorage( const ::com::sun::star::uno::Reference< css::embed::XStorage >& Storage, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& Medium ) /* throw (css::lang::IllegalArgumentException, css::io::WrongFormatException, css::lang::WrappedTargetException, css::io::IOException, ::com::sun::star::uno::RuntimeException) */ = 0;
      80             :     virtual void SAL_CALL loadFromMedium( const ::rtl::OUString& URL, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& Medium ) /* throw (css::io::WrongFormatException, css::lang::WrappedTargetException, css::io::IOException, ::com::sun::star::uno::RuntimeException) */ = 0;
      81             :     virtual void SAL_CALL storeToStorage( const ::com::sun::star::uno::Reference< css::embed::XStorage >& Storage, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& Medium ) /* throw (css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::io::IOException, ::com::sun::star::uno::RuntimeException) */ = 0;
      82             :     virtual void SAL_CALL storeToMedium( const ::rtl::OUString& URL, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& Medium ) /* throw (css::lang::WrappedTargetException, css::io::IOException, ::com::sun::star::uno::RuntimeException) */ = 0;
      83             : 
      84             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      85             : 
      86             : protected:
      87        1521 :     ~XDocumentProperties() throw () {} // avoid warnings about virtual members and non-virtual dtor
      88             : };
      89             : 
      90             : 
      91             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::document::XDocumentProperties const *);
      92             : } } } }
      93             : 
      94             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::document::XDocumentProperties > *) SAL_THROW(());
      95             : 
      96             : #endif

Generated by: LCOV version 1.10