Hi,
I'm generating a word docx using docx from dynamic template and converting the docx to pdf using PDF from DOCX smart service. I'm able to generate the docx properly but while converting to PDF the text is getting overlapped in single line. can anyone help me on how to convert DOCX (generated using docx from dynamic template) into pdf with proper format.
Thanks in Advance.
Discussion posts and replies are publicly visible
Can you please also share the Docx output and the template you are using?
Where is this thing happening? On the first node (in docx) or on the second node (in PDF)? Based on where it is happening, you will have to check your template to see if you have any specific formatting applied that is causing this. Maybe the line spacing or something else.
In the second node (PDF). in template i used merge fields in few places and prepared XMLmodel for that
Hello kirank4843 can you provide a screenshot or any details on your docx template. This is a common issue that we face when converting DocX to PDF.A small trick to avoid it is that You can use a table for your text in your docX template so that the alignment issues or overlapping can be avoided while converting from DocX to PDF.
Hello Konduru Chaitanya ,
I am facing the same issue. The Docx gets generated with proper formatting, but while generating the PDF the contents tries to get placed at the same line thereby making the PDF non-readable for users. I have heard about using a table for the text in the docX template to avoid the overlapping issue. Could you please explain on how to achieve this ?
I have attached the screenshot of the PDF generated for your reference.
Regards,
Why don't you generate the PDF from HTML? IN HTML you have more control over the format , size and can easily avoid overlapping issues...