Hi,
I'm getting this error
org.apache.poi.xwpf.converter.core.XWPFConverterException:
org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException: Invalid integer
value: 20.0
while I'm trying convert my docx file to pdf using
org.apache.poi.xwpf.converter.pdf, ver. 1.0.4
Code:
InputStream in = new FileInputStream(new
File("C:/home/output/documento.docx"));
XWPFDocument document = new XWPFDocument(in);
PdfOptions options = PdfOptions.create();
OutputStream out = new FileOutputStream(new
File("C:/home/output/documento.pdf"));
PdfConverter.getInstance().convert(document, out, options);
I'm using WINDOWS XP, Java 1.6.
This error is similar from issue: 315
https://code.google.com/p/xdocreport/issues/detail?id=315
I attach my docx file. It has been generated with iReport.
Original issue reported on code.google.com by lorenzo....@gmail.com on 19 Sep 2014 at 12:24
Original issue reported on code.google.com by
lorenzo....@gmail.com
on 19 Sep 2014 at 12:24Attachments: