diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2016-12-20 22:32:50 -0500 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2016-12-23 03:38:35 +0000 |
commit | 4252096c68ce01ed8a06bcaf57260dbe46502cd3 (patch) | |
tree | 8c3e6184e80f9bcb6abb5d56ad451f1512bebb53 /sc/inc/mtvelements.hxx | |
parent | 7a1add76d542e9929c1feab9e06949990e236616 (diff) |
tdf#97597: Make the document import state more multi-thread friendly.
Change-Id: Iee9ff5e5d3471f7357a1f2eaf75abbef2d90effa
Reviewed-on: https://gerrit.libreoffice.org/32322
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/inc/mtvelements.hxx')
-rw-r--r-- | sc/inc/mtvelements.hxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sc/inc/mtvelements.hxx b/sc/inc/mtvelements.hxx index ae3a91ad5b3f..ce1f4f53f200 100644 --- a/sc/inc/mtvelements.hxx +++ b/sc/inc/mtvelements.hxx @@ -33,6 +33,7 @@ #include <mdds/multi_type_vector_custom_func3.hpp> #include <unordered_map> +#include <memory> class ScDocument; class ScColumn; @@ -154,6 +155,22 @@ public: void clear(); }; +/** + * Set of column block positions only for one table. + */ +class TableColumnBlockPositionSet +{ + struct Impl; + std::unique_ptr<Impl> mpImpl; + +public: + TableColumnBlockPositionSet( ScDocument& rDoc, SCTAB nTab ); + TableColumnBlockPositionSet( TableColumnBlockPositionSet&& rOther ); + ~TableColumnBlockPositionSet(); + + ColumnBlockPosition* getBlockPosition( SCCOL nCol ); +}; + ScRefCellValue toRefCell( const sc::CellStoreType::const_iterator& itPos, size_t nOffset ); } |