diff options
author | Peter Burow <pb@openoffice.org> | 2001-07-12 09:27:58 +0000 |
---|---|---|
committer | Peter Burow <pb@openoffice.org> | 2001-07-12 09:27:58 +0000 |
commit | 7ff2202ba244805cc962b16fc66f00f833ed61f1 (patch) | |
tree | 1fa1806705d9a683aa059cfdae1b9087d1f6b2ee /sfx2/source/appl/newhelp.hxx | |
parent | f9756a7a2f4196a709fdbad9a1cbd5b92cfcc2f1 (diff) |
fix: #89087# #87761# index on/off images/strings added, SelectFactory handler added
Diffstat (limited to 'sfx2/source/appl/newhelp.hxx')
-rw-r--r-- | sfx2/source/appl/newhelp.hxx | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx index 6321a1eea4..d8950cbaa8 100644 --- a/sfx2/source/appl/newhelp.hxx +++ b/sfx2/source/appl/newhelp.hxx @@ -2,9 +2,9 @@ * * $RCSfile: newhelp.hxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: pb $ $Date: 2001-07-09 11:36:59 $ + * last change: $Author: pb $ $Date: 2001-07-12 10:27:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -252,6 +252,8 @@ private: TabControl aTabCtrl; Timer aInitTimer; + Link aSelectFactoryLink; + ContentTabPage_Impl* pCPage; IndexTabPage_Impl* pIPage; SearchTabPage_Impl* pSPage; @@ -273,10 +275,12 @@ public: virtual void Resize(); void SetDoubleClickHdl( const Link& rLink ); + void SetSelectFactoryHdl( const Link& rLink ) { aSelectFactoryLink = rLink; } void SetFactory( const String& rFactory, sal_Bool bActive ); String GetFactory() const { return pIPage->GetFactory(); } String GetSelectEntry() const; void AddBookmarks( const String& rTitle, const String& rURL ); + String GetActiveFactoryTitle() const { return aActiveLB.GetSelectEntry(); } }; // class SfxHelpTextWindow_Impl ------------------------------------------ @@ -291,6 +295,12 @@ private: ::com::sun::star::uno::Reference < ::com::sun::star::frame::XFrame > xFrame; sal_Bool bIsDebug; + sal_Bool bIsIndexOn; + + String aIndexOnText; + String aIndexOffText; + Image aIndexOnImage; + Image aIndexOffImage; public: SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ); @@ -303,6 +313,7 @@ public: ::com::sun::star::uno::Reference < ::com::sun::star::frame::XFrame > getFrame() const { return xFrame; } + void ToggleIndex( sal_Bool bOn ); }; // class SfxHelpWindow_Impl ---------------------------------------------- @@ -327,9 +338,10 @@ private: sal_Int32 nHeight; long nIndexSize; long nTextSize; - sal_Bool bIndex; + String aTitle; + virtual void Resize(); virtual void Split(); @@ -337,9 +349,11 @@ private: void InitSizes(); void LoadConfig(); void SaveConfig(); + void ShowStartPage(); DECL_LINK( SelectHdl, ToolBox* ); DECL_LINK( OpenHdl, SfxHelpIndexWindow_Impl* ); + DECL_LINK( SelectFactoryHdl, SfxHelpIndexWindow_Impl* ); DECL_LINK( ChangeHdl, HelpListener_Impl* ); DECL_LINK( OpenDoneHdl, OpenStatusListener_Impl* ); |