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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

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 32 of file dispuno.hxx.

Constructor & Destructor Documentation

ScDispatchProviderInterceptor::ScDispatchProviderInterceptor ( ScTabViewShell pViewSh)
ScDispatchProviderInterceptor::~ScDispatchProviderInterceptor ( )
overridevirtual

Definition at line 77 of file dispuno.cxx.

References SfxListener::EndListening(), and pViewShell.

Member Function Documentation

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

XEventListener.

Definition at line 160 of file dispuno.cxx.

References m_xIntercepted, and m_xMyDispatch.

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

Definition at line 145 of file dispuno.cxx.

References m_xMasterDispatcher.

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

XDispatchProviderInterceptor.

Definition at line 131 of file dispuno.cxx.

References m_xSlaveDispatcher.

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

Reimplemented from SfxListener.

Definition at line 83 of file dispuno.cxx.

References SfxHint::GetId(), and pViewShell.

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

Definition at line 116 of file dispuno.cxx.

References queryDispatch().

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

Definition at line 151 of file dispuno.cxx.

References m_xMasterDispatcher.

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

Definition at line 137 of file dispuno.cxx.

References m_xSlaveDispatcher.

Member Data Documentation

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

the component which's dispatches we're intercepting

Definition at line 40 of file dispuno.hxx.

Referenced by disposing(), and ScDispatchProviderInterceptor().

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

Definition at line 44 of file dispuno.hxx.

Referenced by getMasterDispatchProvider(), and setMasterDispatchProvider().

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

own dispatch

Definition at line 47 of file dispuno.hxx.

Referenced by disposing(), and queryDispatch().

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

chaining

Definition at line 43 of file dispuno.hxx.

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

ScTabViewShell* ScDispatchProviderInterceptor::pViewShell
private

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