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

#include <eventuno.hxx>

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

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
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Attributes

ScDocShellmpDocShell
 
SCTAB mnTab
 

Detailed Description

Definition at line 31 of file eventuno.hxx.

Constructor & Destructor Documentation

◆ ScSheetEventsObj()

ScSheetEventsObj::ScSheetEventsObj ( ScDocShell pDocSh,
SCTAB  nT 
)

Definition at line 32 of file eventuno.cxx.

◆ ~ScSheetEventsObj()

ScSheetEventsObj::~ScSheetEventsObj ( )
overridevirtual

Definition at line 39 of file eventuno.cxx.

References ScDocShell::GetDocument(), mpDocShell, and ScDocument::RemoveUnoObject().

Member Function Documentation

◆ getByName()

uno::Any SAL_CALL ScSheetEventsObj::getByName ( const OUString &  aName)
overridevirtual

◆ getElementNames()

uno::Sequence< OUString > SAL_CALL ScSheetEventsObj::getElementNames ( )
overridevirtual

Definition at line 144 of file eventuno.cxx.

References COUNT, and ScSheetEvents::GetEventName().

◆ getElementType()

uno::Type SAL_CALL ScSheetEventsObj::getElementType ( )
overridevirtual

Definition at line 161 of file eventuno.cxx.

◆ getImplementationName()

virtual OUString SAL_CALL ScSheetEventsObj::getImplementationName ( )
overridevirtual

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL ScSheetEventsObj::getSupportedServiceNames ( )
overridevirtual

◆ hasByName()

sal_Bool SAL_CALL ScSheetEventsObj::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 153 of file eventuno.cxx.

References aName, lcl_GetEventFromName(), and NOTFOUND.

◆ hasElements()

sal_Bool SAL_CALL ScSheetEventsObj::hasElements ( )
overridevirtual

Definition at line 166 of file eventuno.cxx.

References mpDocShell.

◆ Notify()

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

reference update

Reimplemented from SfxListener.

Definition at line 47 of file eventuno.cxx.

References SfxHint::GetId(), and mpDocShell.

◆ replaceByName()

void SAL_CALL ScSheetEventsObj::replaceByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual

◆ supportsService()

virtual sal_Bool SAL_CALL ScSheetEventsObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

◆ mnTab

SCTAB ScSheetEventsObj::mnTab
private

Definition at line 38 of file eventuno.hxx.

Referenced by getByName(), and replaceByName().

◆ mpDocShell

ScDocShell* ScSheetEventsObj::mpDocShell
private

Definition at line 37 of file eventuno.hxx.

Referenced by getByName(), hasElements(), Notify(), replaceByName(), and ~ScSheetEventsObj().


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