Hi Priyanga,
Thanks for contacting support.
I am afraid currently Aspose.Words for Java does not support the feature to convert MS Word files to PDF_1.3 format. However as a workaround, you may consider converting Word document to PDF format and then try using Aspose.PDF for Java to convert the document to PDF_1.3 format. Please try using following Java code snippet.
We are sorry for this inconvenience.
com.aspose.words.Document doc = new com.aspose.words.Document("c:/ pdftest / WordsOutput.docx");
//com.aspose.words.PdfSaveOptions saveoptions = new com.aspose.words.PdfSaveOptions();
//saveoptions.setCompliance(com.aspose.words.PdfCompliance.PDF_15);
doc.save("c:/pdftest/ConvertedDocument.pdf", com.aspose.words.SaveFormat.PDF);
// load PDF file in Aspose.Ppdf object
com.aspose.pdf.Document pdfdoc = new com.aspose.pdf.Document("c:/pdftest/ConvertedDocument.pdf");
// convert the file to PDF_1.3 format
pdfdoc.convert("c:/pdftest/ConversionLog.txt", com.aspose.pdf.PdfFormat.v_1_3, com.aspose.pdf.ConvertErrorAction.Delete);
// save resultant file
pdfdoc.save("c:/pdftest/DesiredOutput_1_3.pdf");
Hi Priyanga,
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan
Regarding WORDSJAVA-1597, we have completed the work on this issue and come to a conclusion to close this issue as “Won’t fix”. Please use Aspose.Words for Java to convert Word document to PDF format and then use Aspose.PDF for Java API to convert the PDF document to PDF_1.3 format.