We are using Aspose.Words to create and/or update word documents and save them, it works great, however we would like to be able to save as PDF as well. When we purchased the product we were under the impression this would work, if we get the Aspose.PDF license as well as the Aspose.Words product will the following be possible?
Hi
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your request. Currently Aspose.Words supports direct conversion to PDF (without using Aspose.Pdf). See the following link for more information:
So, you can try using direct method to convert your document to PDF. Here is the code:
Document doc = new Document("in.doc");
doc.SaveToPdf("out.pdf");
Best regards,
I Must be missing something as there appears to be no Document.saveToPdf() function. I have double checked the documentation and it does not show there is a saveToPdf method either.
Hi
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your request. This feature is currently in beta, that is why it is not described in the documentation. However, it is described on in the download notes of the latest version:
http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/entry210245.aspx
Please make sure you are using the latest version. To check version of Aspose.Words for java, unzip Aspose.Words.jar, open META-INF\ MANIFEST.MF file in notepad, you will see the following:
Manifest-Version: 1.0
Specification-Title: Aspose.Words for Java
Implementation-Title: Aspose.Words for Java
Specification-Version: 4.0.0.0
Implementation-Version: 4.0.0.0
Specification-Vendor: Aspose Pty Ltd
Implementation-Vendor: Aspose Pty Ltd
Copyright: Copyright 2003-2009 Aspose Pty Ltd
Best regards,