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

Private Attributes

ScTabViewShellpViewShell
 
std::vector< css::uno::Reference< css::frame::XStatusListener > > aDataSourceListeners
 
ScImportParam aLastImport
 
bool bListeningToView
 

Detailed Description

Definition at line 78 of file dispuno.hxx.

Constructor & Destructor Documentation

ScDispatch::ScDispatch ( ScTabViewShell pViewSh)

Definition at line 177 of file dispuno.cxx.

References pViewShell, and SfxListener::StartListening().

ScDispatch::~ScDispatch ( )
overridevirtual

Member Function Documentation

void SAL_CALL ScDispatch::addStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  xControl,
const css::util::URL &  aURL 
)
overridevirtual
void SAL_CALL ScDispatch::dispatch ( const css::util::URL &  aURL,
const css::uno::Sequence< css::beans::PropertyValue > &  aArgs 
)
overridevirtual
void SAL_CALL ScDispatch::disposing ( const css::lang::EventObject &  Source)
overridevirtual

XEventListener.

Definition at line 355 of file dispuno.cxx.

References aDataSourceListeners, aEvent, bListeningToView, and pViewShell.

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

Reimplemented from SfxListener.

Definition at line 198 of file dispuno.cxx.

References SfxHint::GetId(), and pViewShell.

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

Member Data Documentation

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

Definition at line 85 of file dispuno.hxx.

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

ScImportParam ScDispatch::aLastImport
private

Definition at line 86 of file dispuno.hxx.

Referenced by addStatusListener(), and selectionChanged().

bool ScDispatch::bListeningToView
private

Definition at line 87 of file dispuno.hxx.

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

ScTabViewShell* ScDispatch::pViewShell
private

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