Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_FORM_RUNTIME_XFORMCONTROLLER_HDL
2 : : #define INCLUDED_COM_SUN_STAR_FORM_RUNTIME_XFORMCONTROLLER_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : #include "com/sun/star/lang/IllegalArgumentException.hdl"
8 : : namespace com { namespace sun { namespace star { namespace form { class XFormControllerListener; } } } }
9 : : namespace com { namespace sun { namespace star { namespace form { namespace runtime { class XFormControllerContext; } } } } }
10 : : namespace com { namespace sun { namespace star { namespace form { namespace runtime { class XFormOperations; } } } } }
11 : : #include "com/sun/star/container/XChild.hdl"
12 : : #include "com/sun/star/util/XModeSelector.hdl"
13 : : #include "com/sun/star/awt/XTabController.hdl"
14 : : #include "com/sun/star/sdb/XSQLErrorBroadcaster.hdl"
15 : : #include "com/sun/star/sdb/XRowSetApproveBroadcaster.hdl"
16 : : #include "com/sun/star/form/XConfirmDeleteBroadcaster.hdl"
17 : : namespace com { namespace sun { namespace star { namespace task { class XInteractionHandler; } } } }
18 : : namespace com { namespace sun { namespace star { namespace awt { class XControl; } } } }
19 : : #include "com/sun/star/form/XDatabaseParameterBroadcaster2.hdl"
20 : : #include "com/sun/star/util/XModifyBroadcaster.hdl"
21 : : #include "com/sun/star/container/XEnumerationAccess.hdl"
22 : : #include "com/sun/star/container/XIndexAccess.hdl"
23 : : namespace com { namespace sun { namespace star { namespace form { namespace runtime { class XFormController; } } } } }
24 : : namespace com { namespace sun { namespace star { namespace form { namespace runtime { class XFilterController; } } } } }
25 : : #include "com/sun/star/lang/XComponent.hdl"
26 : : #include "com/sun/star/uno/Reference.h"
27 : : #include "cppu/macros.hxx"
28 : :
29 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
30 : :
31 : : namespace com { namespace sun { namespace star { namespace form { namespace runtime {
32 : :
33 : 22 : class SAL_NO_VTABLE XFormController : public ::com::sun::star::awt::XTabController, public ::com::sun::star::container::XChild, public ::com::sun::star::container::XIndexAccess, public ::com::sun::star::container::XEnumerationAccess, public ::com::sun::star::lang::XComponent, public ::com::sun::star::util::XModifyBroadcaster, public ::com::sun::star::form::XConfirmDeleteBroadcaster, public ::com::sun::star::sdb::XSQLErrorBroadcaster, public ::com::sun::star::sdb::XRowSetApproveBroadcaster, public ::com::sun::star::form::XDatabaseParameterBroadcaster2, public ::com::sun::star::util::XModeSelector
34 : : {
35 : : public:
36 : :
37 : : // Attributes
38 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::form::runtime::XFormOperations > SAL_CALL getFormOperations() throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > SAL_CALL getCurrentControl() throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::form::runtime::XFormControllerContext > SAL_CALL getContext() throw (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual void SAL_CALL setContext( const ::com::sun::star::uno::Reference< ::com::sun::star::form::runtime::XFormControllerContext >& _context ) throw (::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler > SAL_CALL getInteractionHandler() throw (::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual void SAL_CALL setInteractionHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& _interactionhandler ) throw (::com::sun::star::uno::RuntimeException) = 0;
44 : :
45 : : // Methods
46 : : virtual void SAL_CALL addActivateListener( const ::com::sun::star::uno::Reference< ::com::sun::star::form::XFormControllerListener >& _Listener ) throw (::com::sun::star::uno::RuntimeException) = 0;
47 : : virtual void SAL_CALL removeActivateListener( const ::com::sun::star::uno::Reference< ::com::sun::star::form::XFormControllerListener >& _Listener ) throw (::com::sun::star::uno::RuntimeException) = 0;
48 : : virtual void SAL_CALL addChildController( const ::com::sun::star::uno::Reference< ::com::sun::star::form::runtime::XFormController >& _ChildController ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
49 : :
50 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
51 : :
52 : : protected:
53 : 19 : ~XFormController() throw () {} // avoid warnings about virtual members and non-virtual dtor
54 : : };
55 : :
56 : :
57 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::form::runtime::XFormController const *);
58 : : } } } } }
59 : :
60 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::form::runtime::XFormController > *) SAL_THROW(());
61 : :
62 : : #endif
|