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 ( ScDocShell pDocShell,
ScExternalRefManager pRefMgr,
sal_uInt16  nFileId 
)

Definition at line 1484 of file linkuno.cxx.

ScExternalDocLinkObj::~ScExternalDocLinkObj ( )
overridevirtual

Definition at line 1489 of file linkuno.cxx.

Member Function Documentation

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

Definition at line 1493 of file linkuno.cxx.

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

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

Definition at line 1572 of file linkuno.cxx.

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

Definition at line 1507 of file linkuno.cxx.

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

sal_Int32 SAL_CALL ScExternalDocLinkObj::getCount ( )
overridevirtual

Definition at line 1544 of file linkuno.cxx.

References getElementNames().

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

Definition at line 1580 of file linkuno.cxx.

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

sal_Int32 SAL_CALL ScExternalDocLinkObj::getTokenIndex ( )
overridevirtual

Definition at line 1594 of file linkuno.cxx.

References mnFileId.

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

Definition at line 1535 of file linkuno.cxx.

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

sal_Bool SAL_CALL ScExternalDocLinkObj::hasElements ( )
overridevirtual

Definition at line 1586 of file linkuno.cxx.

References getElementNames().

Member Data Documentation

sal_uInt16 ScExternalDocLinkObj::mnFileId
private
ScDocShell* ScExternalDocLinkObj::mpDocShell
private

Definition at line 424 of file linkuno.hxx.

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

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: