Multicolumn, footnote issue when saving from WORD to PDF

We are creating a document with a page setup of multiple columns, then we add a continues break set the the section to one column and then we add footnotes and endnotes
When we save the documen to WORD the document , we notice that the document does column balancing as expected and the foonotes and endnotes are shown as the are supposed.

BUT, when we save the document to PDF, the document does not show the column balancing, and also it add page breaks between the footnotes and endnotes causing several empty pages

@marco.zapata.dfin

When converting a Word document with multiple columns and footnotes to PDF using Aspose.Words, you may encounter issues with column balancing and unexpected page breaks between footnotes and endnotes. Here are some steps you can take to address these issues:

  1. Check Footnote and Endnote Positioning: Ensure that you are correctly setting the positions of footnotes and endnotes in your document. Aspose.Words allows you to specify whether footnotes appear at the bottom of the page or beneath the text. You can set this using the FootnotePosition property.

  2. Load and Modify the Document: When loading your Word document, make sure to manipulate it correctly to maintain the desired layout. You can use the following code snippet to set the footnote and endnote positions:

    Document doc = new Document("YOUR_DOCUMENT_PATH");
    foreach (Section section in doc.Sections)
    {
        section.FootnoteOptions.Position = FootnotePosition.BeneathText; // or FootnotePosition.BottomOfPage
        section.EndnoteOptions.Position = EndnotePosition.EndOfDocument; // or EndnotePosition.EndOfSection
    }
    doc.Save("OUTPUT_PDF_PATH", SaveFormat.Pdf);
    
  3. Review Column Settings: Ensure that your document’s column settings are correctly applied before saving to PDF. If the columns are not balanced as expected, you may need to review the section breaks and ensure that they are set up correctly.

  4. Test with Different PDF Settings: Sometimes, adjusting the PDF save options can help resolve layout issues. Experiment with different settings in the PdfSaveOptions class to see if it improves the output.

By following these steps, you should be able to achieve better results when converting your multi-column Word document with footnotes and endnotes to PDF. If issues persist, consider checking the Aspose documentation for more detailed guidance on handling footnotes and endnotes.

Sources:
[1]: Set Footnote And End Note Position - Aspose

@marco.zapata.dfin Could you please attach your output DOCX and PDF documents here for testing? We will check the issue and provide you more information.

Hi @alexey.noskov , sorry for the delayed response here are the requested files.

EndNotes_Columns (89).pdf (60.3 KB)
EndNotes_Columns (4).docx (13.9 KB)

@marco.zapata.dfin
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-27438

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.