Exporting custom shapes to DrawingML – Part 3

On LibreOffice FOSDEM 2016 Hackfest I continued to work on DrawingML export of custom shapes. (See also Part 1 and Part 2 of this work.)

This time I worked on export of flipped and rotated custom shapes, and I made progress. Check out the screenshots below.

Colorful rotated arrows in an ODF document in LibreOffice Writer

Colorful rotated arrows in an ODF document in LibreOffice Writer

DOCX export of the file opened in Word 2010 before the patch

DOCX export of the file opened in Word 2010 before the patch

DOCX export of the file opened in Word 2010 after the patch

DOCX export of the file opened in Word 2010 after the patch

Exporting custom shapes to DrawingML – Part 2

On LibreOffice Cambridge Hackfest and the days after it I hacked on exporting custom shapes to DrawingML. (The “Part 2” in title indicates that there is a Part 1, the work I did on FOSDEM Hackfest, earlier this year.)

It was drawn to my attention, that my commits caused “regression” in the sense that the wrong export became even worse in some cases (e.g. tdf#90338). I was also aware of some imperfections.

Screenshots worth a thousand words, so here is the result of my recent work.

BEFORE Shapes saved to DOCX format and reopened in Writer.

BEFORE
Shapes saved to DOCX format and reopened in Writer.

AFTER Shapes saved to DOCX format and reopened in Writer.

AFTER
Shapes saved to DOCX format and reopened in Writer.