Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_REPORT_XFUNCTION_HDL
2 : #define INCLUDED_COM_SUN_STAR_REPORT_XFUNCTION_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/Optional.hdl"
7 : #include "com/sun/star/beans/XPropertySet.hdl"
8 : #include "com/sun/star/container/XChild.hdl"
9 : #include "com/sun/star/lang/XComponent.hdl"
10 : #include "com/sun/star/uno/RuntimeException.hdl"
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 com { namespace sun { namespace star { namespace report {
19 :
20 0 : class SAL_NO_VTABLE XFunction : public css::beans::XPropertySet, public css::lang::XComponent, public css::container::XChild
21 : {
22 : public:
23 :
24 : // Attributes
25 : virtual ::sal_Bool SAL_CALL getPreEvaluated() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
26 : virtual void SAL_CALL setPreEvaluated( ::sal_Bool _preevaluated ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
27 : virtual ::sal_Bool SAL_CALL getDeepTraversing() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual void SAL_CALL setDeepTraversing( ::sal_Bool _deeptraversing ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual ::rtl::OUString SAL_CALL getName() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual void SAL_CALL setName( const ::rtl::OUString& _name ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual ::rtl::OUString SAL_CALL getFormula() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual void SAL_CALL setFormula( const ::rtl::OUString& _formula ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual css::beans::Optional< ::rtl::OUString > SAL_CALL getInitialFormula() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual void SAL_CALL setInitialFormula( const css::beans::Optional< ::rtl::OUString >& _initialformula ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 :
36 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
37 :
38 : protected:
39 0 : ~XFunction() throw () {} // avoid warnings about virtual members and non-virtual dtor
40 : };
41 :
42 :
43 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::report::XFunction const *);
44 : } } } }
45 :
46 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::report::XFunction > *) SAL_THROW(());
47 :
48 : #endif
|