34 css::uno::Reference< css::frame::XDispatch > _xDisp ) :
36 m_rInterceptor ( _rInterceptor ),
37 m_xRealDispatch (
std::move( _xDisp ))
52 const URL& aURL,
const Sequence< PropertyValue >& aArgs )
58 bool bHasKeyword =
false;
60 for (
const PropertyValue& rArg : aArgs )
62 if ( rArg.Name ==
"HelpKeyword" )
64 OUString sHelpKeyword;
65 if ( ( rArg.Value >>= sHelpKeyword ) && !sHelpKeyword.isEmpty() )
67 sKeyword = sHelpKeyword;
68 bHasKeyword = !sKeyword.isEmpty();
89 const Reference< XStatusListener >& xControl,
const URL& aURL )
99 const Reference< XStatusListener >& xControl,
const URL& aURL )
virtual void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
HelpDispatch_Impl(HelpInterceptor_Impl &_rInterceptor, css::uno::Reference< css::frame::XDispatch > _xDisp)
css::uno::Reference< css::frame::XDispatch > m_xRealDispatch
HelpInterceptor_Impl & m_rInterceptor
virtual ~HelpDispatch_Impl() override
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
SfxHelpWindow_Impl * GetHelpWindow() const
void OpenKeyword(const OUString &rKeyword)
void loadHelpContent(const OUString &sHelpURL, bool bAddToHistory=true)
#define DBG_ASSERT(sCon, aError)