diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-09-30 14:52:52 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-10-22 18:07:26 -0400 |
commit | e0d62d8ef7ec781ded59c2453d817eb9022b4bf3 (patch) | |
tree | 290d4f3d468ea00e5ff848c084f17d33719e5edf /sc/inc/documentimport.hxx | |
parent | Update all script types in the marked ranges up-front. (diff) | |
download | core-e0d62d8ef7ec781ded59c2453d817eb9022b4bf3.tar.gz core-e0d62d8ef7ec781ded59c2453d817eb9022b4bf3.zip |
Move SetAttrEntries from ScDocument to ScDocumentImport.
Since that method was really an optimization for xls(x) import code.
Change-Id: Ie2530f5dc27411bd45d72440681689c6c7a8b10a
Diffstat (limited to 'sc/inc/documentimport.hxx')
-rw-r--r-- | sc/inc/documentimport.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/inc/documentimport.hxx b/sc/inc/documentimport.hxx index 4b84f0d8fe4a..621d2222d194 100644 --- a/sc/inc/documentimport.hxx +++ b/sc/inc/documentimport.hxx @@ -21,6 +21,7 @@ class EditTextObject; class ScDocument; class ScColumn; class ScAddress; +struct ScAttrEntry; class ScTokenArray; class ScFormulaCell; class ScStyleSheet; @@ -81,6 +82,13 @@ public: void setTableOpCells(const ScRange& rRange, const ScTabOpParam& rParam); + /** + * Set an array of cell attributes to specified column. This call + * transfers the ownership of the ScAttrEntry array from the caller to the + * column. + */ + void setAttrEntries( SCTAB nTab, SCCOL nCol, ScAttrEntry* pData, size_t nSize ); + void finalize(); private: |