Bug 53191 - Problems with line style when converting ppt to png
Summary: Problems with line style when converting ppt to png
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSLF (show other bugs)
Version: 3.8-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-04 10:11 UTC by Dmitry Zamula
Modified: 2016-10-16 22:55 UTC (History)
0 users



Attachments
source ppt file (105.50 KB, application/vnd.ms-powerpoint)
2012-05-04 10:11 UTC, Dmitry Zamula
Details
result of converting (22.60 KB, image/png)
2012-05-04 10:12 UTC, Dmitry Zamula
Details

Note You need to log in before you can comment on or make changes to this bug.
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