Converting Word document to PDF with footer does not render correctly

When converting a Word document that has footer with images and text to PDF, the document does not get rendered correctly. First few lines of the second page gets rendered on the first page. Below is the sample code used to save word document as PDF.

Document wordDoc = new Document();
PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.SaveFormat = SaveFormat.Pdf;
saveOptions.HeaderFooterBookmarksExportMode = HeaderFooterBookmarksExportMode.All;
saveOptions.DownsampleOptions.DownsampleImages = false;                
wordDoc.Save(textBoxPDFFile.Text, saveOptions);

Input Word file
AsposeWordTest.docx (197.2 KB)

Output PDF file
AsposeWordToPDFOutput.pdf (149.7 KB)

@nfrancis The problem occurs because the current version of Aspose.Words does not support positioning floating objects in header/footer upon rendering. This issue is logged in our defect database as WORDSNET-9957 and is already resolved in the current codebase. The fix will be included into the next 23.5 (May 2023) version of Aspose.Words. We will keep you updated and let you know once it is released.

The issues you have found earlier (filed as WORDSNET-9957) have been fixed in this Aspose.Words for .NET 23.5 update also available on NuGet.