diff options
Diffstat (limited to 'svx/source/dialog/hltpbase.hxx')
-rw-r--r-- | svx/source/dialog/hltpbase.hxx | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/svx/source/dialog/hltpbase.hxx b/svx/source/dialog/hltpbase.hxx index 0378cc117f..6b09deb911 100644 --- a/svx/source/dialog/hltpbase.hxx +++ b/svx/source/dialog/hltpbase.hxx @@ -57,6 +57,8 @@ #include <sfx2/docfile.hxx> #include <svx/dialogs.hrc> +#include <com/sun/star/frame/XFrame.hpp> + #ifndef _SVX_HELPID_HRC #include "helpid.hrc" #endif @@ -130,6 +132,9 @@ private: sal_Bool mbIsCloseDisabled; + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > + mxDocumentFrame; + protected: Window* mpDialog; @@ -163,9 +168,19 @@ protected: inline void DisableClose( sal_Bool _bDisable ) { mbIsCloseDisabled = _bDisable; } public: - SvxHyperlinkTabPageBase ( Window *pParent, const ResId &rResId, const SfxItemSet& rItemSet); + SvxHyperlinkTabPageBase ( + Window *pParent, + const ResId &rResId, + const SfxItemSet& rItemSet + ); virtual ~SvxHyperlinkTabPageBase (); + void SetDocumentFrame( + const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rxDocumentFrame ) + { + mxDocumentFrame = rxDocumentFrame; + } + virtual BOOL AskApply (); virtual void DoApply (); virtual void SetOnlineMode( BOOL bEnable ); |