import fr.opensagres.xdocreport.converter.ConverterTypeTo;import fr.opensagres.xdocreport.converter.Options;import fr.opensagres.xdocreport.converter.docx.poi.itext.XWPF2PDFViaITextConverter;import fr.opensagres.xdocreport.core.document.DocumentKind;
FileInputStream in = new FileInputStream(file);
Options options = Options.getFrom(DocumentKind.DOCX).to(ConverterTypeTo.PDF);
ByteArrayOutputStream out = new ByteArrayOutputStream();
// Fails here
XWPF2PDFViaITextConverter.getInstance().convert(in, out, options);
byte[] bytes = out.toByteArray();
out.close();
--
You received this message because you are subscribed to the Google Groups "xdocreport" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xdocreport+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.