Docx to PDFA-1A conversion: Footer image is shown in document structure

We have been using Aspose to convert Docx to pdfa-1a.
There are images and text in the footer and header of the Docx document.

Footer and header elements should not be exported as a document structure to the result pdf file.
However, the footer image is exported to a document structure. And if the document has several pages, then the footer image appears in the document structure several times.

Is this known behavior?
Is there any workaround to exclude the footer image from pdf tag structure?
Will this behavior be fixed?

NOTE: all ok with header image and text in footer/header.


Code example:

        var inputFilePath = "test_doc.docx";
        var outputFilePath = "result.pdf";

        var inputDocument = new Aspose.Words.Document(inputFilePath);
        var pdfSaveOptions = new Aspose.Words.Saving.PdfSaveOptions();
        pdfSaveOptions.OutlineOptions.HeadingsOutlineLevels = 9;
        pdfSaveOptions.DisplayDocTitle = true;
        pdfSaveOptions.DmlRenderingMode = Aspose.Words.Saving.DmlRenderingMode.DrawingML;
        pdfSaveOptions.ExportDocumentStructure = true;
        pdfSaveOptions.Compliance = PdfCompliance.PdfA1a;

        inputDocument.Save(outputFilePath, pdfSaveOptions);


result_from_aspose.pdf (24.5 KB)
result_from_word.pdf (191.2 KB)
tags_if_convert_with_aspose.png (8.1 KB)
tags_if_save_from_word.png (4.9 KB)


Thanks for your inquiry. Have you tried the latest version of Aspose.Words for .NET i.e. 19.10 on your end? In case the problem still remains, please ZIP and upload your input Word document you are getting this problem with here for testing. We will then investigate the issue on our end and provide you more information.

I have checked the latest version of Aspose.Words and it seems that it is works good.


Thanks for your feedback. In case you have further inquiries or need any help in future, please let us know.