summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/helpinterceptor.hxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-10-24 09:04:32 +0000
committerOliver Specht <os@openoffice.org>2002-10-24 09:04:32 +0000
commitf2957efcf7717a6a99340cbdc4ff5eff4e142f6c (patch)
tree636877ac1ca5ac06d92b56df3db0cf07039280e2 /sfx2/source/appl/helpinterceptor.hxx
parent0a588e3c97a16a9dda9dd85b4e0f1e9dadb12286 (diff)
#93478# history extended by a view data property to restore the cursor position
Diffstat (limited to 'sfx2/source/appl/helpinterceptor.hxx')
-rw-r--r--sfx2/source/appl/helpinterceptor.hxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/sfx2/source/appl/helpinterceptor.hxx b/sfx2/source/appl/helpinterceptor.hxx
index 66615972dd2b..2b37c22140c5 100644
--- a/sfx2/source/appl/helpinterceptor.hxx
+++ b/sfx2/source/appl/helpinterceptor.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: helpinterceptor.hxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: os $ $Date: 2002-09-05 11:25:01 $
+ * last change: $Author: os $ $Date: 2002-10-24 10:04:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -108,7 +108,8 @@ struct HelpHistoryEntry_Impl
::com::sun::star::uno::Any aViewData;
HelpHistoryEntry_Impl( const String& rURL ) : aURL( rURL ) {}
- HelpHistoryEntry_Impl( const String& rURL, const ::com::sun::star::uno::Any& rViewData ) : aURL( rURL ), aViewData( rViewData ) {}
+ HelpHistoryEntry_Impl( const String& rURL, const com::sun::star::uno::Any& rViewData ) :
+ aURL( rURL ), aViewData(rViewData) {}
};
DECLARE_LIST(HelpHistoryList_Impl,HelpHistoryEntry_Impl*);
@@ -139,6 +140,7 @@ friend class HelpDispatch_Impl;
SfxHelpWindow_Impl* m_pWindow;
ULONG m_nCurPos;
String m_aCurrentURL;
+ com::sun::star::uno::Any m_aViewData;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >
getController() const throw( ::com::sun::star::uno::RuntimeException );
@@ -152,6 +154,10 @@ public:
void SetStartURL( const String& rURL );
String GetCurrentURL() const { return m_aCurrentURL; }
+
+
+ const com::sun::star::uno::Any& GetViewData()const {return m_aViewData;}
+
sal_Bool HasHistoryPred() const; // is there a predecessor for the current in the history
sal_Bool HasHistorySucc() const; // is there a successor for the current in the history