0
Generated Word Document different from PDF
New Here
,
/t5/acrobat-services-api-discussions/generated-word-document-different-from-pdf/td-p/13325136
Nov 06, 2022
Nov 06, 2022
Copy link to clipboard
Copied
I have a Word Template that I fill with data using the Document Generation API.
There is a conditional in the footer that looks for the last page of the document and only then adds the footer text.
When I generate a Word Document (.docx) out of my JSON data and the .docx template, there is no issue.
But generating a .pdf with the same data and same template messes up the pagination and the footer.
My thoughts: The API somehow generates an extra page, on which the footer would be visible. But because this page is empty, the page is removed, thus the footer is not shown anymore?!
Any idea how the generated .pdf can be so different then the generated .docx?
TOPICS
Java SDK
,
PDF Services API
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

