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

Private Attributes

ScDocShellmpDocShell
 
SCTAB mnTab
 

Detailed Description

Definition at line 32 of file eventuno.hxx.

Constructor & Destructor Documentation

ScSheetEventsObj::ScSheetEventsObj ( ScDocShell pDocSh,
SCTAB  nT 
)

Definition at line 32 of file eventuno.cxx.

ScSheetEventsObj::~ScSheetEventsObj ( )
overridevirtual

Definition at line 39 of file eventuno.cxx.

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

Member Function Documentation

uno::Any SAL_CALL ScSheetEventsObj::getByName ( const OUString &  aName)
overridevirtual
uno::Sequence< OUString > SAL_CALL ScSheetEventsObj::getElementNames ( )
overridevirtual

Definition at line 144 of file eventuno.cxx.

References COUNT, and ScSheetEvents::GetEventName().

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

Definition at line 162 of file eventuno.cxx.

virtual OUString SAL_CALL ScSheetEventsObj::getImplementationName ( )
overridevirtual
virtual css::uno::Sequence< OUString > SAL_CALL ScSheetEventsObj::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScSheetEventsObj::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 153 of file eventuno.cxx.

References lcl_GetEventFromName(), and NOTFOUND.

sal_Bool SAL_CALL ScSheetEventsObj::hasElements ( )
overridevirtual

Definition at line 168 of file eventuno.cxx.

References mpDocShell.

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.

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

Member Data Documentation

SCTAB ScSheetEventsObj::mnTab
private

Definition at line 39 of file eventuno.hxx.

Referenced by getByName(), and replaceByName().

ScDocShell* ScSheetEventsObj::mpDocShell
private

Definition at line 38 of file eventuno.hxx.

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


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