19#ifndef INCLUDED_SFX2_SOURCE_APPL_HELPINTERCEPTOR_HXX
20#define INCLUDED_SFX2_SOURCE_APPL_HELPINTERCEPTOR_HXX
22#include <com/sun/star/frame/XDispatchProviderInterceptor.hpp>
23#include <com/sun/star/frame/XInterceptorInfo.hpp>
24#include <com/sun/star/frame/XDispatch.hpp>
25#include <com/sun/star/frame/XDispatchProviderInterception.hpp>
26#include <com/sun/star/frame/XFrame.hpp>
28#include <com/sun/star/frame/XStatusListener.hpp>
36 css::frame::XDispatchProviderInterceptor,
37 css::frame::XInterceptorInfo,
38 css::frame::XDispatch >
46 css::uno::Reference< css::frame::XDispatchProviderInterception >
m_xIntercepted;
52 css::uno::Reference< css::frame::XStatusListener >
m_xListener;
59 void addURL(
const OUString& rURL );
72 virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL
73 queryDispatch(
const css::util::URL& aURL,
const OUString& aTargetFrameName, sal_Int32 nSearchFlags )
override;
74 virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL
75 queryDispatches(
const css::uno::Sequence< css::frame::DispatchDescriptor >& aDescripts )
override;
78 virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL
80 virtual void SAL_CALL
setSlaveDispatchProvider(
const css::uno::Reference< css::frame::XDispatchProvider >& xNewSlave )
override;
81 virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL
83 virtual void SAL_CALL
setMasterDispatchProvider(
const css::uno::Reference< css::frame::XDispatchProvider >& xNewMaster )
override;
86 virtual css::uno::Sequence< OUString > SAL_CALL
90 virtual void SAL_CALL
dispatch(
const css::util::URL& aURL,
const css::uno::Sequence< css::beans::PropertyValue >& aArgs )
override;
91 virtual void SAL_CALL
addStatusListener(
const css::uno::Reference< css::frame::XStatusListener >& xControl,
const css::util::URL& aURL )
override;
92 virtual void SAL_CALL
removeStatusListener(
const css::uno::Reference< css::frame::XStatusListener >& xControl,
const css::util::URL& aURL )
override;
112 virtual void SAL_CALL
statusChanged(
const css::frame::FeatureStateEvent& Event )
override;
113 virtual void SAL_CALL
disposing(
const css::lang::EventObject& obj )
override;
123 css::uno::Reference < css::frame::XDispatch >
xDispatch;
128 css::uno::Reference < css::frame::XDispatch >
const &
xDispatch,
129 css::util::URL
const & rURL);
132 virtual void SAL_CALL
statusChanged(
const css::frame::FeatureStateEvent& Event )
override;
133 virtual void SAL_CALL
disposing(
const css::lang::EventObject& obj )
override;
134 const css::frame::FeatureStateEvent&
SfxHelpWindow_Impl * GetHelpWindow() const
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch(const css::util::URL &aURL, const OUString &aTargetFrameName, sal_Int32 nSearchFlags) override
virtual void SAL_CALL dispatch(const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
css::uno::Reference< css::frame::XDispatchProvider > m_xSlaveDispatcher
void setInterception(const css::uno::Reference< css::frame::XFrame > &xFrame)
virtual void SAL_CALL removeStatusListener(const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches(const css::uno::Sequence< css::frame::DispatchDescriptor > &aDescripts) override
virtual void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getSlaveDispatchProvider() override
css::uno::Reference< css::frame::XStatusListener > m_xListener
virtual css::uno::Sequence< OUString > SAL_CALL getInterceptedURLs() override
css::uno::Reference< css::frame::XDispatchProviderInterception > m_xIntercepted
VclPtr< SfxHelpWindow_Impl > m_pWindow
std::vector< OUString > m_vHistoryUrls
void addURL(const OUString &rURL)
virtual void SAL_CALL setMasterDispatchProvider(const css::uno::Reference< css::frame::XDispatchProvider > &xNewMaster) override
bool HasHistorySucc() const
const OUString & GetCurrentURL() const
virtual void SAL_CALL setSlaveDispatchProvider(const css::uno::Reference< css::frame::XDispatchProvider > &xNewSlave) override
virtual ~HelpInterceptor_Impl() override
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getMasterDispatchProvider() override
bool HasHistoryPred() const
void InitWaiter(SfxHelpWindow_Impl *pWindow)
css::uno::Reference< css::frame::XDispatchProvider > m_xMasterDispatcher
virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent &Event) override
HelpInterceptor_Impl * pInterceptor
virtual void SAL_CALL disposing(const css::lang::EventObject &obj) override
Link< HelpListener_Impl &, void > aChangeLink
const OUString & GetFactory() const
void SetChangeHdl(const Link< HelpListener_Impl &, void > &rLink)
HelpListener_Impl(HelpInterceptor_Impl *pInter)
css::uno::Reference< css::frame::XDispatch > xDispatch
virtual void SAL_CALL disposing(const css::lang::EventObject &obj) override
css::frame::FeatureStateEvent aStateEvent
const css::frame::FeatureStateEvent & GetStateEvent() const
virtual ~HelpStatusListener_Impl() override
virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent &Event) override
HelpStatusListener_Impl(css::uno::Reference< css::frame::XDispatch > const &xDispatch, css::util::URL const &rURL)
css::uno::Reference< css::frame::XFrame2 > xFrame