LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScDispatchProviderInterceptor Class Referencefinal

#include <dispuno.hxx>

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

Public Member Functions

 ScDispatchProviderInterceptor (ScTabViewShell *pViewSh)
 
virtual ~ScDispatchProviderInterceptor () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch (const css::util::URL &aURL, const OUString &aTargetFrameName, sal_Int32 nSearchFlags) override
 XDispatchProvider. More...
 
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
 XDispatchProviderInterceptor. More...
 
virtual void SAL_CALL setSlaveDispatchProvider (const css::uno::Reference< css::frame::XDispatchProvider > &xNewDispatchProvider) override
 
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getMasterDispatchProvider () override
 
virtual void SAL_CALL setMasterDispatchProvider (const css::uno::Reference< css::frame::XDispatchProvider > &xNewSupplier) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 XEventListener. More...
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Attributes

ScTabViewShellpViewShell
 
css::uno::Reference< css::frame::XDispatchProviderInterception > m_xIntercepted
 the component which's dispatches we're intercepting More...
 
css::uno::Reference< css::frame::XDispatchProvider > m_xSlaveDispatcher
 chaining More...
 
css::uno::Reference< css::frame::XDispatchProvider > m_xMasterDispatcher
 
css::uno::Reference< css::frame::XDispatch > m_xMyDispatch
 own dispatch More...
 

Detailed Description

Definition at line 31 of file dispuno.hxx.

Constructor & Destructor Documentation

◆ ScDispatchProviderInterceptor()

ScDispatchProviderInterceptor::ScDispatchProviderInterceptor ( ScTabViewShell pViewSh)

◆ ~ScDispatchProviderInterceptor()

ScDispatchProviderInterceptor::~ScDispatchProviderInterceptor ( )
overridevirtual

Definition at line 74 of file dispuno.cxx.

References SfxListener::EndListening(), and pViewShell.

Member Function Documentation

◆ disposing()

void SAL_CALL ScDispatchProviderInterceptor::disposing ( const css::lang::EventObject &  Source)
overridevirtual

XEventListener.

Definition at line 157 of file dispuno.cxx.

References m_xIntercepted, and m_xMyDispatch.

◆ getMasterDispatchProvider()

uno::Reference< frame::XDispatchProvider > SAL_CALL ScDispatchProviderInterceptor::getMasterDispatchProvider ( )
overridevirtual

Definition at line 142 of file dispuno.cxx.

References m_xMasterDispatcher.

◆ getSlaveDispatchProvider()

uno::Reference< frame::XDispatchProvider > SAL_CALL ScDispatchProviderInterceptor::getSlaveDispatchProvider ( )
overridevirtual

XDispatchProviderInterceptor.

Definition at line 128 of file dispuno.cxx.

References m_xSlaveDispatcher.

◆ Notify()

void ScDispatchProviderInterceptor::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 80 of file dispuno.cxx.

References SfxHint::GetId(), and pViewShell.

◆ queryDispatch()

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

◆ queryDispatches()

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

Definition at line 113 of file dispuno.cxx.

◆ setMasterDispatchProvider()

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

Definition at line 148 of file dispuno.cxx.

References m_xMasterDispatcher.

◆ setSlaveDispatchProvider()

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

Definition at line 134 of file dispuno.cxx.

References m_xSlaveDispatcher.

Member Data Documentation

◆ m_xIntercepted

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

the component which's dispatches we're intercepting

Definition at line 39 of file dispuno.hxx.

Referenced by disposing(), and ScDispatchProviderInterceptor().

◆ m_xMasterDispatcher

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

Definition at line 43 of file dispuno.hxx.

Referenced by getMasterDispatchProvider(), and setMasterDispatchProvider().

◆ m_xMyDispatch

css::uno::Reference< css::frame::XDispatch> ScDispatchProviderInterceptor::m_xMyDispatch
private

own dispatch

Definition at line 46 of file dispuno.hxx.

Referenced by disposing(), and queryDispatch().

◆ m_xSlaveDispatcher

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

chaining

Definition at line 42 of file dispuno.hxx.

Referenced by getSlaveDispatchProvider(), queryDispatch(), and setSlaveDispatchProvider().

◆ pViewShell

ScTabViewShell* ScDispatchProviderInterceptor::pViewShell
private

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