diff options
author | Justin Luth <justin.luth@collabora.com> | 2020-07-10 17:27:51 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2020-07-16 19:01:02 +0200 |
commit | fafc6c0fc3c6d62f982b0deb9bc1d874c51dd6fe (patch) | |
tree | b6f66dc2f0dde2d26bab3eadb4a7b263697ed9db /writerfilter/source/dmapper/TableManager.hxx | |
parent | 03803de58bd426eb0b726437dc205d92383e8e2e (diff) |
tdf#134709 writerfilter: consider gridBefore for table borders
When the table itself defines borders, those borders should
apply to the first cell in each row - even if some grids
are skipped with gridBefore. (i.e. it won't be a straight line
on the left side).
Most of the changes here are just simplifications,
since the original code import was overly complex.
This commit depends on some refactoring done for bug 129452
in LO 7.1.
A followup commit is needed do the same thing for gridAfter,
but currently gridAfter is not yet populated,
so some foundational work needs to be done first.
Change-Id: Ic7dd17fa80422520f3ccf1b121a2abb288b88ccb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98534
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'writerfilter/source/dmapper/TableManager.hxx')
-rw-r--r-- | writerfilter/source/dmapper/TableManager.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/TableManager.hxx b/writerfilter/source/dmapper/TableManager.hxx index 1cc7caaf958e..375cee7e30aa 100644 --- a/writerfilter/source/dmapper/TableManager.hxx +++ b/writerfilter/source/dmapper/TableManager.hxx @@ -500,6 +500,7 @@ public: */ bool isIgnore() const; + sal_uInt32 getGridBefore(sal_uInt32 nRow); sal_uInt32 getCurrentGridBefore(); void setCurrentGridBefore( sal_uInt32 nSkipGrids ); std::vector<sal_uInt32> getCurrentGridSpans(); |