From bf846ac0510da21f7faa601fbd30d9147dc3ee71 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 1 Aug 2013 22:01:26 -0400 Subject: fdo#67099: Remove overheads on inserting cells during ods import. We will switch to using ScDocumentImport to populate the document from import filters, instead of using ScDocument directly. Change-Id: Ie59d6877d1ac4fc04751a84b663772a9dc9a3efc --- sc/inc/documentimport.hxx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'sc/inc/documentimport.hxx') diff --git a/sc/inc/documentimport.hxx b/sc/inc/documentimport.hxx index 9fddf2b86282..06203019b042 100644 --- a/sc/inc/documentimport.hxx +++ b/sc/inc/documentimport.hxx @@ -17,9 +17,12 @@ #include +class EditTextObject; class ScDocument; +class ScColumn; class ScAddress; class ScTokenArray; +class ScFormulaCell; struct ScDocumentImportImpl; /** @@ -42,6 +45,8 @@ public: ScDocument& getDoc(); const ScDocument& getDoc() const; + void setDefaultNumericScript(sal_uInt16 nScript); + /** * @param rName sheet name. * @@ -57,10 +62,18 @@ public: void setAutoInput(const ScAddress& rPos, const OUString& rStr); void setNumericCell(const ScAddress& rPos, double fVal); void setStringCell(const ScAddress& rPos, const OUString& rStr); + void setEditCell(const ScAddress& rPos, EditTextObject* pEditText); void setFormulaCell(const ScAddress& rPos, const OUString& rFormula, formula::FormulaGrammar::Grammar eGrammar); void setFormulaCell(const ScAddress& rPos, const ScTokenArray& rArray); + void setFormulaCell(const ScAddress& rPos, ScFormulaCell* pCell); + + void setMatrixCells( + const ScRange& rRange, const ScTokenArray& rArray, formula::FormulaGrammar::Grammar eGrammar); void finalize(); + +private: + void initColumn(ScColumn& rCol); }; #endif -- cgit