Branch data 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/uno/RuntimeException.hdl"
7 : : #include "com/sun/star/util/URL.hdl"
8 : : namespace com { namespace sun { namespace star { namespace frame { class XFrame; } } } }
9 : : namespace com { namespace sun { namespace star { namespace task { class XStatusIndicator; } } } }
10 : : #include "com/sun/star/uno/Exception.hdl"
11 : : #include "com/sun/star/beans/XPropertySet.hdl"
12 : : namespace com { namespace sun { namespace star { namespace sdbc { class XConnection; } } } }
13 : : #include "com/sun/star/lang/IllegalArgumentException.hdl"
14 : : #include "com/sun/star/lang/XComponent.hdl"
15 : : #include "com/sun/star/lang/DisposedException.hdl"
16 : : namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
17 : : namespace com { namespace sun { namespace star { namespace report { class XReportDefinition; } } } }
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 ::com::sun::star::lang::XComponent, public ::com::sun::star::beans::XPropertySet
27 : : {
28 : : public:
29 : :
30 : : // Attributes
31 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition > SAL_CALL getReportDefinition() throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual void SAL_CALL setReportDefinition( const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition >& _reportdefinition ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getActiveConnection() throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual void SAL_CALL setActiveConnection( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _activeconnection ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > SAL_CALL getStatusIndicator() throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual void SAL_CALL setStatusIndicator( const ::com::sun::star::uno::Reference< ::com::sun::star::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< ::com::sun::star::frame::XModel > SAL_CALL createDocumentModel( ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > SAL_CALL createDocumentAlive( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& frame ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual ::com::sun::star::util::URL SAL_CALL createDocument( ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual void SAL_CALL interrupt( ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::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 ::com::sun::star::report::XReportEngine const *);
54 : : } } } }
55 : :
56 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportEngine > *) SAL_THROW(());
57 : :
58 : : #endif
|