plancys
plancys

Reputation: 3923

Generate document from docx template with conversion to PDF - text overlaps each other

I have a strange problem. In my application I have couple .docx template. Genering .docx files works fine but when I convert those to .PDF text behave strange.

This is .docx file:

This is docx file

and .PDF file looks in that way: enter image description here

I using xdocreport library with .docx templates How to fix this?

Upvotes: 2

Views: 1724

Answers (2)

plancys
plancys

Reputation: 3923

I change xdocreport version from 1.0.2 to l.0.0 and now it works.

Upvotes: 0

Angelo
Angelo

Reputation: 2125

Which version of XDocReport do you use? If you are using 1.0.3 (not-released), I have improved the line height of the text for PDF converter. Perhaps there are a bug? I suggest you to create a XDocReport issue by attaching your docx which causes the problem.

Upvotes: 0

Related Questions