You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2017/03/24 11:13:50 UTC

[Bug 60913] New: Bullets in .docx to pdf issues

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


[Bug 60913] Bullets in .docx to pdf issues

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60913

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
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...

-- 
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


[Bug 60913] Bullets in .docx to pdf issues

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60913

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
BTW, xdocreport fixed the package naming in v2.0 via
https://github.com/opensagres/xdocreport/issues/174

-- 
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