diff options
author | Muthu Subramanian <sumuthu@novell.com> | 2011-06-29 12:56:51 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@novell.com> | 2011-06-29 12:56:51 +0530 |
commit | 5e30bfb9214767de07e97af8761523eb67776592 (patch) | |
tree | e3d1e849f5368fbd0f0eebb01529fd7bcf176022 /oox/inc | |
parent | 26cdd787f6f93a595278e85c39ee2362d1fb3be1 (diff) |
Improved xlsx formula import.
Now uses the values present in the import document
rather than calculating the formula. This speeds up
document loading.
TODO: Extend this to string results as well.
Diffstat (limited to 'oox/inc')
-rw-r--r-- | oox/inc/oox/xls/worksheethelper.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/oox/inc/oox/xls/worksheethelper.hxx b/oox/inc/oox/xls/worksheethelper.hxx index e31c8f69711b..2f596fe4e22e 100644 --- a/oox/inc/oox/xls/worksheethelper.hxx +++ b/oox/inc/oox/xls/worksheethelper.hxx @@ -323,6 +323,13 @@ public: void putValue( const ::com::sun::star::table::CellAddress& rAddress, double fValue ) const; + void putFormulaResult( + const ::com::sun::star::table::CellAddress& rAddress, + double fValue ) const; + void putFormulaString( + const ::com::sun::star::table::CellAddress& rAddress, + const ::rtl::OUString& rText ) const; + /** Inserts a string cell directly into the Calc sheet. */ void putString( const ::com::sun::star::table::CellAddress& rAddress, |