diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-16 03:03:04 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-16 11:11:24 +0200 |
commit | 4ad52186048e023234039f8344612b5123bb5700 (patch) | |
tree | 3da4692a10f09388753bd0c357f6bd3124b505c5 /sc/inc | |
parent | b021353dd62c3d8c9ee0281753b88f6304a2514d (diff) |
introduce a way to write a simple data representation to a stream
The format used is column orientated and allows quick import and
export of the table content. This will be used for the external data
to cache the results of each transformation step in the UI.
Change-Id: I6e1bfd3b3384cbfadeb98fb995dfd0b03d5e6eb6
Reviewed-on: https://gerrit.libreoffice.org/41198
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/column.hxx | 2 | ||||
-rw-r--r-- | sc/inc/document.hxx | 2 | ||||
-rw-r--r-- | sc/inc/table.hxx | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 35693f87aa8b..d76f3f0bd992 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -672,6 +672,8 @@ public: void EnsureFormulaCellResults( SCROW nRow1, SCROW nRow2 ); + void StoreToCache(SvStream& rStrm) const; + #if DUMP_COLUMN_STORAGE void DumpColumnStorage() const; #endif diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index f0f417baf9bd..a32eac54bf1e 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -2304,6 +2304,8 @@ public: std::unique_ptr<sc::ColumnIterator> GetColumnIterator( SCTAB nTab, SCCOL nCol, SCROW nRow1, SCROW nRow2 ) const; + SC_DLLPUBLIC void StoreTabToCache(SCTAB nTab, SvStream& rStrm) const; + #if DUMP_COLUMN_STORAGE SC_DLLPUBLIC void DumpColumnStorage( SCTAB nTab, SCCOL nCol ) const; #endif diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index 80f4b7dfc7de..a4d828c1f96a 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -1008,6 +1008,8 @@ public: void finalizeOutlineImport(); + void StoreToCache(SvStream& rStrm) const; + #if DUMP_COLUMN_STORAGE void DumpColumnStorage( SCCOL nCol ) const; #endif |