Bug 53189

Summary: Shapes drawn wrongly when ppt file converted to image
Product: POI Reporter: Dmitry Zamula <club.brantner>
Component: HSLFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.8-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Source ppt file
result of converting

Description Dmitry Zamula 2012-05-04 09:34:19 UTC
Created attachment 28723 [details]
Source ppt file

There is some problems with shapes, when convering ppt to png.

public class Main {

    public static void main(String[] args) {
        String input[] = {"D:\\Test.ppt"};
        try {
            PPT2PNG.main(input);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}
Comment 1 Dmitry Zamula 2012-05-04 09:34:47 UTC
Created attachment 28724 [details]
result of converting
Comment 2 Yegor Kozlov 2012-05-10 14:12:53 UTC
Does XSLF render the file OK ? 

Yegor
Comment 3 Andreas Beeker 2015-11-14 02:50:36 UTC
As of common sl the shapes were already correct rendered.
The rendering still lacks support for wmf pictures, hence they aren't 
displayed.
Apart of that, I've changed two issues as part of r1714290
- the default alignment of text is now top
- the old flipping code contained an unnecessary rotation, instead of it the 
code now traverses the parent group for flipping and supports text rotation, 
i.e. an additional rotation to the shape rotation