• Miklos Vajna's avatar
    tdf#120551 DOCX import: fix position of group shape with absolute position · d220e476
    Miklos Vajna yazdı
    Regression from commit af313fc1
    (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.
    
    Change-Id: I152ba06a81a2bd09195a4c724da4b8878b0457bb
    Reviewed-on: https://gerrit.libreoffice.org/63606
    Tested-by: Jenkins
    Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
    d220e476