22#include <osl/mutex.hxx>
25#include <com/sun/star/frame/XDispatchProviderInterceptor.hpp>
26#include <com/sun/star/frame/XInterceptorInfo.hpp>
27#include <com/sun/star/frame/XDispatch.hpp>
35class OInterceptor :
public ::cppu::WeakImplHelper< css::frame::XDispatchProviderInterceptor,
36 css::frame::XInterceptorInfo,
37 css::frame::XDispatch >
52 const css::util::URL& URL,
53 const css::uno::Sequence< css::beans::PropertyValue >& Arguments )
override;
57 const css::uno::Reference< css::frame::XStatusListener >&
Control,
58 const css::util::URL& URL )
override;
62 const css::uno::Reference< css::frame::XStatusListener >&
Control,
63 const css::util::URL& URL )
override;
66 virtual css::uno::Sequence< OUString >
70 virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL
72 const css::util::URL& URL,
73 const OUString& TargetFrameName,
74 sal_Int32 SearchFlags )
override;
76 virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL
78 const css::uno::Sequence< css::frame::DispatchDescriptor >& Requests )
override;
81 virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL
86 const css::uno::Reference< css::frame::XDispatchProvider >& NewDispatchProvider )
override;
88 virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL
93 const css::uno::Reference< css::frame::XDispatchProvider >& NewSupplier )
override;
virtual void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > &Control, const css::util::URL &URL) override
DECL_LINK(OnDispatch, void *, void)
virtual void SAL_CALL dispatch(const css::util::URL &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override
OInterceptor(ODocumentDefinition *_pContentHolder)
virtual ~OInterceptor() override
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches(const css::uno::Sequence< css::frame::DispatchDescriptor > &Requests) override
css::uno::Reference< css::frame::XDispatchProvider > m_xMasterDispatchProvider
virtual void SAL_CALL setSlaveDispatchProvider(const css::uno::Reference< css::frame::XDispatchProvider > &NewDispatchProvider) override
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getMasterDispatchProvider() override
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch(const css::util::URL &URL, const OUString &TargetFrameName, sal_Int32 SearchFlags) override
css::uno::Reference< css::frame::XDispatchProvider > m_xSlaveDispatchProvider
virtual css::uno::Sequence< OUString > SAL_CALL getInterceptedURLs() override
css::uno::Sequence< OUString > m_aInterceptedURL
ODocumentDefinition * m_pContentHolder
comphelper::OMultiTypeInterfaceContainerHelperVar3< css::frame::XStatusListener, OUString > StatusListenerContainer
virtual void SAL_CALL setMasterDispatchProvider(const css::uno::Reference< css::frame::XDispatchProvider > &NewSupplier) override
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getSlaveDispatchProvider() override
std::unique_ptr< StatusListenerContainer > m_pStatCL
virtual void SAL_CALL removeStatusListener(const css::uno::Reference< css::frame::XStatusListener > &Control, const css::util::URL &URL) override