From 151beeb0b234512768080da3441ebe40a46cd861 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 21 Nov 2013 16:46:57 -0500 Subject: Set default cell style directly, without UNO API. This also avoids unnecessary row height adjustments. Change-Id: Icfecf0a5fdf7ef18db368ebadcf9d0b8700c0b65 --- sc/inc/documentimport.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sc/inc/documentimport.hxx') diff --git a/sc/inc/documentimport.hxx b/sc/inc/documentimport.hxx index d2aa99411cfc..222908e341c6 100644 --- a/sc/inc/documentimport.hxx +++ b/sc/inc/documentimport.hxx @@ -23,6 +23,7 @@ class ScColumn; class ScAddress; class ScTokenArray; class ScFormulaCell; +class ScStyleSheet; struct ScSetStringParam; struct ScTabOpParam; struct ScDocumentImportImpl; @@ -49,6 +50,11 @@ public: void setDefaultNumericScript(sal_uInt16 nScript); + /** + * Apply specified cell style to an entire sheet. + */ + void setCellStyleToSheet(SCTAB nTab, const ScStyleSheet& rStyle); + /** * @param rName sheet name. * -- cgit