LibreOffice Module sfx2 (master) 1
|
#include <helpinterceptor.hxx>
Public Member Functions | |
HelpInterceptor_Impl () | |
virtual | ~HelpInterceptor_Impl () override |
void | setInterception (const css::uno::Reference< css::frame::XFrame > &xFrame) |
const OUString & | GetCurrentURL () const |
bool | HasHistoryPred () const |
bool | HasHistorySucc () const |
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL | queryDispatch (const css::util::URL &aURL, const OUString &aTargetFrameName, sal_Int32 nSearchFlags) override |
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL | queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &aDescripts) override |
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL | getSlaveDispatchProvider () override |
virtual void SAL_CALL | setSlaveDispatchProvider (const css::uno::Reference< css::frame::XDispatchProvider > &xNewSlave) override |
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL | getMasterDispatchProvider () override |
virtual void SAL_CALL | setMasterDispatchProvider (const css::uno::Reference< css::frame::XDispatchProvider > &xNewMaster) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getInterceptedURLs () override |
virtual void SAL_CALL | dispatch (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override |
virtual void SAL_CALL | addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override |
virtual void SAL_CALL | removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override |
void | InitWaiter (SfxHelpWindow_Impl *pWindow) |
SfxHelpWindow_Impl * | GetHelpWindow () const |
Private Member Functions | |
void | addURL (const OUString &rURL) |
Private Attributes | |
css::uno::Reference< css::frame::XDispatchProviderInterception > | m_xIntercepted |
css::uno::Reference< css::frame::XDispatchProvider > | m_xSlaveDispatcher |
css::uno::Reference< css::frame::XDispatchProvider > | m_xMasterDispatcher |
css::uno::Reference< css::frame::XStatusListener > | m_xListener |
std::vector< OUString > | m_vHistoryUrls |
VclPtr< SfxHelpWindow_Impl > | m_pWindow |
size_t | m_nCurPos |
OUString | m_aCurrentURL |
Friends | |
class | HelpDispatch_Impl |
class | SfxHelpWindow_Impl |
Definition at line 35 of file helpinterceptor.hxx.
HelpInterceptor_Impl::HelpInterceptor_Impl | ( | ) |
Definition at line 33 of file helpinterceptor.cxx.
References m_nCurPos.
|
overridevirtual |
Definition at line 42 of file helpinterceptor.cxx.
|
overridevirtual |
Definition at line 201 of file helpinterceptor.cxx.
References DBG_ASSERT, and m_xListener.
Referenced by HelpListener_Impl::HelpListener_Impl().
|
private |
Definition at line 47 of file helpinterceptor.cxx.
References aEvent, aURL, m_aCurrentURL, m_nCurPos, m_pWindow, m_vHistoryUrls, m_xIntercepted, m_xListener, nCount, URL, xController, and xFrame.
Referenced by SfxHelpWindow_Impl::loadHelpContent().
|
overridevirtual |
Definition at line 177 of file helpinterceptor.cxx.
References aURL, m_nCurPos, m_pWindow, m_vHistoryUrls, and nPos.
Referenced by SfxHelpWindow_Impl::DoAction().
|
inline |
Definition at line 66 of file helpinterceptor.hxx.
References m_aCurrentURL.
Referenced by SfxHelpWindow_Impl::DoAction().
|
inline |
Definition at line 97 of file helpinterceptor.hxx.
References m_pWindow.
Referenced by HelpDispatch_Impl::dispatch().
|
overridevirtual |
Definition at line 167 of file helpinterceptor.cxx.
|
overridevirtual |
Definition at line 151 of file helpinterceptor.cxx.
References m_xMasterDispatcher.
|
overridevirtual |
Definition at line 137 of file helpinterceptor.cxx.
References m_xSlaveDispatcher.
bool HelpInterceptor_Impl::HasHistoryPred | ( | ) | const |
Definition at line 88 of file helpinterceptor.cxx.
References m_nCurPos.
Referenced by SfxHelpWindow_Impl::HasHistoryPredecessor(), and SfxHelpWindow_Impl::UpdateToolbox().
bool HelpInterceptor_Impl::HasHistorySucc | ( | ) | const |
Definition at line 93 of file helpinterceptor.cxx.
References m_nCurPos, and m_vHistoryUrls.
Referenced by SfxHelpWindow_Impl::HasHistorySuccessor(), and SfxHelpWindow_Impl::UpdateToolbox().
|
inline |
Definition at line 95 of file helpinterceptor.hxx.
References m_pWindow.
Referenced by SfxHelpWindow_Impl::SfxHelpWindow_Impl().
|
overridevirtual |
Definition at line 101 of file helpinterceptor.cxx.
References aURL, DBG_ASSERT, HelpDispatch_Impl, and m_xSlaveDispatcher.
|
overridevirtual |
Definition at line 122 of file helpinterceptor.cxx.
|
overridevirtual |
Definition at line 209 of file helpinterceptor.cxx.
References m_xListener.
Referenced by HelpListener_Impl::disposing().
void HelpInterceptor_Impl::setInterception | ( | const css::uno::Reference< css::frame::XFrame > & | xFrame | ) |
Definition at line 79 of file helpinterceptor.cxx.
References m_xIntercepted, and xFrame.
Referenced by SfxHelpWindow_Impl::SfxHelpWindow_Impl().
|
overridevirtual |
Definition at line 158 of file helpinterceptor.cxx.
References m_xMasterDispatcher.
|
overridevirtual |
Definition at line 144 of file helpinterceptor.cxx.
References m_xSlaveDispatcher.
|
friend |
Definition at line 42 of file helpinterceptor.hxx.
Referenced by queryDispatch().
|
friend |
Definition at line 43 of file helpinterceptor.hxx.
|
private |
Definition at line 57 of file helpinterceptor.hxx.
Referenced by addURL(), and GetCurrentURL().
|
private |
Definition at line 56 of file helpinterceptor.hxx.
Referenced by addURL(), dispatch(), HasHistoryPred(), and HasHistorySucc().
|
private |
Definition at line 55 of file helpinterceptor.hxx.
Referenced by addURL(), dispatch(), GetHelpWindow(), and InitWaiter().
|
private |
Definition at line 54 of file helpinterceptor.hxx.
Referenced by addURL(), dispatch(), and HasHistorySucc().
|
private |
Definition at line 46 of file helpinterceptor.hxx.
Referenced by addURL(), and setInterception().
|
private |
Definition at line 52 of file helpinterceptor.hxx.
Referenced by addStatusListener(), addURL(), and removeStatusListener().
|
private |
Definition at line 50 of file helpinterceptor.hxx.
Referenced by getMasterDispatchProvider(), and setMasterDispatchProvider().
|
private |
Definition at line 49 of file helpinterceptor.hxx.
Referenced by getSlaveDispatchProvider(), queryDispatch(), and setSlaveDispatchProvider().