summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/sheet/XExternalDocLink.idl
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-03-08 16:58:31 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-03-08 16:58:31 -0500
commit6556a0ea1128ceb83c0eea954ca8aa52cf43ffb7 (patch)
tree6d3a8d741ca4ce6952927857c733ea06a445d74b /offapi/com/sun/star/sheet/XExternalDocLink.idl
parentmerged to DEV300_m72. (diff)
downloadcore-6556a0ea1128ceb83c0eea954ca8aa52cf43ffb7.tar.gz
core-6556a0ea1128ceb83c0eea954ca8aa52cf43ffb7.zip
koheiextref01: #i109168# Allow creation of static sheet cache via UNO API for external references.
This is to keep the sheet cache 'static' during import of xlsx documents. The same trick is performed during import of xls and ods documents.
Diffstat (limited to 'offapi/com/sun/star/sheet/XExternalDocLink.idl')
-rw-r--r--offapi/com/sun/star/sheet/XExternalDocLink.idl9
1 files changed, 8 insertions, 1 deletions
diff --git a/offapi/com/sun/star/sheet/XExternalDocLink.idl b/offapi/com/sun/star/sheet/XExternalDocLink.idl
index 19d1f0ff08d7..1a9662dbeed7 100644
--- a/offapi/com/sun/star/sheet/XExternalDocLink.idl
+++ b/offapi/com/sun/star/sheet/XExternalDocLink.idl
@@ -60,9 +60,16 @@ interface XExternalDocLink
@param aSheetName sheet name
+ @param 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.
+
@return com::sun::star::sheet::XExternalSheetCache sheet cache instance
*/
- com::sun::star::sheet::XExternalSheetCache addSheetCache( [in] string aSheetName );
+ com::sun::star::sheet::XExternalSheetCache addSheetCache( [in] string aSheetName, [in] boolean DynamicCache );
//-------------------------------------------------------------------------