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::ScExternalDocLinksObj ( ScDocShell pDocShell)

Definition at line 1599 of file linkuno.cxx.

ScExternalDocLinksObj::~ScExternalDocLinksObj ( )
overridevirtual

Definition at line 1605 of file linkuno.cxx.

ScExternalDocLinksObj::ScExternalDocLinksObj ( const ScExternalDocLinksObj )
privatedelete

Member Function Documentation

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

Definition at line 1673 of file linkuno.cxx.

Any SAL_CALL ScExternalDocLinksObj::getByIndex ( sal_Int32  nIndex)
overridevirtual

Definition at line 1658 of file linkuno.cxx.

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

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

Definition at line 1652 of file linkuno.cxx.

References ScExternalRefManager::getExternalFileCount(), and mpRefMgr.

Sequence< OUString > SAL_CALL ScExternalDocLinksObj::getElementNames ( )
overridevirtual
uno::Type SAL_CALL ScExternalDocLinksObj::getElementType ( )
overridevirtual

Definition at line 1681 of file linkuno.cxx.

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

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

Definition at line 1646 of file linkuno.cxx.

References ScExternalRefManager::hasExternalFile(), and mpRefMgr.

sal_Bool SAL_CALL ScExternalDocLinksObj::hasElements ( )
overridevirtual

Definition at line 1687 of file linkuno.cxx.

References ScExternalRefManager::getExternalFileCount(), and mpRefMgr.

Member Data Documentation

ScDocShell* ScExternalDocLinksObj::mpDocShell
private

Definition at line 461 of file linkuno.hxx.

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

ScExternalRefManager* ScExternalDocLinksObj::mpRefMgr
private

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