Branch data Line data Source code
1 : : #ifndef INCLUDED_OOO_VBA_XDOCUMENTPROPERTY_HDL
2 : : #define INCLUDED_OOO_VBA_XDOCUMENTPROPERTY_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : #include "com/sun/star/script/BasicErrorException.hdl"
8 : : #include "ooo/vba/XHelperInterface.hdl"
9 : : #include "com/sun/star/script/XDefaultProperty.hdl"
10 : : #include "com/sun/star/uno/Any.h"
11 : : #include "com/sun/star/uno/Reference.h"
12 : : #include "cppu/macros.hxx"
13 : : #include "rtl/ustring.hxx"
14 : : #include "sal/types.h"
15 : :
16 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
17 : :
18 : : namespace ooo { namespace vba {
19 : :
20 : 0 : class SAL_NO_VTABLE XDocumentProperty : public ::com::sun::star::script::XDefaultProperty, public ::ooo::vba::XHelperInterface
21 : : {
22 : : public:
23 : :
24 : : // Methods
25 : : virtual void SAL_CALL Delete( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual ::rtl::OUString SAL_CALL getName( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setName( const ::rtl::OUString& Name ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::sal_Int8 SAL_CALL getType( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL setType( ::sal_Int8 Type ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::sal_Bool SAL_CALL getLinkToContent( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual void SAL_CALL setLinkToContent( ::sal_Bool LinkToContent ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::com::sun::star::uno::Any SAL_CALL getValue( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL setValue( const ::com::sun::star::uno::Any& Value ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::rtl::OUString SAL_CALL getLinkSource( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL setLinkSource( const ::rtl::OUString& LinkSource ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
36 : :
37 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
38 : :
39 : : protected:
40 : 0 : ~XDocumentProperty() throw () {} // avoid warnings about virtual members and non-virtual dtor
41 : : };
42 : :
43 : :
44 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::XDocumentProperty const *);
45 : : } }
46 : :
47 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::XDocumentProperty > *) SAL_THROW(());
48 : :
49 : : #endif
|