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

This is the UNO API equivalent of ScExternalRefManager. More...

#include <linkuno.hxx>

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

Public Member Functions

 ScExternalDocLinksObj (ScDocShell *pDocShell)
 
virtual ~ScExternalDocLinksObj () override
 
virtual css::uno::Reference< css::sheet::XExternalDocLink > SAL_CALL addDocLink (const OUString &aDocName) 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 nIndex) 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
 

Private Member Functions

 ScExternalDocLinksObj (const ScExternalDocLinksObj &)=delete
 

Private Attributes

ScDocShellmpDocShell
 
ScExternalRefManagermpRefMgr
 

Detailed Description

This is the UNO API equivalent of ScExternalRefManager.

Definition at line 430 of file linkuno.hxx.

Constructor & Destructor Documentation

◆ ScExternalDocLinksObj() [1/2]

ScExternalDocLinksObj::ScExternalDocLinksObj ( ScDocShell pDocShell)

Definition at line 1597 of file linkuno.cxx.

◆ ~ScExternalDocLinksObj()

ScExternalDocLinksObj::~ScExternalDocLinksObj ( )
overridevirtual

Definition at line 1603 of file linkuno.cxx.

◆ ScExternalDocLinksObj() [2/2]

ScExternalDocLinksObj::ScExternalDocLinksObj ( const ScExternalDocLinksObj )
privatedelete

Member Function Documentation

◆ addDocLink()

uno::Reference< sheet::XExternalDocLink > SAL_CALL ScExternalDocLinksObj::addDocLink ( const OUString &  aDocName)
overridevirtual

◆ createEnumeration()

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

Definition at line 1672 of file linkuno.cxx.

◆ getByIndex()

Any SAL_CALL ScExternalDocLinksObj::getByIndex ( sal_Int32  nIndex)
overridevirtual

Definition at line 1657 of file linkuno.cxx.

References Any, ScExternalRefManager::hasExternalFile(), mpDocShell, mpRefMgr, and nIndex.

◆ getByName()

Any SAL_CALL ScExternalDocLinksObj::getByName ( const OUString &  aName)
overridevirtual

◆ getCount()

sal_Int32 SAL_CALL ScExternalDocLinksObj::getCount ( )
overridevirtual

Definition at line 1651 of file linkuno.cxx.

References ScExternalRefManager::getExternalFileCount(), and mpRefMgr.

◆ getElementNames()

Sequence< OUString > SAL_CALL ScExternalDocLinksObj::getElementNames ( )
overridevirtual

◆ getElementType()

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

Definition at line 1680 of file linkuno.cxx.

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

◆ hasByName()

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

Definition at line 1645 of file linkuno.cxx.

References aName, ScExternalRefManager::hasExternalFile(), and mpRefMgr.

◆ hasElements()

sal_Bool SAL_CALL ScExternalDocLinksObj::hasElements ( )
overridevirtual

Definition at line 1685 of file linkuno.cxx.

References ScExternalRefManager::getExternalFileCount(), and mpRefMgr.

Member Data Documentation

◆ mpDocShell

ScDocShell* ScExternalDocLinksObj::mpDocShell
private

Definition at line 461 of file linkuno.hxx.

Referenced by addDocLink(), getByIndex(), and getByName().

◆ mpRefMgr

ScExternalRefManager* ScExternalDocLinksObj::mpRefMgr
private

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