diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-01-06 15:45:02 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-01-06 18:37:14 +0100 |
commit | 526c8bdb54eff942d5213030d1455f97720a1ba7 (patch) | |
tree | afcfa1d866cdb861a18ff8405f3fd47f395a2c02 /scripting/Package_ScriptsBeanShell.mk | |
parent | d5288dd29611f2e5c4140724255cea8e7bb2b25b (diff) |
sw: fix too long inner borders intersecting with outer borders for Word cells
This is similar to commit 66ac8e60896f6306bed8fbb34606fd14474f19ce (sw:
fix unwanted long vertical border around vertically merged Word cell,
2021-03-04), but this one is about how we handle table border painting
when an inner border intersects with an outer border.
Previously we used to paint the full outer border and the full inner
border, which looks silly in case you have e.g. double border outside
and a single border inside -- the inner line stops at the edge of the
thick outer border in Word.
Do the same by limiting the start of a horizontal line if its start
would match the X coordinate of a vertical line (and the remaining 3
combinations of hori/vert line start/end). We always limit the inner
line, so this needs extending SwLineEntry if the line is an outer one or
not.
Change-Id: I669a271ce3a4c3c69916779d4f3167208e999f05
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128053
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'scripting/Package_ScriptsBeanShell.mk')
0 files changed, 0 insertions, 0 deletions