質問

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?

役に立ちましたか?

解決 3

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

他のヒント

I have the exact problem. This issue does not appear to be resolved in the newest version. This has to be related to the structure of the generated document or the method of its generation. Has anyone worked out a solution? It seems that tabular data is not well rendered whereas plain text is.

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top