Issue 118565

Summary: pptx import shapes are messed up
Product: Impress Reporter: Acorn <acorn>
Component: open-importAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Major    
Priority: P5 (lowest) CC: issues, rb.henschel
Version: OOo 3.2   
Target Milestone: ---   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
pptx file created with MS Powerpoint containing trapazoids none

Description Acorn 2011-11-01 22:45:34 UTC
Created attachment 76945 [details]
pptx file created with MS Powerpoint containing trapazoids

Importing a pptx file created with MS Powerpoint that contains shapes results in very different shapes in ooimpress.

To reporoduce load the attached pptx file which is also available here:
  http://www.rawbw.com/~acorn/oo_bugs/buggy_trapezoid2.pptx

In MS Powerpoint (where this file was generated) the slide looks like this:
  http://www.rawbw.com/~acorn/oo_bugs/buggy_trapezoid2_powerpoint_screenshot.png

In ooimpress 3.2 the slide looks like this:
  http://www.rawbw.com/~acorn/oo_bugs/buggy_trapezoid2_ooimpress_screenshot.png

There are many problems.  The main problems are:

- The trapezoid shapes are reversed left-to-right (big on wrong side).

- The gradient in the trapezoid runs left-to-right in Powerpoint and top-to-bottom in ooimpress.

- The midpoint of the gradient is white in powepoint and black in ooimpress.


The differences seem minor, but complex drawings are often completely different and indecipherable when imported.
Comment 1 Regina Henschel 2012-07-26 15:58:29 UTC
Shape and gradient are wrong.

There are at least two errors:
(1) The trapeziod has a wrong default form. In pptx the small parallel side is top, in AOO it is bottom.
(2) The gradient should be mirrored but is not, when the form is mirrored and the gradient is set to "rotate with form" in pptx.