kh-fataoui / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

StackOverFlow #447

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I'm using the xdocreport API to convert documents from Word to PDF format.

What steps will reproduce the problem?
1. Create a XWPDocument and make the conversion:
InputStream in = new FileInputStream(fileIn);
XWPFDocument document = new XWPFDocument(in);
PdfOptions options = PdfOptions.create().fontEncoding("windows-1250");
OutputStream out = new FileOutputStream("result.pdf");
PdfConverter.getInstance().convert(document, out, options);

What is the expected output? What do you see instead?
The log associated with this code is in the attached file.
I'm actually not getting this error on all word documents.

What version of the product are you using? On what operating system?
- I am using "docx.converters-1.0.4-sample"

Original issue reported on code.google.com by gregoire...@gmail.com on 30 Sep 2014 at 3:50

GoogleCodeExporter commented 9 years ago
Please attach your docx

Original comment by angelo.z...@gmail.com on 30 Sep 2014 at 3:52

GoogleCodeExporter commented 9 years ago
Thanks for answer.
Here is the document (docx) which created the problem.

Original comment by gregoire...@gmail.com on 3 Oct 2014 at 8:20

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,
I had the same problem but with odt to pdf.

I am using "odt.converters-1.0.4-sample"

Original comment by xeneizey...@gmail.com on 3 Oct 2014 at 6:54

GoogleCodeExporter commented 9 years ago
Please attach your odt.

But I'm afraid that I will not have time for the moment to study it-(

Original comment by angelo.z...@gmail.com on 3 Oct 2014 at 7:26

GoogleCodeExporter commented 9 years ago
Issue attachment storage quota exceeded :(

Original comment by xeneizey...@gmail.com on 6 Oct 2014 at 3:21

GoogleCodeExporter commented 9 years ago
For my word file ?

Original comment by gregoire...@gmail.com on 6 Oct 2014 at 3:56

GoogleCodeExporter commented 9 years ago
I need help !

Original comment by gregoire...@gmail.com on 10 Oct 2014 at 7:09

GoogleCodeExporter commented 9 years ago
> I need help !

I think the problem comes from your image, try to remove it and perhaps it will 
work.

I cannot help you more today.

Regard's Angelo 

Original comment by angelo.z...@gmail.com on 10 Oct 2014 at 7:47

GoogleCodeExporter commented 9 years ago
Ok I will try this solution to know if the image is the problem.
I'll get back to you as soon as possible for the answer.
Thanks for your time.

Original comment by gregoire...@gmail.com on 10 Oct 2014 at 12:24