We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert DOCX with revisions to PDF missing format

Aspose.Words for Java v17.6

Hi,

I am trying to convert DOCX with revisions to PDF, but the PDF generated is missing some format.
Please see attached the files used to convert from DOCX to PDF.WordToPDF.zip (192.3 KB)

import com.aspose.words.Document;

public class TestWordToPdf {

public static void main(String[] args) throws Exception {
    Document dstDoc = new Document("E:\\Download\\WordToPDFMissingFormat.2pdf.docx");

    if (dstDoc.hasRevisions()) {
        dstDoc.acceptAllRevisions();
    }

    dstDoc.save("E:\\Download\\WordToPDFMissingFormatASPOSE.pdf");

}

}

@cpatricio76

Thanks for your inquiry. We have tested the scenario and noticed the reported formatting issue in resultant PDF file. We have logged a ticket WORDSNET-15583 in our issue tracking system for further investigation and rectification.

We are sorry for the inconvenience.

Best Regards,

@tilal.ahmad

Just to confirm, the problem occurs in Aspose.Words for Java.
Ticket that you created mention WORDSNET-15583. Wouldn’t that be WORDSJAVA-15583?

@cpatricio76

Thanks for your inquiry. Please note our Aspose.Words for Java is autoported version of Aspose.Words for .NET. So at first place issue will be fixed in .NET API and will be ported to Aspose.Words for Java. Hopefully it clears the confusion.

Best Regards,

@cpatricio76,

The issues you have found earlier (filed as WORDSNET-15583) have been fixed in this Aspose.Words for .NET 17.9 update and this Aspose.Words for Java 17.9 update.

@awais.hafeez

Just tested Aspose.Words for Java 17.9 and issue is fixed.
Thank you.