The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15



Tips ‘n’ Tricks


:: com :: sun :: star :: sheet ::

unpublished interface XExternalDocLink
Base Interfaces
┣ ::com::sun::star::container::XNameAccess
┃ ┗ ::com::sun::star::container::XElementAccess
┣ ::com::sun::star::container::XIndexAccess
┃ ┗ ::com::sun::star::container::XElementAccess
┗ ::com::sun::star::container::XEnumerationAccess
   ┗ ::com::sun::star::container::XElementAccess

(referenced interface's summary:)
is used to access named objects within a container.
(referenced interface's summary:)
provides access to the elements of a collection through an index.
(referenced interface's summary:)
used to enumerate objects in a container which contains objects.
Usage Restrictions
not published
Primary interface for the ExternalDocLink service.
OOo 3.1
See also

Methods' Summary
Attributes' Summary
TokenIndex Index corresponding to the external document link.  
Methods' Details
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.

Parameter aSheetName
sheet name
Parameter DynamicCache
specify 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
Attributes' Details
[ readonly ] long TokenIndex;
Index corresponding to the external document link.

This index value corresponds with the external document represented by an instance of 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 ExternalDocLinks instance.

See also
ExternalDocLinks, FormulaToken, ExternalReference
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.