Bug 53195

Summary: "Numbering" transforms to "bullets" after converting ppt file to png
Product: POI Reporter: Dmitry Zamula <club.brantner>
Component: HSLFAssignee: POI Developers List <dev>
Status: RESOLVED WORKSFORME    
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 12:47:55 UTC
Created attachment 28733 [details]
source ppt file

I use PPT2PNG utility to convert ppt file to image. There is a bug with numbering. In result image, it draws as a bullets.

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 12:48:08 UTC
Created attachment 28734 [details]
result of converting
Comment 2 Yegor Kozlov 2012-05-10 14:12:05 UTC
Numbered lists are not yet supported and replaced with plain bullets.

The first step to fix it is to support numbered lists in the .ppt format reader. Current implementation does not read this info and renders simple bullets instead.  

The second step is to fix the renderer to make sense of this information. Note that the actual text is not saved in the format. PowerPoint decides what to show based on the chosen numbering scheme and index of a text block. For example, if the the numbering scheme is "roman upper-case paren-both", then the numbering for the first paragraph  will be (I), for the second paragraph - (II), etc. 


Yegor
Comment 3 Andreas Beeker 2015-11-09 00:54:20 UTC
I've added auto numbering some time back, although it still has some issues, 
with continued lists.
Apart of the ordered numbers, the hanging indent doesn't match, but this is a 
different issue.