• Miklos Vajna's avatar
    tdf#124594 DOCX filter: don't extend margins from effects for rotated shapes · 65420c21
    Miklos Vajna yazdı
    Regression from commit a5a836d8 (DOCX
    filter: effect extent should be part of the margin, 2014-12-04), the
    problem was that extending margins as-is based on the effect extent
    values only work correctly in case of non-rotated shapes.
    
    For example, with 90 degree clockwise rotation the top effect extent
    should extend the right margin, etc. Fix the bug by limiting this
    extension to the non-rotated scenario.
    
    Test the behavior at a layout level, so in case later the effect extent
    feature is implemented, it won't be necessary to adjust the test.
    
    Change-Id: I97271bbb7c079951980b436cb8d8e5e54eeead55
    Reviewed-on: https://gerrit.libreoffice.org/71878
    Tested-by: Jenkins
    Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
    65420c21
GraphicImport.cxx 61.2 KB