Issue converting content from table in a content control to PDF

Hi,

Our developers have identified an issue when converting a Word table to PDF using the code below.

The content is displayed in Word but then isn’t displayed in the PDF.

Example Word and PDF files are attached.

Cheers,
Chris

public byte[] ConvertDocxToPdf(byte[] docxStream)
{
    string docxTempFile = this.PersitTempFile(docxStream);
    // Load the document from disk.
    Document doc = new Document(docxTempFile);
    string pdfFile = Path.GetTempPath() + Path.GetFileNameWithoutExtension(docxTempFile) + ".pdf";
    // Save the document in PDF format.
    doc.Save(pdfFile);
    return File.ReadAllBytes(pdfFile);
}

Hi Chris,

Thanks for your inquiry. I
have tested the scenario and have managed to reproduce the same issue
at my side. For the sake of correction, I have logged this problem in
our issue tracking system as WORDSNET-10983. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-10983) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.