If there is doc or docx file with a footer that contains tab(\t) and newline (\r) at the end of footer text. And that document is converted to pdf then that creates the new blank page in new pdf.
If I open the same document with Microsoft word or OpenOffice and save as pdf it successfully converts it without adding an extra page.
Question1: Is there any configuration available that can be injected in Document object so that it trims those tabs or return characters at the end of the footer.
Question2: Before conversion, if I want to trim those from the content of footer keeping all the formatting of the footer, how can I do that? I managed to get HeaderFooter object and collection of paragraphs in it, but could not find any example to update content without losing the original formatting,
Issue tested with today’s (08/31/2017) Aspose Java and Pdf lib too.
Kindly let me know the answers with your earliest convenience.