summaryrefslogtreecommitdiff
path: root/svx/source/inc/fmctrler.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-07-05 14:52:08 +0000
committerOliver Bolte <obo@openoffice.org>2004-07-05 14:52:08 +0000
commit46b26d4566176b571aa6f475dddc839afe59a341 (patch)
tree9b57366456f790dcaa31fc4f6ad76a6d5f69192b /svx/source/inc/fmctrler.hxx
parent8f0159eb76f5f0c77f49a12cfd823f31561856ca (diff)
INTEGRATION: CWS frmcontrols04 (1.10.478); FILE MERGED
2004/07/05 09:41:52 fs 1.10.478.3: RESYNC: (1.12-1.13); FILE MERGED 2004/06/15 13:53:45 fs 1.10.478.2: RESYNC: (1.10-1.12); FILE MERGED 2004/05/07 14:26:01 fs 1.10.478.1: preparations to allow a dynamic border color for controls (changing onFocus and OnMouseOver)
Diffstat (limited to 'svx/source/inc/fmctrler.hxx')
-rw-r--r--svx/source/inc/fmctrler.hxx33
1 files changed, 23 insertions, 10 deletions
diff --git a/svx/source/inc/fmctrler.hxx b/svx/source/inc/fmctrler.hxx
index a42c0d617411..0f76e47bed47 100644
--- a/svx/source/inc/fmctrler.hxx
+++ b/svx/source/inc/fmctrler.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fmctrler.hxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: hjs $ $Date: 2004-06-28 16:59:19 $
+ * last change: $Author: obo $ $Date: 2004-07-05 15:52:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -107,8 +107,8 @@
#ifndef _COM_SUN_STAR_AWT_XFOCUSLISTENER_HPP_
#include <com/sun/star/awt/XFocusListener.hpp>
#endif
-#ifndef _COM_SUN_STAR_AWT_FOCUSEVENT_HPP_
-#include <com/sun/star/awt/FocusEvent.hpp>
+#ifndef _COM_SUN_STAR_AWT_XMOUSELISTENER_HPP_
+#include <com/sun/star/awt/XMouseListener.hpp>
#endif
#ifndef _COM_SUN_STAR_FORM_XCONFIRMDELETEBROADCASTER_HPP_
#include <com/sun/star/form/XConfirmDeleteBroadcaster.hpp>
@@ -269,10 +269,14 @@ typedef vector< FmFilterRow > FmFilterRows;
typedef vector< ::com::sun::star::uno::Reference< ::com::sun::star::form::XFormController > > FmFormControllers;
struct FmFieldInfo;
-class FmXFormController;
class FmFormView;
class Window;
+namespace svxform
+{
+ class ControlBorderManager;
+}
+
typedef ::cppu::WeakAggComponentImplHelper12< ::com::sun::star::form::XFormController
, ::com::sun::star::container::XChild
, ::com::sun::star::container::XIndexAccess
@@ -287,7 +291,7 @@ typedef ::cppu::WeakAggComponentImplHelper12< ::com::sun::star::form::XFormCon
, ::com::sun::star::util::XModifyBroadcaster
> FmXFormController_BASE1;
-typedef ::cppu::ImplHelper12< ::com::sun::star::util::XModeSelector
+typedef ::cppu::ImplHelper12< ::com::sun::star::util::XModeSelector
, ::com::sun::star::form::XConfirmDeleteListener
, ::com::sun::star::form::XConfirmDeleteBroadcaster
, ::com::sun::star::sdb::XSQLErrorListener
@@ -296,14 +300,15 @@ typedef ::cppu::ImplHelper12< ::com::sun::star::util::XModeSelecto
, ::com::sun::star::sdb::XRowSetApproveListener
, ::com::sun::star::sdb::XRowSetApproveBroadcaster
, ::com::sun::star::form::XDatabaseParameterListener
- , ::com::sun::star::form::XDatabaseParameterBroadcaster2
+ , ::com::sun::star::form::XDatabaseParameterBroadcaster
, ::com::sun::star::lang::XServiceInfo
, ::com::sun::star::form::XResetListener
> FmXFormController_BASE2;
-typedef ::cppu::ImplHelper2< ::com::sun::star::lang::XUnoTunnel
- , ::com::sun::star::frame::XDispatch
- > FmXFormController_BASE3;
+typedef ::cppu::ImplHelper3< ::com::sun::star::lang::XUnoTunnel
+ , ::com::sun::star::frame::XDispatch
+ , ::com::sun::star::awt::XMouseListener
+ > FmXFormController_BASE3;
//==================================================================
// FmXFormController
@@ -352,6 +357,8 @@ class FmXFormController :public ::comphelper::OBaseMutex
FmFormView* m_pView;
Window* m_pWindow;
+ ::svxform::ControlBorderManager*
+ m_pControlBorderManager;
::svx::ControllerFeatures m_aControllerFeatures;
DispatcherContainer m_aFeatureDispatchers;
@@ -468,6 +475,12 @@ public:
virtual void SAL_CALL focusGained(const ::com::sun::star::awt::FocusEvent& e) throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL focusLost(const ::com::sun::star::awt::FocusEvent& e) throw( ::com::sun::star::uno::RuntimeException );
+// XMouseListener
+ virtual void SAL_CALL mousePressed( const ::com::sun::star::awt::MouseEvent& _rEvent ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL mouseReleased( const ::com::sun::star::awt::MouseEvent& _rEvent ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL mouseEntered( const ::com::sun::star::awt::MouseEvent& _rEvent ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL mouseExited( const ::com::sun::star::awt::MouseEvent& _rEvent ) throw (::com::sun::star::uno::RuntimeException);
+
// ::com::sun::star::beans::XPropertyChangeListener -> aenderung der stati
virtual void SAL_CALL propertyChange(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw( ::com::sun::star::uno::RuntimeException );