Skip to main content
New Participant
Jun 28, 2024 11:53 AM UTC
Question

I need to convert word document to PDF

So the requirement is to generate a PDF with dynamic fields, so we created a word document and when we are trying to convert word to PDF, the format is getting chnaged entirely.

Tried 1. PDF from DOCX : The format is completely deteriorate what should we  pass "PDF Options"

Tried 2. PDF from Single DOCX with Fonts , Content not visible in PDF (what should we pass in Font Document)

Tried 3.PDF from HTML : Getting document in one single page

3 replies

davidj137213
Brainy
Jun 28, 2024 2:32 PM UTC

Try with HTML generating your document in a multipage format... Absolute heigth and witdht....... and havinf in mind the page size for an A4 (if that's the case)

anamf0002Author
New Participant
Jun 28, 2024 2:54 PM UTC

Thanks David, but that's the question how to generate in multiple pages since the data is dynamically populated in html template, we don't know how much space it will take

davidj137213
Brainy
Jun 28, 2024 5:01 PM UTC

It can be alittle bit tricky, but if you use marks, and having in mind the front type and size you use.... you can stimate when you are goind to change to a new page...