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

#include <dispuno.hxx>

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

Public Member Functions

 ScDispatch (ScTabViewShell *pViewSh)
 
virtual ~ScDispatch () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void SAL_CALL dispatch (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 XDispatch. More...
 
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
 
virtual void SAL_CALL selectionChanged (const css::lang::EventObject &aEvent) override
 XSelectionChangeListener. More...
 
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
 
std::vector< css::uno::Reference< css::frame::XStatusListener > > aDataSourceListeners
 
ScImportParam aLastImport
 
bool bListeningToView
 

Detailed Description

Definition at line 77 of file dispuno.hxx.

Constructor & Destructor Documentation

◆ ScDispatch()

ScDispatch::ScDispatch ( ScTabViewShell pViewSh)

Definition at line 174 of file dispuno.cxx.

References pViewShell, and SfxListener::StartListening().

◆ ~ScDispatch()

ScDispatch::~ScDispatch ( )
overridevirtual

Member Function Documentation

◆ addStatusListener()

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

◆ dispatch()

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

◆ disposing()

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

XEventListener.

Definition at line 352 of file dispuno.cxx.

References aDataSourceListeners, aEvent, bListeningToView, and pViewShell.

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 195 of file dispuno.cxx.

References SfxHint::GetId(), and pViewShell.

◆ removeStatusListener()

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

◆ selectionChanged()

void SAL_CALL ScDispatch::selectionChanged ( const css::lang::EventObject &  aEvent)
overridevirtual

Member Data Documentation

◆ aDataSourceListeners

std::vector< css::uno::Reference< css::frame::XStatusListener > > ScDispatch::aDataSourceListeners
private

Definition at line 84 of file dispuno.hxx.

Referenced by addStatusListener(), disposing(), removeStatusListener(), and selectionChanged().

◆ aLastImport

ScImportParam ScDispatch::aLastImport
private

Definition at line 85 of file dispuno.hxx.

Referenced by addStatusListener(), and selectionChanged().

◆ bListeningToView

bool ScDispatch::bListeningToView
private

Definition at line 86 of file dispuno.hxx.

Referenced by addStatusListener(), disposing(), removeStatusListener(), and ~ScDispatch().

◆ pViewShell

ScTabViewShell* ScDispatch::pViewShell
private

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