Hi,
Thanks for considering Aspose.
You can try using the following code snippet to accomplish your requirement. [C#]
Document doc = new Document(@"D:\pdftest\Hebrew1.docx");
doc.Save(@"D:\pdftest\word2pdfconversion\08ML132983A_assignnew.xml", SaveFormat.AsposePdf);
// New a pdf object
Aspose.Pdf.Pdf pdf11 = new Aspose.Pdf.Pdf();
// Bind content from the named xml file.
pdf11.BindXML(@"D:\pdftest\word2pdfconversion\08ML132983A_assignnew.xml", null);
pdf11.Conformance = PdfConformance.PdfA1A;
pdf11.Save(@"D:\pdftest\Hebrew12_conventional.pdf");
In case it does not satisfy your requirement or you’ve any further query, please feel free to contact.
PS, The conventional method of using Aspose.Words and Aspose.Pdf for Word to PDF conversion is not recommended. But your requirement of generating PDF/A-1a can only be accomplished by this method.
For more information on how to generate PDF/A-1 compliant documents using Aspose.Pdf, please visit How to create PDF/A-1 with Aspose.Pdf
Hello,
Is it possible to do the same thing using java ? Because I can’t find AsposePdf value doesn’t exist in the SaveFormat classe (using the latest Aspose.Words.Java10.0.0beta).
How can I proceed otherwise to generate PDF/A-1a from a word template ?
Thanks
Vincent
Hi Vincent,
Thank you for your interest in Aspose.Words. Unfortunately, currently, Aspose.Words does not support converting to PDF/A-1a compliance. But we surely add this feature in one of future versions and immediately let you know once it is available. Cannot give you a solid estimate, unfortunately.
Best regards,