Using only Aspose.Word to convert MS Office docs to PDF/A docs

Hi,


I would like whether it’s possible to convert a Microsoft Office document (.docx, .xlsx, .pptx) directly to a PDF/A document, using ONLY the Aspose.Word .NET API.

The API documentation (which i’ve been referred to by the Aspose Sales team) does not list any method capable of performing the aforementioned action. However, it does describe the .Save() method which allows one to save the document as a regular PDF… unfortunately, this does not meet the requirement.

As per my understanding, the only way to achieve this is a two-step process which not only requires Aspose.Word (to convert an MS Office document to a PDF document) but also requires Aspose.Pdf (to convert the newly generated PDF to a PDF/A document).

Please confirm if my assumption is correct.

Thank you and have a great weekend!

Sincerely,
Gary

Hi Gary,

You cannot use MS Word to open Excel or PowerPoint documents. Same is the case with Aspose. You need Aspose.Words to convert Word documents to PDF, Aspose.Cells to convert Excel documents to PDF and Aspose.Slides to convert PowerPoint documents to PDF. Only Aspose.Words will not be enough to convert all documents.

Regarding PDF/A conversion, the Save methods exposed by Aspose.Words, Aspose.Cells and Aspose.Slides allow you to specify save options. You can use PdfSaveOptions exposed by Aspose.Words and Aspose.Cells, and PdfOptions exposed by Aspose.Slides to set Compliance to PDF/A. Aspose.Pdf is not required in this case to convert to PDF/A.

When three or more Aspose APIs are required in your applications, it is recommended to go for Aspose.Total in such cases because there is not much difference in price if you go for Aspose.Total or three individual APIs. Once you have Aspose.Total, you can also use Aspose.Pdf to convert PDF to PDF/A as it supports more options while converting PDF to PDF/A.

Best Regards,

Great! Very clear explanation. Thank you very much.


Kind regards,
Gary