Closed GoogleCodeExporter closed 9 years ago
Your docx seems very strange. It doesn't contains w:sectPr in your
word/document.xml. This sectPr gives the width/height of the page. Without that
I don't know how to retrieve it?
Have you used MS Word to create this word? If yes, which version do you use?
Original comment by angelo.z...@gmail.com
on 27 Jan 2014 at 8:57
Original comment by angelo.z...@gmail.com
on 27 Jan 2014 at 8:57
Thanks for taking a look.
I was using Docx4j and the word file I used comes from one example there. I
used my Mac MS word 2011 to save it again and now xdocreport can process it.
Can you please let me know how you debug it? Otherwise please feel free to
close this bug .
Original comment by alexonho...@gmail.com
on 2 Feb 2014 at 5:21
It's the first time that I have this case (word/doucment.xml doesn't contains
w:sectPr) and as I have explained you, I don't know which width/height I must
use. I close this issue, but If some people are the same problem, I will study
it more how to fix it. But if you use MS Word you should not have this problem.
I have noticed too that you use ${colour} in your docx without mergefield. You
will have trouble if you don't use mergefield to merge your docx with java
context. I suggest you to read
https://code.google.com/p/xdocreport/wiki/DocxReportingQuickStart
Original comment by angelo.z...@gmail.com
on 2 Feb 2014 at 7:18
cleanup
Original comment by pascal.leclercq
on 10 Oct 2014 at 7:37
Hi I am also facing the same issue (NullPointerException).
There are two ways to create docx file:
1) Generating docx file using apache poi. while trying to convert that generate
docx file to pdf i am getting exception.
2) Create docx file using MS Office, i am not getting any exception and pdf
conversion is successful..
Can you please help me to resolve this issue?
Original comment by bujji.mc...@gmail.com
on 9 Jun 2015 at 9:27
I have no time to support that today, any PR are welcome!
Original comment by angelo.z...@gmail.com
on 9 Jun 2015 at 4:03
Original issue reported on code.google.com by
alexonho...@gmail.com
on 26 Jan 2014 at 9:50Attachments: