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:
Collaboration diagram for ScSheetLinksObj:

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)
virtual bool IsSdrView () const

Private Member Functions

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

Private Attributes


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 ( )

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 ( )

Definition at line 436 of file linkuno.cxx.

◆ getByIndex()

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

Definition at line 468 of file linkuno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getByName()

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

Definition at line 489 of file linkuno.cxx.

References aName, and GetObjectByName_Impl().

◆ getCount()

sal_Int32 SAL_CALL ScSheetLinksObj::getCount ( )

◆ getElementNames()

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

◆ getElementType()

uno::Type SAL_CALL ScSheetLinksObj::getElementType ( )

Definition at line 478 of file linkuno.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScSheetLinksObj::getImplementationName ( )

◆ GetObjectByIndex_Impl()

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

◆ GetObjectByName_Impl()

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

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 ( )

◆ hasByName()

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

◆ hasElements()

sal_Bool SAL_CALL ScSheetLinksObj::hasElements ( )

Definition at line 483 of file linkuno.cxx.

References getCount().

◆ Notify()

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

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)

Member Data Documentation

◆ pDocShell

ScDocShell* ScSheetLinksObj::pDocShell

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