From 6556a0ea1128ceb83c0eea954ca8aa52cf43ffb7 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 8 Mar 2010 16:58:31 -0500 Subject: [PATCH] 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. --- offapi/com/sun/star/sheet/XExternalDocLink.idl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 , 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 , 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 ); //-------------------------------------------------------------------------