diff options
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 24 | ||||
-rw-r--r-- | sfx2/source/appl/newhelp.hxx | 15 |
2 files changed, 34 insertions, 5 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 8f40a3720294..af88a854488a 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 e120d349eb1d..c8ff0a77b130 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; |