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

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

Definition at line 360 of file linkuno.cxx.

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

ScSheetLinksObj::~ScSheetLinksObj ( )

Definition at line 366 of file linkuno.cxx.

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

Member Function Documentation

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

Definition at line 436 of file linkuno.cxx.

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

Definition at line 468 of file linkuno.cxx.

References GetObjectByIndex_Impl().

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

Definition at line 490 of file linkuno.cxx.

References GetObjectByName_Impl().

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

Definition at line 478 of file linkuno.cxx.

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

virtual OUString SAL_CALL ScSheetLinksObj::getImplementationName ( )
rtl::Reference< ScSheetLinkObj > ScSheetLinksObj::GetObjectByIndex_Impl ( sal_Int32  nIndex)
rtl::Reference< ScSheetLinkObj > ScSheetLinksObj::GetObjectByName_Impl ( const OUString &  aName)

case-insensitive ???

Definition at line 414 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 ( )
sal_Bool SAL_CALL ScSheetLinksObj::hasByName ( const OUString &  aName)
sal_Bool SAL_CALL ScSheetLinksObj::hasElements ( )

Definition at line 484 of file linkuno.cxx.

References getCount().

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

Reimplemented from SfxListener.

Definition at line 374 of file linkuno.cxx.

References SfxHint::GetId(), and pDocShell.

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

Member Data Documentation

ScDocShell* ScSheetLinksObj::pDocShell

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