Bug 60913

Summary: Bullets in .docx to pdf issues
Product: POI Reporter: pooja.dhannawat535
Component: XWPFAssignee: POI Developers List <dev>
Severity: major    
Priority: P2    
Version: 3.15-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description pooja.dhannawat535 2017-03-24 11:13:50 UTC
When I convert .docx to .pdf all bullets are coming as question mark when I am using character encoding as 'windows-1258' or 'US-ASCII'. If PdfOptions I am keeping empty I am not getting bullets in output pdf file.

Please help me on how to fix this.

Code I am using -
             XWPFDocument document = new XWPFDocument(new FileInputStream(new         File(inFilePath)));
            File outFile = new File(outFilePath);
            OutputStream out = new FileOutputStream(outFile);
            PdfOptions pdfOption= PdfOptions.create().fontEncoding("US-ASCII");
            PdfConverter.getInstance().convert(document, out, pdfOption);
Comment 1 Dominik Stadler 2017-06-16 20:26:24 UTC
PdfConverter is not part of Apache POI. This is likely another case of confusion from xdocreport incorrectly using org.apache.poi namespace, you need to first talk to the developer of xdocreport...
Comment 2 Dominik Stadler 2017-06-16 20:31:31 UTC
BTW, xdocreport fixed the package naming in v2.0 via https://github.com/opensagres/xdocreport/issues/174