22#include <com/sun/star/frame/XDispatchProviderInterceptor.hpp>
23#include <com/sun/star/view/XSelectionChangeListener.hpp>
32 css::frame::XDispatchProviderInterceptor,
33 css::lang::XEventListener>,
39 css::uno::Reference< css::frame::XDispatchProviderInterception>
m_xIntercepted;
56 virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL
58 const OUString& aTargetFrameName,
59 sal_Int32 nSearchFlags )
override;
60 virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL
61 queryDispatches(
const css::uno::Sequence< css::frame::DispatchDescriptor >& aDescripts )
override;
64 virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL
67 css::frame::XDispatchProvider >& xNewDispatchProvider )
override;
68 virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL
71 css::frame::XDispatchProvider >& xNewSupplier )
override;
74 virtual void SAL_CALL
disposing(
const css::lang::EventObject& Source )
override;
78 css::frame::XDispatch,
79 css::view::XSelectionChangeListener >,
83 std::vector< css::uno::Reference< css::frame::XStatusListener > >
96 virtual void SAL_CALL
dispatch(
const css::util::URL& aURL,
97 const css::uno::Sequence< css::beans::PropertyValue >& aArgs )
override;
98 virtual void SAL_CALL
addStatusListener(
const css::uno::Reference< css::frame::XStatusListener >& xControl,
99 const css::util::URL& aURL )
override;
100 virtual void SAL_CALL
removeStatusListener(
const css::uno::Reference< css::frame::XStatusListener >& xControl,
101 const css::util::URL& aURL )
override;
104 virtual void SAL_CALL
selectionChanged(
const css::lang::EventObject& aEvent )
override;
107 virtual void SAL_CALL
disposing(
const css::lang::EventObject& Source )
override;
virtual void SAL_CALL setMasterDispatchProvider(const css::uno::Reference< css::frame::XDispatchProvider > &xNewSupplier) override
ScTabViewShell * pViewShell
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches(const css::uno::Sequence< css::frame::DispatchDescriptor > &aDescripts) override
css::uno::Reference< css::frame::XDispatchProvider > m_xMasterDispatcher
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
XEventListener.
virtual ~ScDispatchProviderInterceptor() override
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getSlaveDispatchProvider() override
XDispatchProviderInterceptor.
virtual void SAL_CALL setSlaveDispatchProvider(const css::uno::Reference< css::frame::XDispatchProvider > &xNewDispatchProvider) override
css::uno::Reference< css::frame::XDispatch > m_xMyDispatch
own dispatch
ScDispatchProviderInterceptor(ScTabViewShell *pViewSh)
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch(const css::util::URL &aURL, const OUString &aTargetFrameName, sal_Int32 nSearchFlags) override
XDispatchProvider.
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getMasterDispatchProvider() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
css::uno::Reference< css::frame::XDispatchProvider > m_xSlaveDispatcher
chaining
css::uno::Reference< css::frame::XDispatchProviderInterception > m_xIntercepted
the component which's dispatches we're intercepting
ScDispatch(ScTabViewShell *pViewSh)
virtual void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
ScTabViewShell * pViewShell
virtual void SAL_CALL removeStatusListener(const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
XEventListener.
virtual void SAL_CALL selectionChanged(const css::lang::EventObject &aEvent) override
XSelectionChangeListener.
ScImportParam aLastImport
virtual void SAL_CALL dispatch(const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
XDispatch.
std::vector< css::uno::Reference< css::frame::XStatusListener > > aDataSourceListeners
virtual ~ScDispatch() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override