Open GoogleCodeExporter opened 9 years ago
Hi Julie,
At first I have added your docx in our
JUnithttps://code.google.com/p/xdocreport/source/browse/thirdparties-extension/o
rg.apache.poi.xwpf.converter.pdf/src/test/java/org/apache/poi/xwpf/converter/cor
e/AbstractXWPFPOIConverterTest.java (see Issue433 JUnit test method).
But I have no time to fix it. I suspect that problem is about the image used in
your header. I think if you remove your image and you set a text it should work.
Problem comes from with
https://code.google.com/p/xdocreport/source/browse/thirdparties-extension/org.ap
ache.poi.xwpf.converter.pdf/src/main/java/org/apache/poi/xwpf/converter/pdf/inte
rnal/elements/StylableDocument.java#396 which returns the height of the header.
If I remember with your docx, the iText header contains a PdfTable which
contains a PdfRow which contains a PdfCell which contains text and image. It's
the problem I suppose but no time to find a fix today.
Any contribution are welcome!
Original comment by angelo.z...@gmail.com
on 18 Aug 2014 at 1:24
Original issue reported on code.google.com by
julie.no...@gmail.com
on 15 Aug 2014 at 2:19Attachments: