• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Generated Word Document different from PDF

New Here ,
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

Views

34

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources