cognidox / OfficeToPDF

A command line tool to convert Microsoft Office documents to PDFs
https://www.cognidox.com/
Other
616 stars 141 forks source link

Word to PDF output looks difference when word has border line #16

Closed poweron-th closed 6 years ago

poweron-th commented 6 years ago

After I ran command line "OfficeToPDF.exe ", I found the bottom of each page (PDF) look different from the word document e.g. the border line on the bottom disappeared. Kindly please advise.

Test-converter.docx test1.pdf

vittala commented 6 years ago

Hi

Have you tried using the /word_field_quick_update switch when converting.

By default, when we look through the document sections for fields to update, Word has an annoying bug of creating header and footer spacing. The /word_field_quick_update flag avoids this by having Word do a field update (at the risk of some field updates being skipped)

Regards Vittal

poweron-th commented 6 years ago

Hi,

Thank you very much for your fast response. With your advice, my problem was resolved. Cheers!! Have a nice day.