Converting plain pdf to pdf/ua compliant document

Hi, i am trying to convert plain Aspose.Words MailMerge generated pdf’s to pdf/ua compliant documents, i am using the below small code in c# to do the job

    private void ConvertToPdfUA(Stream plainPdf, Stream output)
    {
        var document = new Aspose.Pdf.Document(plainPdf);

        document.Convert(output, PdfFormat.PDF_UA_1, ConvertErrorAction.Delete);
        document.Save(output);
    }

it seems to do the job on ex. Metadata and Document Settings, but lack the Content, there i have problem with “Text object not tagged” and “Image object not tagged”, how to deal with this issue?

Running version 20.8.0 of Aspose.PDF.

Any help will be highly appreciated.

@HBI

Can you please share the details of issue in the form of source file, generated output file and snapshots of the issue.

Hi,

i have now upgraded to Aspose.Pdf version 21.9.0, but with same result.

I attach the input pdf and output pdf and the results when running the PDF Accessibility Checker 3

BR.

Hank

PDF Accessibility Checker 3 output.PNG (159.8 KB)

plainPdf_In.pdf (88.1 KB)

PdfUA_Out.pdf (96.1 KB)

@HBI

A ticket with ID PDFNET-50612 has been created in our issue tracking system to further investigate the issue on our end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.