summaryrefslogtreecommitdiff
path: root/vcl/source/app/svapp.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-08-22 19:51:37 +0200
committerMiklos Vajna <vmiklos@collabora.com>2023-08-23 08:03:59 +0200
commit7c15750cecea2aeb05653c0ee67b933d969b1f0b (patch)
treeb32ab6171bbc52a61eb47cc0e5a0f517476c9b0f /vcl/source/app/svapp.cxx
parent1530584a7214ca92b457b24ebf5f0e444d805dca (diff)
tdf#155510 ODT import: ignore props of covered table cells, unless in comp mode
The problem was that the A5 cell on page 2 used to have a solid background, but this was lost after commit 1001dbaef4dec2b51c25ed8343bab6910f1219e1 (ODT import: handle style name of covered cells, 2021-03-19). Covered cell formatting was interesting for cell borders, in Word compat mode the covered cell can have its own border style, so e.g. there is left border on a vertically merged cell till its center, but not after its center. Fix the problem by limiting the import of covered cell formatting to the case when the TABLE_ROW_KEEP compat flag is on, to keep both native ODT and ODT-from-Word documents happy. If there is a need, some smarter way of merging properties could be implemented in the future. Change-Id: Icc1e6f48d9f5a0379d9a9052a1f5b9ae3f294477 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155957 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'vcl/source/app/svapp.cxx')
0 files changed, 0 insertions, 0 deletions