LibreOffice Module sc (master) 1
|
#include <dispuno.hxx>
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 |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Attributes | |
ScTabViewShell * | pViewShell |
std::vector< css::uno::Reference< css::frame::XStatusListener > > | aDataSourceListeners |
ScImportParam | aLastImport |
bool | bListeningToView |
Definition at line 77 of file dispuno.hxx.
ScDispatch::ScDispatch | ( | ScTabViewShell * | pViewSh | ) |
Definition at line 174 of file dispuno.cxx.
References pViewShell, and SfxListener::StartListening().
|
overridevirtual |
Definition at line 182 of file dispuno.cxx.
References bListeningToView, SfxListener::EndListening(), lcl_GetSelectionSupplier(), and pViewShell.
|
overridevirtual |
else add to listener for "enabled" changes?
Definition at line 250 of file dispuno.cxx.
References aDataSourceListeners, aEvent, aLastImport, aURL, bListeningToView, cURLDocDataSource, ScDBFunc::GetDBData(), ScDBData::GetImportParam(), lcl_FillDataSource(), lcl_GetSelectionSupplier(), pViewShell, and SC_DB_OLD.
|
overridevirtual |
XDispatch.
Definition at line 203 of file dispuno.cxx.
References aURL, cURLInsertColumns, ScDBDocFunc::DoImportUno(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocShell(), ScViewData::GetTabNo(), ScTabView::GetViewData(), and pViewShell.
|
overridevirtual |
XEventListener.
Definition at line 352 of file dispuno.cxx.
References aDataSourceListeners, aEvent, bListeningToView, and pViewShell.
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 195 of file dispuno.cxx.
References SfxHint::GetId(), and pViewShell.
|
overridevirtual |
Definition at line 287 of file dispuno.cxx.
References aDataSourceListeners, aURL, bListeningToView, cURLDocDataSource, lcl_GetSelectionSupplier(), n, nCount, and pViewShell.
|
overridevirtual |
XSelectionChangeListener.
Definition at line 318 of file dispuno.cxx.
References aDataSourceListeners, ScImportParam::aDBName, aEvent, aLastImport, ScImportParam::aStatement, ScImportParam::bImport, ScImportParam::bSql, cURLDocDataSource, ScDBFunc::GetDBData(), ScDBData::GetImportParam(), lcl_FillDataSource(), ScImportParam::nType, pViewShell, and SC_DB_OLD.
|
private |
Definition at line 84 of file dispuno.hxx.
Referenced by addStatusListener(), disposing(), removeStatusListener(), and selectionChanged().
|
private |
Definition at line 85 of file dispuno.hxx.
Referenced by addStatusListener(), and selectionChanged().
|
private |
Definition at line 86 of file dispuno.hxx.
Referenced by addStatusListener(), disposing(), removeStatusListener(), and ~ScDispatch().
|
private |
Definition at line 82 of file dispuno.hxx.
Referenced by addStatusListener(), dispatch(), disposing(), Notify(), removeStatusListener(), ScDispatch(), selectionChanged(), and ~ScDispatch().