Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_REPORT_XREPORTCONTROLMODEL_HDL
2 : #define INCLUDED_COM_SUN_STAR_REPORT_XREPORTCONTROLMODEL_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/UnknownPropertyException.hdl"
7 : #include "com/sun/star/container/XContainer.hdl"
8 : #include "com/sun/star/container/XIndexContainer.hdl"
9 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
10 : namespace com { namespace sun { namespace star { namespace report { class XFormatCondition; } } } }
11 : #include "com/sun/star/report/XReportComponent.hdl"
12 : #include "com/sun/star/report/XReportControlFormat.hdl"
13 : #include "com/sun/star/uno/Exception.hdl"
14 : #include "com/sun/star/uno/RuntimeException.hdl"
15 : #include "com/sun/star/uno/Reference.h"
16 : #include "cppu/macros.hxx"
17 : #include "rtl/ustring.hxx"
18 : #include "sal/types.h"
19 :
20 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
21 :
22 : namespace com { namespace sun { namespace star { namespace report {
23 :
24 0 : class SAL_NO_VTABLE XReportControlModel : public css::report::XReportComponent, public css::report::XReportControlFormat, public css::container::XContainer, public css::container::XIndexContainer
25 : {
26 : public:
27 :
28 : // Attributes
29 : virtual ::rtl::OUString SAL_CALL getDataField() /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual void SAL_CALL setDataField( const ::rtl::OUString& _datafield ) /* throw (css::lang::IllegalArgumentException, css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual ::sal_Bool SAL_CALL getPrintWhenGroupChange() /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual void SAL_CALL setPrintWhenGroupChange( ::sal_Bool _printwhengroupchange ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::rtl::OUString SAL_CALL getConditionalPrintExpression() /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual void SAL_CALL setConditionalPrintExpression( const ::rtl::OUString& _conditionalprintexpression ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
35 :
36 : // Methods
37 : virtual ::com::sun::star::uno::Reference< css::report::XFormatCondition > SAL_CALL createFormatCondition() /* throw (css::uno::Exception, ::com::sun::star::uno::RuntimeException) */ = 0;
38 :
39 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
40 :
41 : protected:
42 0 : ~XReportControlModel() throw () {} // avoid warnings about virtual members and non-virtual dtor
43 : };
44 :
45 :
46 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::report::XReportControlModel const *);
47 : } } } }
48 :
49 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::report::XReportControlModel > *) SAL_THROW(());
50 :
51 : #endif
|