LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
HelpInterceptor_Impl Class Reference

#include <helpinterceptor.hxx>

Inheritance diagram for HelpInterceptor_Impl:
[legend]
Collaboration diagram for HelpInterceptor_Impl:
[legend]

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_ImplGetHelpWindow () 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_Implm_pWindow
 
size_t m_nCurPos
 
OUString m_aCurrentURL
 

Friends

class HelpDispatch_Impl
 
class SfxHelpWindow_Impl
 

Detailed Description

Definition at line 35 of file helpinterceptor.hxx.

Constructor & Destructor Documentation

◆ HelpInterceptor_Impl()

HelpInterceptor_Impl::HelpInterceptor_Impl ( )

Definition at line 33 of file helpinterceptor.cxx.

References m_nCurPos.

◆ ~HelpInterceptor_Impl()

HelpInterceptor_Impl::~HelpInterceptor_Impl ( )
overridevirtual

Definition at line 42 of file helpinterceptor.cxx.

Member Function Documentation

◆ addStatusListener()

void SAL_CALL HelpInterceptor_Impl::addStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  xControl,
const css::util::URL &  aURL 
)
overridevirtual

Definition at line 201 of file helpinterceptor.cxx.

References DBG_ASSERT, and m_xListener.

Referenced by HelpListener_Impl::HelpListener_Impl().

◆ addURL()

void HelpInterceptor_Impl::addURL ( const OUString &  rURL)
private

◆ dispatch()

void SAL_CALL HelpInterceptor_Impl::dispatch ( const css::util::URL &  aURL,
const css::uno::Sequence< css::beans::PropertyValue > &  aArgs 
)
overridevirtual

Definition at line 177 of file helpinterceptor.cxx.

References aURL, m_nCurPos, m_pWindow, m_vHistoryUrls, and nPos.

Referenced by SfxHelpWindow_Impl::DoAction().

◆ GetCurrentURL()

const OUString & HelpInterceptor_Impl::GetCurrentURL ( ) const
inline

Definition at line 66 of file helpinterceptor.hxx.

References m_aCurrentURL.

Referenced by SfxHelpWindow_Impl::DoAction().

◆ GetHelpWindow()

SfxHelpWindow_Impl * HelpInterceptor_Impl::GetHelpWindow ( ) const
inline

Definition at line 97 of file helpinterceptor.hxx.

References m_pWindow.

Referenced by HelpDispatch_Impl::dispatch().

◆ getInterceptedURLs()

Sequence< OUString > SAL_CALL HelpInterceptor_Impl::getInterceptedURLs ( )
overridevirtual

Definition at line 167 of file helpinterceptor.cxx.

◆ getMasterDispatchProvider()

Reference< XDispatchProvider > SAL_CALL HelpInterceptor_Impl::getMasterDispatchProvider ( )
overridevirtual

Definition at line 151 of file helpinterceptor.cxx.

References m_xMasterDispatcher.

◆ getSlaveDispatchProvider()

Reference< XDispatchProvider > SAL_CALL HelpInterceptor_Impl::getSlaveDispatchProvider ( )
overridevirtual

Definition at line 137 of file helpinterceptor.cxx.

References m_xSlaveDispatcher.

◆ HasHistoryPred()

bool HelpInterceptor_Impl::HasHistoryPred ( ) const

◆ HasHistorySucc()

bool HelpInterceptor_Impl::HasHistorySucc ( ) const

◆ InitWaiter()

void HelpInterceptor_Impl::InitWaiter ( SfxHelpWindow_Impl pWindow)
inline

Definition at line 95 of file helpinterceptor.hxx.

References m_pWindow.

Referenced by SfxHelpWindow_Impl::SfxHelpWindow_Impl().

◆ queryDispatch()

Reference< XDispatch > SAL_CALL HelpInterceptor_Impl::queryDispatch ( const css::util::URL &  aURL,
const OUString &  aTargetFrameName,
sal_Int32  nSearchFlags 
)
overridevirtual

Definition at line 101 of file helpinterceptor.cxx.

References aURL, DBG_ASSERT, HelpDispatch_Impl, and m_xSlaveDispatcher.

◆ queryDispatches()

Sequence< Reference< XDispatch > > SAL_CALL HelpInterceptor_Impl::queryDispatches ( const css::uno::Sequence< css::frame::DispatchDescriptor > &  aDescripts)
overridevirtual

Definition at line 122 of file helpinterceptor.cxx.

◆ removeStatusListener()

void SAL_CALL HelpInterceptor_Impl::removeStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  xControl,
const css::util::URL &  aURL 
)
overridevirtual

Definition at line 209 of file helpinterceptor.cxx.

References m_xListener.

Referenced by HelpListener_Impl::disposing().

◆ setInterception()

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().

◆ setMasterDispatchProvider()

void SAL_CALL HelpInterceptor_Impl::setMasterDispatchProvider ( const css::uno::Reference< css::frame::XDispatchProvider > &  xNewMaster)
overridevirtual

Definition at line 158 of file helpinterceptor.cxx.

References m_xMasterDispatcher.

◆ setSlaveDispatchProvider()

void SAL_CALL HelpInterceptor_Impl::setSlaveDispatchProvider ( const css::uno::Reference< css::frame::XDispatchProvider > &  xNewSlave)
overridevirtual

Definition at line 144 of file helpinterceptor.cxx.

References m_xSlaveDispatcher.

Friends And Related Function Documentation

◆ HelpDispatch_Impl

friend class HelpDispatch_Impl
friend

Definition at line 42 of file helpinterceptor.hxx.

Referenced by queryDispatch().

◆ SfxHelpWindow_Impl

friend class SfxHelpWindow_Impl
friend

Definition at line 43 of file helpinterceptor.hxx.

Member Data Documentation

◆ m_aCurrentURL

OUString HelpInterceptor_Impl::m_aCurrentURL
private

Definition at line 57 of file helpinterceptor.hxx.

Referenced by addURL(), and GetCurrentURL().

◆ m_nCurPos

size_t HelpInterceptor_Impl::m_nCurPos
private

Definition at line 56 of file helpinterceptor.hxx.

Referenced by addURL(), dispatch(), HasHistoryPred(), and HasHistorySucc().

◆ m_pWindow

VclPtr<SfxHelpWindow_Impl> HelpInterceptor_Impl::m_pWindow
private

Definition at line 55 of file helpinterceptor.hxx.

Referenced by addURL(), dispatch(), GetHelpWindow(), and InitWaiter().

◆ m_vHistoryUrls

std::vector<OUString> HelpInterceptor_Impl::m_vHistoryUrls
private

Definition at line 54 of file helpinterceptor.hxx.

Referenced by addURL(), dispatch(), and HasHistorySucc().

◆ m_xIntercepted

css::uno::Reference< css::frame::XDispatchProviderInterception > HelpInterceptor_Impl::m_xIntercepted
private

Definition at line 46 of file helpinterceptor.hxx.

Referenced by addURL(), and setInterception().

◆ m_xListener

css::uno::Reference< css::frame::XStatusListener > HelpInterceptor_Impl::m_xListener
private

Definition at line 52 of file helpinterceptor.hxx.

Referenced by addStatusListener(), addURL(), and removeStatusListener().

◆ m_xMasterDispatcher

css::uno::Reference< css::frame::XDispatchProvider > HelpInterceptor_Impl::m_xMasterDispatcher
private

Definition at line 50 of file helpinterceptor.hxx.

Referenced by getMasterDispatchProvider(), and setMasterDispatchProvider().

◆ m_xSlaveDispatcher

css::uno::Reference< css::frame::XDispatchProvider > HelpInterceptor_Impl::m_xSlaveDispatcher
private

The documentation for this class was generated from the following files: