LibreOffice Module sc (master) 1
|
#include <eventuno.hxx>
Public Member Functions | |
ScSheetEventsObj (ScDocShell *pDocSh, SCTAB nT) | |
virtual | ~ScSheetEventsObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void SAL_CALL | replaceByName (const OUString &aName, const css::uno::Any &aElement) override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
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 | |
ScDocShell * | mpDocShell |
SCTAB | mnTab |
Definition at line 31 of file eventuno.hxx.
ScSheetEventsObj::ScSheetEventsObj | ( | ScDocShell * | pDocSh, |
SCTAB | nT | ||
) |
Definition at line 32 of file eventuno.cxx.
|
overridevirtual |
Definition at line 39 of file eventuno.cxx.
References ScDocShell::GetDocument(), mpDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
Definition at line 116 of file eventuno.cxx.
References aName, ScDocShell::GetDocument(), ScSheetEvents::GetScript(), ScDocument::GetSheetEvents(), comphelper::InitPropertySequence(), lcl_GetEventFromName(), mnTab, mpDocShell, and NOTFOUND.
|
overridevirtual |
Definition at line 144 of file eventuno.cxx.
References COUNT, and ScSheetEvents::GetEventName().
|
overridevirtual |
Definition at line 161 of file eventuno.cxx.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 153 of file eventuno.cxx.
References aName, lcl_GetEventFromName(), and NOTFOUND.
|
overridevirtual |
Definition at line 166 of file eventuno.cxx.
References mpDocShell.
|
overridevirtual |
reference update
Reimplemented from SfxListener.
Definition at line 47 of file eventuno.cxx.
References SfxHint::GetId(), and mpDocShell.
|
overridevirtual |
Definition at line 67 of file eventuno.cxx.
References aName, ScDocShell::GetDocument(), ScDocument::GetSheetEvents(), uno::Any::hasValue(), lcl_GetEventFromName(), mnTab, mpDocShell, NOTFOUND, SC_UNO_EVENTTYPE, SC_UNO_SCRIPT, ScDocShell::SetDocumentModified(), and ScDocument::SetSheetEvents().
|
overridevirtual |
|
private |
Definition at line 38 of file eventuno.hxx.
Referenced by getByName(), and replaceByName().
|
private |
Definition at line 37 of file eventuno.hxx.
Referenced by getByName(), hasElements(), Notify(), replaceByName(), and ~ScSheetEventsObj().