atronwestphal / xdocreport

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

Line breaks in document.xml of docx file #482

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a docx file with xdocreport. (attached test.docx)
2. Convert it to pdf (attached test.pdf)
with PdfConverter.getInstance().convert(document, out, options);

What is the expected output? What do you see instead?
Expected: same layout in docx and pdf
Instead: In pfd file there are additional line feeds.

What version of the product are you using? On what operating system?
1.0.4

Please provide any additional information below.
When I open test.docx in Word, save it and convert it to pdf, the additional 
line Feeds are gone. (see attached test2.docx and test2.pdf)

Original issue reported on code.google.com by ofKlopo...@gmail.com on 2 Jun 2015 at 4:33

Attachments:

GoogleCodeExporter commented 9 years ago
I forgot to explain, that the text, that is interpreted different by Word an 
PDF, is created with freemarker. We use the compress directive.

Original comment by ofKlopo...@gmail.com on 4 Jun 2015 at 9:39