Bug 53191

Summary: Problems with line style when converting ppt to png
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 10:11:40 UTC
Created attachment 28725 [details]
source ppt file

Line has non-standart "end type" (schematic example: ----o) (can switch in Microsoft PowerPoint 2010: "Format Shape -> "Line style" -> "End type"). But, in the result image, this "end type" is drawing wrong.

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 10:12:12 UTC
Created attachment 28726 [details]
result of converting
Comment 2 Andreas Beeker 2016-10-16 22:55:31 UTC
fixed via r1765196

this also contains a fix for FreeForm shapes, which POINT records were not 8 but only 4 bytes long