Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_REPORT_XREPORTENGINE_HDL
2 : #define INCLUDED_COM_SUN_STAR_REPORT_XREPORTENGINE_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/XPropertySet.hdl"
7 : namespace com { namespace sun { namespace star { namespace frame { class XFrame; } } } }
8 : namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
9 : #include "com/sun/star/lang/DisposedException.hdl"
10 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
11 : #include "com/sun/star/lang/XComponent.hdl"
12 : namespace com { namespace sun { namespace star { namespace report { class XReportDefinition; } } } }
13 : namespace com { namespace sun { namespace star { namespace sdbc { class XConnection; } } } }
14 : namespace com { namespace sun { namespace star { namespace task { class XStatusIndicator; } } } }
15 : #include "com/sun/star/uno/Exception.hdl"
16 : #include "com/sun/star/uno/RuntimeException.hdl"
17 : #include "com/sun/star/util/URL.hdl"
18 : #include "com/sun/star/uno/Reference.h"
19 : #include "cppu/macros.hxx"
20 : #include "sal/types.h"
21 :
22 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
23 :
24 : namespace com { namespace sun { namespace star { namespace report {
25 :
26 0 : class SAL_NO_VTABLE XReportEngine : public css::lang::XComponent, public css::beans::XPropertySet
27 : {
28 : public:
29 :
30 : // Attributes
31 : virtual ::com::sun::star::uno::Reference< css::report::XReportDefinition > SAL_CALL getReportDefinition() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual void SAL_CALL setReportDefinition( const ::com::sun::star::uno::Reference< css::report::XReportDefinition >& _reportdefinition ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::com::sun::star::uno::Reference< css::sdbc::XConnection > SAL_CALL getActiveConnection() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual void SAL_CALL setActiveConnection( const ::com::sun::star::uno::Reference< css::sdbc::XConnection >& _activeconnection ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual ::com::sun::star::uno::Reference< css::task::XStatusIndicator > SAL_CALL getStatusIndicator() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual void SAL_CALL setStatusIndicator( const ::com::sun::star::uno::Reference< css::task::XStatusIndicator >& _statusindicator ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual ::sal_Int32 SAL_CALL getMaxRows() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual void SAL_CALL setMaxRows( ::sal_Int32 _maxrows ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 :
40 : // Methods
41 : virtual ::com::sun::star::uno::Reference< css::frame::XModel > SAL_CALL createDocumentModel() /* throw (css::lang::DisposedException, css::lang::IllegalArgumentException, css::uno::Exception, ::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual ::com::sun::star::uno::Reference< css::frame::XModel > SAL_CALL createDocumentAlive( const ::com::sun::star::uno::Reference< css::frame::XFrame >& frame ) /* throw (css::lang::DisposedException, css::lang::IllegalArgumentException, css::uno::Exception, ::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual css::util::URL SAL_CALL createDocument() /* throw (css::lang::DisposedException, css::lang::IllegalArgumentException, css::uno::Exception, ::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual void SAL_CALL interrupt() /* throw (css::lang::DisposedException, css::uno::Exception, ::com::sun::star::uno::RuntimeException) */ = 0;
45 :
46 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
47 :
48 : protected:
49 0 : ~XReportEngine() throw () {} // avoid warnings about virtual members and non-virtual dtor
50 : };
51 :
52 :
53 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::report::XReportEngine const *);
54 : } } } }
55 :
56 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::report::XReportEngine > *) SAL_THROW(());
57 :
58 : #endif
|