diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2020-12-25 19:27:51 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-01-18 15:12:37 +0100 |
commit | ad2184eadafcb92ed196ecea69aa7b67bdefb3fc (patch) | |
tree | c7928390596afd850c7dec6b4405680e7bada199 /icon-themes/colibre/brand/intro.png | |
parent | tdf#136704 sw autofmt: prevent crash if no nextNode (diff) | |
download | core-ad2184eadafcb92ed196ecea69aa7b67bdefb3fc.tar.gz core-ad2184eadafcb92ed196ecea69aa7b67bdefb3fc.zip |
tdf#137033 improve save of cell anchored shapes
Error was, that rotated or sheared shapes got wrong position or size on
save and reload in some cases. These situations should be correct now:
A) Hide or show row/col above or before shape. It uses snap rectangle
now. Previous solution failed, if hidden row/col is after snap
rectangle left/top and before logic rectangle left/top.
B) Repair ScShapeTest::testTdf137576_LogicRectInDefaultMeasureline()
which would not have failed. SetColHidden() does only set the
information, but does not trigger recalculation itself.
C) Add solution for case shape is anchored 'resize with cell' and
hidden row/col is covered by the shape.
D) In case custom shape is anchored 'resize with cell' and mirrored
horizontal, the translation value is wrong. I have not found the reason
yet. So I have added a solution here for writing the xml markup
correctly. It should work with correct translation values too.
In all cases the solution does not consider right-to-left sheets. RTL
sheets are still ToDo's.
Change-Id: Ia15a05b637d12d9798bbc8ffca52f606058deb87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108377
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Tested-by: Regina Henschel <rb.henschel@t-online.de>
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109516
Tested-by: Jenkins
Diffstat (limited to 'icon-themes/colibre/brand/intro.png')
0 files changed, 0 insertions, 0 deletions