24#include <com/sun/star/frame/XNotifyingDispatch.hpp>
25#include <com/sun/star/frame/XSynchronousDispatch.hpp>
36class LoadDispatcher final :
public ::cppu::WeakImplHelper< css::frame::XNotifyingDispatch,
37 css::frame::XSynchronousDispatch >
80 LoadDispatcher(
const css::uno::Reference< css::uno::XComponentContext >& xContext,
81 const css::uno::Reference< css::frame::XFrame >& xOwnerFrame ,
82 OUString sTargetName ,
83 sal_Int32 nSearchFlags);
95 const css::uno::Sequence< css::beans::PropertyValue >& lArguments,
96 const css::uno::Reference< css::frame::XDispatchResultListener >& xListener )
override;
99 virtual void SAL_CALL
dispatch(
const css::util::URL& aURL ,
100 const css::uno::Sequence< css::beans::PropertyValue >& lArguments)
override;
102 virtual void SAL_CALL
addStatusListener(
const css::uno::Reference< css::frame::XStatusListener >& xListener,
103 const css::util::URL& aURL )
override;
105 virtual void SAL_CALL
removeStatusListener(
const css::uno::Reference< css::frame::XStatusListener >& xListener,
106 const css::util::URL& aURL )
override;
110 const css::uno::Sequence< css::beans::PropertyValue >& lArguments )
override;
114 const css::uno::Sequence< css::beans::PropertyValue >& lArguments,
115 const css::uno::Reference< css::frame::XDispatchResultListener >& xListener );
implements a dispatch object which can be used to load non-visible components (by using the mechanism...
virtual ~LoadDispatcher() override
used to free internal resources.
css::uno::WeakReference< css::frame::XFrame > m_xOwnerFrame
TODO document me.
virtual void SAL_CALL removeStatusListener(const css::uno::Reference< css::frame::XStatusListener > &xListener, const css::util::URL &aURL) override
css::uno::Any impl_dispatch(const css::util::URL &rURL, const css::uno::Sequence< css::beans::PropertyValue > &lArguments, const css::uno::Reference< css::frame::XDispatchResultListener > &xListener)
virtual css::uno::Any SAL_CALL dispatchWithReturnValue(const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &lArguments) override
LoadEnv m_aLoader
TODO document me.
virtual void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > &xListener, const css::util::URL &aURL) override
virtual void SAL_CALL dispatch(const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &lArguments) override
LoadDispatcher(const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XFrame > &xOwnerFrame, OUString sTargetName, sal_Int32 nSearchFlags)
creates a new instance and initialize it with all necessary parameters.
sal_Int32 m_nSearchFlags
TODO document me.
OUString m_sTarget
TODO document me.
virtual void SAL_CALL dispatchWithNotification(const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &lArguments, const css::uno::Reference< css::frame::XDispatchResultListener > &xListener) override
implements general mechanism for loading documents.