tdf#129452 writerfilter: preserve gridSpans longer than currentRow
commit2e8992aea2017e89a6f7ba5f0ef544f29059243b
authorJustin Luth <justin.luth@collabora.com>
Mon, 29 Jun 2020 10:20:00 +0000 (29 13:20 +0300)
committerJustin Luth <justin_luth@sil.org>
Wed, 8 Jul 2020 15:31:35 +0000 (8 17:31 +0200)
treea91b5e7d68b46618d08e4df683e3c578a70f955f
parenta480b32fb7a381fc17d51c2ccd0e8c4455d38792
tdf#129452 writerfilter: preserve gridSpans longer than currentRow

It is a fairly common thing for table operations to compare
items in the same column (like merged cells for example).
In order to determine column information, each row's (gridBefore
- change-id Ie305477f0e3468a4a923095d76f520d97fe99ffe -
and) merged cells need to be known.

So save that information in the cell data - and don't just throw
it away after the current row has been analyzed.  Good grief.

Change-Id: Ibfdac336bbb1f7303c7e585a85c94be37ad6f916
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97433
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
writerfilter/source/dmapper/DomainMapperTableManager.cxx
writerfilter/source/dmapper/DomainMapperTableManager.hxx
writerfilter/source/dmapper/TableData.hxx
writerfilter/source/dmapper/TableManager.cxx
writerfilter/source/dmapper/TableManager.hxx