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

Private Member Functions

rtl::Reference< ScSheetLinkObjGetObjectByIndex_Impl (sal_Int32 nIndex)
 
rtl::Reference< ScSheetLinkObjGetObjectByName_Impl (const OUString &aName)
 

Private Attributes

ScDocShellpDocShell
 

Detailed Description

Definition at line 114 of file linkuno.hxx.

Constructor & Destructor Documentation

◆ ScSheetLinksObj()

ScSheetLinksObj::ScSheetLinksObj ( ScDocShell pDocSh)

Definition at line 360 of file linkuno.cxx.

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

◆ ~ScSheetLinksObj()

ScSheetLinksObj::~ScSheetLinksObj ( )
overridevirtual

Definition at line 366 of file linkuno.cxx.

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

Member Function Documentation

◆ createEnumeration()

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

Definition at line 436 of file linkuno.cxx.

◆ getByIndex()

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

Definition at line 468 of file linkuno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getByName()

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

Definition at line 489 of file linkuno.cxx.

References aName, and GetObjectByName_Impl().

◆ getCount()

sal_Int32 SAL_CALL ScSheetLinksObj::getCount ( )
overridevirtual

◆ getElementNames()

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

◆ getElementType()

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

Definition at line 478 of file linkuno.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

virtual OUString SAL_CALL ScSheetLinksObj::getImplementationName ( )
overridevirtual

◆ GetObjectByIndex_Impl()

rtl::Reference< ScSheetLinkObj > ScSheetLinksObj::GetObjectByIndex_Impl ( sal_Int32  nIndex)
private

◆ GetObjectByName_Impl()

rtl::Reference< ScSheetLinkObj > ScSheetLinksObj::GetObjectByName_Impl ( const OUString &  aName)
private

case-insensitive ???

Definition at line 414 of file linkuno.cxx.

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

Referenced by getByName().

◆ getSupportedServiceNames()

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

◆ hasByName()

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

◆ hasElements()

sal_Bool SAL_CALL ScSheetLinksObj::hasElements ( )
overridevirtual

Definition at line 483 of file linkuno.cxx.

References getCount().

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 374 of file linkuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ supportsService()

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

Member Data Documentation

◆ pDocShell

ScDocShell* ScSheetLinksObj::pDocShell
private

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