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

#include <linkuno.hxx>

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

Public Member Functions

 ScSheetLinksObj (ScDocShell *pDocSh)
 
virtual ~ScSheetLinksObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) 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 sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () 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 Member Functions

ScSheetLinkObjGetObjectByIndex_Impl (sal_Int32 nIndex)
 
ScSheetLinkObjGetObjectByName_Impl (const OUString &aName)
 

Private Attributes

ScDocShellpDocShell
 

Detailed Description

Definition at line 115 of file linkuno.hxx.

Constructor & Destructor Documentation

ScSheetLinksObj::ScSheetLinksObj ( ScDocShell pDocSh)

Definition at line 361 of file linkuno.cxx.

References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.

ScSheetLinksObj::~ScSheetLinksObj ( )
overridevirtual

Definition at line 367 of file linkuno.cxx.

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

Member Function Documentation

uno::Reference< container::XEnumeration > SAL_CALL ScSheetLinksObj::createEnumeration ( )
overridevirtual

Definition at line 437 of file linkuno.cxx.

uno::Any SAL_CALL ScSheetLinksObj::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 469 of file linkuno.cxx.

References GetObjectByIndex_Impl().

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

Definition at line 491 of file linkuno.cxx.

References GetObjectByName_Impl().

sal_Int32 SAL_CALL ScSheetLinksObj::getCount ( )
overridevirtual
uno::Sequence< OUString > SAL_CALL ScSheetLinksObj::getElementNames ( )
overridevirtual
uno::Type SAL_CALL ScSheetLinksObj::getElementType ( )
overridevirtual

Definition at line 479 of file linkuno.cxx.

References cppu::UnoType< class >::get().

virtual OUString SAL_CALL ScSheetLinksObj::getImplementationName ( )
overridevirtual
ScSheetLinkObj * ScSheetLinksObj::GetObjectByIndex_Impl ( sal_Int32  nIndex)
private
ScSheetLinkObj * ScSheetLinksObj::GetObjectByName_Impl ( const OUString &  aName)
private

case-insensitive ???

Definition at line 415 of file linkuno.cxx.

References ScDocShell::GetDocument(), ScDocument::GetLinkDoc(), ScDocument::GetTableCount(), ScDocument::IsLinked(), and pDocShell.

Referenced by getByName().

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

Definition at line 485 of file linkuno.cxx.

References getCount().

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

Reimplemented from SfxListener.

Definition at line 375 of file linkuno.cxx.

References SfxHint::GetId(), and pDocShell.

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

Member Data Documentation

ScDocShell* ScSheetLinksObj::pDocShell
private

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