diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-21 16:46:57 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-22 09:03:33 -0500 |
commit | 151beeb0b234512768080da3441ebe40a46cd861 (patch) | |
tree | d540a5acf3313a6160cca5868daadea18ba5772c /sc/inc/documentimport.hxx | |
parent | 3797e61e5eb15b9dee9c55afe95013f134ac2d5d (diff) |
Set default cell style directly, without UNO API.
This also avoids unnecessary row height adjustments.
Change-Id: Icfecf0a5fdf7ef18db368ebadcf9d0b8700c0b65
Diffstat (limited to 'sc/inc/documentimport.hxx')
-rw-r--r-- | sc/inc/documentimport.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
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; @@ -50,6 +51,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. * * @return 0-based sheet index, or -1 in case no sheet is found by |