summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2002-06-07 07:06:20 +0000
committerAndre Fischer <af@openoffice.org>2002-06-07 07:06:20 +0000
commitf006579e1247d34380ec5f8703ff78e77ca17f51 (patch)
treef4b611560008e06a420f4cdf3e614bd5d757bdc4 /sd/source/ui/inc/AccessibleDocumentViewBase.hxx
parent90ca37e3ae30637e8fb365aa76ccab8715993f71 (diff)
#99952# Added implementation of XTopWindowListener.
Diffstat (limited to 'sd/source/ui/inc/AccessibleDocumentViewBase.hxx')
-rw-r--r--sd/source/ui/inc/AccessibleDocumentViewBase.hxx33
1 files changed, 30 insertions, 3 deletions
diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
index 14419e7bcaf1..89fb41d4ad08 100644
--- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
+++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleDocumentViewBase.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: ka $ $Date: 2002-05-08 09:58:26 $
+ * last change: $Author: af $ $Date: 2002-06-07 08:06:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -88,6 +88,9 @@
#ifndef _COM_SUN_STAR_AWT_XWINDOWLISTENER_HPP_
#include <com/sun/star/awt/XWindowListener.hpp>
#endif
+#ifndef _COM_SUN_STAR_AWT_XTOPWINDOWLISTENER_HPP_
+#include <com/sun/star/awt/XTopWindowListener.hpp>
+#endif
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYCHANGELISTENER_HPP_
#include <com/sun/star/beans/XPropertyChangeListener.hpp>
#endif
@@ -118,7 +121,8 @@ class AccessibleDocumentViewBase
public IAccessibleViewForwarderListener,
public ::com::sun::star::beans::XPropertyChangeListener,
public ::com::sun::star::frame::XFrameActionListener,
- public ::com::sun::star::awt::XWindowListener
+ public ::com::sun::star::awt::XWindowListener,
+ public ::com::sun::star::awt::XTopWindowListener
{
public:
//===== internal ========================================================
@@ -257,6 +261,17 @@ public:
windowHidden (const ::com::sun::star::lang::EventObject& e)
throw (::com::sun::star::uno::RuntimeException);
+
+ //===== XTopWindowListener ==============================================
+
+ virtual void SAL_CALL windowOpened( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL windowClosing( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL windowClosed( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL windowMinimized( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL windowNormalized( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL windowActivated( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL windowDeactivated( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
+
protected:
// return the member maMutex;
@@ -312,6 +327,18 @@ protected:
virtual ::rtl::OUString
CreateAccessibleDescription ()
throw (::com::sun::star::uno::RuntimeException);
+
+ /** This method is called when (after) the frame containing this
+ document has been activated. Can be used to send FOCUSED state
+ changes for the currently selected element.
+ */
+ virtual void Activated (void);
+
+ /** This method is called when (before or after?) the frame containing
+ this document has been deactivated. Can be used to send FOCUSED
+ state changes for the currently selected element.
+ */
+ virtual void Deactivated (void);
};
} // end of namespace accessibility