bnc#902652 OOXML: fix import of insets when shape and/or shape text is rotated

Desktop / LibreOffice - Andras Timar [collabora.com] - 30 March 2015 16:15 UTC

5ac575ee3e109 did not get it right, the vert attribute (i.e. the rotation of text) is relevant, not the rotation of the shape. In that case both text and shape rotation were 270 degrees. I checked that the bugdoc of bnc#773048 looked good after this.

Change-Id: I6e0401cd138a82040df82d7da1a47311db7771e4 Reviewed-on: https://gerrit.libreoffice.org/15076

af686aa8 bnc#902652 OOXML: fix import of insets when shape and/or shape text is rotated
oox/inc/drawingml/textbodyproperties.hxx | 2 +-
oox/source/drawingml/shape.cxx | 2 +-
oox/source/drawingml/textbodyproperties.cxx | 8 +-
sd/qa/unit/data/n902652.pptx | Bin 0 -> 39315 bytes
sd/qa/unit/data/xml/n902652_0.xml | 309 +++++++++++++++++++++++++++
sd/qa/unit/import-tests.cxx | 1 +
6 files changed, 316 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share