22#include <com/sun/star/frame/XNotifyingDispatch.hpp>
55 const css::uno::Sequence< css::beans::PropertyValue >& aArgs,
56 const css::uno::Reference< css::frame::XDispatchResultListener >& rListener )
override;
57 virtual void SAL_CALL
dispatch(
const css::util::URL& aURL,
const css::uno::Sequence< css::beans::PropertyValue >& aArgs )
override;
58 virtual void SAL_CALL
addStatusListener(
const css::uno::Reference< css::frame::XStatusListener > & xControl,
const css::util::URL& aURL)
override;
59 virtual void SAL_CALL
removeStatusListener(
const css::uno::Reference< css::frame::XStatusListener > & xControl,
const css::util::URL& aURL)
override;
63 void sendStatusChanged(
const OUString& rURL,
const css::frame::FeatureStateEvent& rEvent);
72 std::unique_ptr<SfxDispatchController_Impl>
pImpl;
77 const css::util::URL& rURL );
80 const css::util::URL& rURL );
84 const css::uno::Sequence< css::beans::PropertyValue >& aArgs,
85 const css::uno::Reference< css::frame::XDispatchResultListener >& rListener )
override;
86 virtual void SAL_CALL
dispatch(
const css::util::URL& aURL,
87 const css::uno::Sequence< css::beans::PropertyValue >& aArgs )
override;
88 virtual void SAL_CALL
addStatusListener(
const css::uno::Reference< css::frame::XStatusListener > & xControl,
89 const css::util::URL& aURL)
override;
94 void SetFrame(
const css::uno::Reference< css::frame::XFrame >&
xFrame);
100 sal_uInt16
GetId()
const;
114 css::uno::WeakReference< css::frame::XFrame >
xFrame;
117 css::uno::Sequence< css::beans::PropertyValue >& rArgs );
120 void sendStatusChanged(
const OUString& rURL,
const css::frame::FeatureStateEvent& rEvent);
127 css::util::URL aURL );
138 void dispatch(
const css::util::URL& aURL,
139 const css::uno::Sequence< css::beans::PropertyValue >& aArgs,
140 const css::uno::Reference< css::frame::XDispatchResultListener >& rListener );
142 void addStatusListener(
const css::uno::Reference< css::frame::XStatusListener > & xControl,
const css::util::URL& aURL);
145 void SetFrame(
const css::uno::Reference< css::frame::XFrame >&
xFrame);
MapUnit GetCoreMetric() const
void sendStatusChanged(const OUString &rURL, const css::frame::FeatureStateEvent &rEvent)
css::uno::WeakReference< css::frame::XFrame > xFrame
void setMasterSlaveCommand(bool bSet)
static OUString getSlaveCommand(const css::util::URL &rURL)
virtual ~SfxDispatchController_Impl() override
SfxDispatcher * pDispatcher
SfxDispatcher * GetDispatcher()
const SfxPoolItem * pLastState
static void addParametersToArgs(const css::util::URL &aURL, css::uno::Sequence< css::beans::PropertyValue > &rArgs)
void SetFrame(const css::uno::Reference< css::frame::XFrame > &xFrame)
void StateChanged(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState, SfxSlotServer const *pServ)
void dispatch(const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs, const css::uno::Reference< css::frame::XDispatchResultListener > &rListener)
void addStatusListener(const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL)
virtual void StateChangedAtToolBoxControl(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
css::util::URL aDispatchURL
SfxDispatchController_Impl(SfxOfficeDispatch *pDisp, SfxBindings *pBind, SfxDispatcher *pDispat, const SfxSlot *pSlot, css::util::URL aURL)
SfxOfficeDispatch * pDispatch
virtual ~SfxOfficeDispatch() override
std::unique_ptr< SfxDispatchController_Impl > pImpl
SfxDispatcher * GetDispatcher_Impl()
virtual void SAL_CALL dispatch(const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
void SetFrame(const css::uno::Reference< css::frame::XFrame > &xFrame)
void SetMasterUnoCommand(bool bSet)
SfxOfficeDispatch(SfxBindings &rBind, SfxDispatcher *pDispat, const SfxSlot *pSlot, const css::util::URL &rURL)
static OUString GetMasterUnoCommand(const css::util::URL &aURL)
virtual void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
static bool IsMasterUnoCommand(const css::util::URL &aURL)
virtual void SAL_CALL dispatchWithNotification(const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs, const css::uno::Reference< css::frame::XDispatchResultListener > &rListener) override
virtual void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
void sendStatusChanged(const OUString &rURL, const css::frame::FeatureStateEvent &rEvent)
virtual void SAL_CALL dispatchWithNotification(const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs, const css::uno::Reference< css::frame::XDispatchResultListener > &rListener) override
SfxStatusDispatcher_Impl_ListenerContainer maListeners
virtual void SAL_CALL dispatch(const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
virtual void SAL_CALL removeStatusListener(const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
std::vector< OUString > getContainedTypes()
std::vector< key > getContainedTypes(std::unique_lock< std::mutex > &rGuard) const
comphelper::OMultiTypeInterfaceContainerHelperVar4< OUString, css::frame::XStatusListener > SfxStatusDispatcher_Impl_ListenerContainer