summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-03-04 11:52:58 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-03-04 12:49:18 +0100
commit66ac8e60896f6306bed8fbb34606fd14474f19ce (patch)
treef1da0c8db92a186914ecca40798d3cb3ab0bc70e /sc/source
parent8fb25999f428fbc61240295b4065f4e76fd78a75 (diff)
sw: fix unwanted long vertical border around vertically merged Word cell
In case cells A1 and A2 are vertically merged, they can still specify different border properties for the two cells. Word draws the border properties of the covered cells, while Writer ignores the formatting of A2 in this case and only uses the properties of the covering cell. Table cell border collapsing rules already differ in Word and Writer, so SwTabFramePainter::Insert() knows if the table cell's border is Word-style or not. Extend this code to handle vertically merged cells better. In general, this means a cell no longer has a fixed set of 4 borders, but each edge may have several sub-borders. This commit is a step in that direction, and handles the case when a vertical (left or right) border style is set initially, but not set at the end -- as we iterate through the list of cells in a vertical merge. Change-Id: I35a05097ce70243099307ce8066766aef61a2bc5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111954 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sc/source')
0 files changed, 0 insertions, 0 deletions