Exception while saving a specific document to docx

Office Printer_Range guide_EM.PDF (3.4 MB)

Using the Aspose.PDF.Drawing 26.2.0 and the attached PDF.
When trying to save the document with DocSaveOptions.DocForm.DocX and Mode DocSaveOptions.RecognitionMode.EnhancedFlow, the Document Save method throws an “Object reference not set to an instance of an object” exception and the Save function fails.

The Save function succeeds with RecognitionMode.Textbox and RecognitionMode.Flow.

Here is a code to reproduce:

        var doc = new Pdf.Document("Office Printer_Range guide_EM.PDF");
        var docOptions = new DocSaveOptions
        {
            Format = DocSaveOptions.DocFormat.DocX,
            Mode = DocSaveOptions.RecognitionMode.EnhancedFlow,
        };

        using var ms = new MemoryStream();
        doc.Save(ms, docOptions);     // Throws an exception.

@tfipsrd
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): PDFNET-61938

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.