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

#include <linkuno.hxx>

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

Public Member Functions

 ScExternalDocLinkObj (ScDocShell *pDocShell, ScExternalRefManager *pRefMgr, sal_uInt16 nFileId)
 
virtual ~ScExternalDocLinkObj () override
 
virtual css::uno::Reference< css::sheet::XExternalSheetCache > SAL_CALL addSheetCache (const OUString &aSheetName, sal_Bool bDynamicCache) 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
 
virtual sal_Int32 SAL_CALL getTokenIndex () override
 

Private Attributes

ScDocShellmpDocShell
 
ScExternalRefManagermpRefMgr
 
sal_uInt16 mnFileId
 

Detailed Description

Definition at line 393 of file linkuno.hxx.

Constructor & Destructor Documentation

◆ ScExternalDocLinkObj()

ScExternalDocLinkObj::ScExternalDocLinkObj ( ScDocShell pDocShell,
ScExternalRefManager pRefMgr,
sal_uInt16  nFileId 
)

Definition at line 1483 of file linkuno.cxx.

◆ ~ScExternalDocLinkObj()

ScExternalDocLinkObj::~ScExternalDocLinkObj ( )
overridevirtual

Definition at line 1488 of file linkuno.cxx.

Member Function Documentation

◆ addSheetCache()

uno::Reference< sheet::XExternalSheetCache > SAL_CALL ScExternalDocLinkObj::addSheetCache ( const OUString &  aSheetName,
sal_Bool  bDynamicCache 
)
overridevirtual

Definition at line 1492 of file linkuno.cxx.

References ScExternalRefManager::getCacheTable(), mnFileId, mpDocShell, mpRefMgr, and nIndex.

◆ createEnumeration()

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

Definition at line 1571 of file linkuno.cxx.

◆ getByIndex()

Any SAL_CALL ScExternalDocLinkObj::getByIndex ( sal_Int32  nIndex)
overridevirtual

◆ getByName()

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

◆ getCount()

sal_Int32 SAL_CALL ScExternalDocLinkObj::getCount ( )
overridevirtual

Definition at line 1543 of file linkuno.cxx.

References getElementNames().

◆ getElementNames()

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

◆ getElementType()

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

Definition at line 1579 of file linkuno.cxx.

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

◆ getTokenIndex()

sal_Int32 SAL_CALL ScExternalDocLinkObj::getTokenIndex ( )
overridevirtual

Definition at line 1592 of file linkuno.cxx.

References mnFileId.

◆ hasByName()

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

Definition at line 1534 of file linkuno.cxx.

References aName, ScExternalRefManager::getCacheTable(), mnFileId, and mpRefMgr.

◆ hasElements()

sal_Bool SAL_CALL ScExternalDocLinkObj::hasElements ( )
overridevirtual

Definition at line 1584 of file linkuno.cxx.

References getElementNames().

Member Data Documentation

◆ mnFileId

sal_uInt16 ScExternalDocLinkObj::mnFileId
private

◆ mpDocShell

ScDocShell* ScExternalDocLinkObj::mpDocShell
private

Definition at line 424 of file linkuno.hxx.

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

◆ mpRefMgr

ScExternalRefManager* ScExternalDocLinkObj::mpRefMgr
private

Definition at line 425 of file linkuno.hxx.

Referenced by addSheetCache(), getByIndex(), getByName(), getElementNames(), and hasByName().


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