poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60913] New: Bullets in .docx to pdf issues
Date Fri, 24 Mar 2017 11:13:50 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60913

            Bug ID: 60913
           Summary: Bullets in .docx to pdf issues
           Product: POI
           Version: 3.15-FINAL
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: XWPF
          Assignee: dev@poi.apache.org
          Reporter: pooja.dhannawat535@gmail.com
  Target Milestone: ---

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);
            out.close();

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message