Branch data 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/uno/RuntimeException.hdl"
8 : : #include "com/sun/star/uno/Exception.hdl"
9 : : namespace com { namespace sun { namespace star { namespace report { class XFormatCondition; } } } }
10 : : #include "com/sun/star/container/XContainer.hdl"
11 : : #include "com/sun/star/lang/IllegalArgumentException.hdl"
12 : : #include "com/sun/star/report/XReportComponent.hdl"
13 : : #include "com/sun/star/report/XReportControlFormat.hdl"
14 : : #include "com/sun/star/container/XIndexContainer.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 ::com::sun::star::report::XReportComponent, public ::com::sun::star::report::XReportControlFormat, public ::com::sun::star::container::XContainer, public ::com::sun::star::container::XIndexContainer
25 : : {
26 : : public:
27 : :
28 : : // Attributes
29 : : virtual ::rtl::OUString SAL_CALL getDataField() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual void SAL_CALL setDataField( const ::rtl::OUString& _datafield ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::sal_Bool SAL_CALL getPrintWhenGroupChange() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual void SAL_CALL setPrintWhenGroupChange( ::sal_Bool _printwhengroupchange ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::rtl::OUString SAL_CALL getConditionalPrintExpression() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual void SAL_CALL setConditionalPrintExpression( const ::rtl::OUString& _conditionalprintexpression ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
35 : :
36 : : // Methods
37 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XFormatCondition > SAL_CALL createFormatCondition( ) throw (::com::sun::star::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 ::com::sun::star::report::XReportControlModel const *);
47 : : } } } }
48 : :
49 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportControlModel > *) SAL_THROW(());
50 : :
51 : : #endif
|