LibreOffice 7.4 SDK API Reference
Exported Interfaces | Public Member Functions | Public Attributes | List of all members
XExternalDocLink Interface Reference

Primary interface for the com::sun::star::sheet::ExternalDocLink service. More...


Inheritance diagram for XExternalDocLink:
XNameAccess XIndexAccess XEnumerationAccess XElementAccess XElementAccess XElementAccess XInterface XInterface XInterface ExternalDocLink

Exported Interfaces

interface com::sun::star::container::XNameAccess
interface com::sun::star::container::XIndexAccess
interface com::sun::star::container::XEnumerationAccess

Public Member Functions

com::sun::star::sheet::XExternalSheetCache addSheetCache ([in] string aSheetName, [in] boolean DynamicCache)
- Public Member Functions inherited from XNameAccess
any getByName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException )
sequence< string > getElementNames ()
boolean hasByName ([in] string aName)
- Public Member Functions inherited from XElementAccess
type getElementType ()
boolean hasElements ()
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
void acquire ()
 increases the reference counter by one. More...
void release ()
 decreases the reference counter by one. More...
- Public Member Functions inherited from XIndexAccess
long getCount ()
any getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException )
- Public Member Functions inherited from XEnumerationAccess
com::sun::star::container::XEnumeration createEnumeration ()

Public Attributes

long TokenIndex
 Index corresponding to the external document link. More...

Detailed Description

Primary interface for the com::sun::star::sheet::ExternalDocLink service.

See also
OOo 3.1

Exported Interfaces

◆ com::sun::star::container::XEnumerationAccess

◆ com::sun::star::container::XIndexAccess

◆ com::sun::star::container::XNameAccess

Member Function Documentation

◆ addSheetCache()

com::sun::star::sheet::XExternalSheetCache addSheetCache ( [in] string  aSheetName,
[in] boolean  DynamicCache 

This method adds a new sheet cache instance to the external document link for a specified sheet name. If a sheet cache instance already exists for the specified name, then the existing instance is returned.

Note that a sheet name lookup is performed in a case-insensitive fashion.

aSheetNamesheet name
DynamicCachespecify whether or not the cache can grow when non-cached regions are queried. If TRUE, querying a non-cached cell in this sheet cache will allow Calc to try to access the source document to fetch the value in first access. If FALSE, the source document will not be accessed, and the non-cached regions are treated as empty cells.
com::sun::star::sheet::XExternalSheetCache sheet cache instance

Member Data Documentation

◆ TokenIndex

long TokenIndex

Index corresponding to the external document link.

This index value corresponds with the external document represented by an instance of com::sun::star::sheet::ExternalDocLink. This value is stored within a formula token instance.

Each external document cache instance has a unique index value, and this index value can be used to retrieve the corresponding external document cache from the parent com::sun::star::sheet::ExternalDocLinks instance.

See also

The documentation for this interface was generated from the following file: