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.
This commit is contained in:
Kohei Yoshida 2010-03-08 16:58:31 -05:00
parent 23c65bdf6e
commit 6556a0ea11

View file

@ -60,9 +60,16 @@ interface XExternalDocLink
@param aSheetName sheet name @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 @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 );
//------------------------------------------------------------------------- //-------------------------------------------------------------------------