diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2018-11-19 21:41:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-28 16:49:03 +0100 |
commit | ef5875be7d0aefcb95f878fee49d79a65cd063ea (patch) | |
tree | 9932b9e44742199590890bcad32ad67ff60dec6d /editeng/source | |
parent | 8b141eb612a89a112b9bb11baeff32155e4a0150 (diff) |
tdf#120551 DOCX import: fix position of group shape with absolute position
Regression from commit af313fc149f80adb0f1680ca20e19745ccb7fede
(tdf#105143 DOCX import: enable DoNotCaptureDrawObjsOnPage layout compat
option, 2017-01-06), the group shape which covers most of the single
page in the document had a negative left position, while it should have
a small positive one (checking the drawingML markup).
This was a pre-existing problem, but now it's visible since we no longer
force objects to be on the page in Word compat mode.
Seeing the ODT import never positions group shapes (it's just a
container for child shapes), probably the DOCX import shouldn't do that
either. Start moving into this direction, first only for
absolute-positioned toplevel group shapes only, which already fixes the
bug.
(cherry picked from commit d220e476df38e86e094066a690985c624316d37f)
Change-Id: I152ba06a81a2bd09195a4c724da4b8878b0457bb
Reviewed-on: https://gerrit.libreoffice.org/63710
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng/source')
0 files changed, 0 insertions, 0 deletions