summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
authorgt <gt@openoffice.org>2001-10-11 10:20:45 +0000
committergt <gt@openoffice.org>2001-10-11 10:20:45 +0000
commit0dea11293d17e5ad1bcf57d86f2269ba5be3af49 (patch)
tree8d96639f82687398ccb68ff9e7b6035601ed5f2e /sfx2/source/appl
parent89db32158c1effa92a18b9932bcc8d8ab341b88f (diff)
#92980# KEY_TAB for DockingWindow -> SfxHelpTextWindow_Impl
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/newhelp.cxx24
-rw-r--r--sfx2/source/appl/newhelp.hxx15
2 files changed, 34 insertions, 5 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index f918f42994..86db54513a 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: newhelp.cxx,v $
*
- * $Revision: 1.59 $
+ * $Revision: 1.60 $
*
- * last change: $Author: pb $ $Date: 2001-10-10 10:30:59 $
+ * last change: $Author: gt $ $Date: 2001-10-11 11:20:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1673,6 +1673,24 @@ String SfxHelpIndexWindow_Impl::GetSearchText() const
return sRet;
}
+// class TextWin_Impl ----------------------------------------------------
+
+TextWin_Impl::TextWin_Impl( Window* p ) : DockingWindow( p, 0 )
+{
+}
+
+TextWin_Impl::~TextWin_Impl()
+{
+}
+
+long TextWin_Impl::Notify( NotifyEvent& rNEvt )
+{
+ if( ( rNEvt.GetType() == EVENT_KEYINPUT ) && rNEvt.GetKeyEvent()->GetKeyCode().GetCode() == KEY_TAB )
+ return GetParent()->Notify( rNEvt );
+ else
+ return DockingWindow::Notify( rNEvt );
+}
+
// class SfxHelpTextWindow_Impl ------------------------------------------
SfxHelpTextWindow_Impl::SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ) :
@@ -1681,7 +1699,7 @@ SfxHelpTextWindow_Impl::SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ) :
aToolBox ( this, 0 ),
pHelpWin ( pParent ),
- pTextWin ( new DockingWindow( this, 0 ) ),
+ pTextWin ( new TextWin_Impl( this ) ),
bIsDebug ( sal_False ),
bIsInClose ( sal_False ),
aIndexOnText ( SfxResId( STR_HELP_BUTTON_INDEX_ON ) ),
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx
index 33b67cb015..48108657ce 100644
--- a/sfx2/source/appl/newhelp.hxx
+++ b/sfx2/source/appl/newhelp.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: newhelp.hxx,v $
*
- * $Revision: 1.31 $
+ * $Revision: 1.32 $
*
- * last change: $Author: pb $ $Date: 2001-10-08 12:35:36 $
+ * last change: $Author: gt $ $Date: 2001-10-11 11:20:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -352,6 +352,17 @@ public:
String GetSearchText() const;
};
+// class TextWin_Impl ----------------------------------------------------
+
+class TextWin_Impl : public DockingWindow
+{
+public:
+ TextWin_Impl( Window* pParent );
+ virtual ~TextWin_Impl();
+
+ virtual long Notify( NotifyEvent& rNEvt );
+};
+
// class SfxHelpTextWindow_Impl ------------------------------------------
class SfxHelpWindow_Impl;