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

Free Support Forum - aspose.com

Java version and pdf

Hi,

I read through the api, and found that the .net version had saveAsPdf, while the java version only got a save, with a format specification including among others rtf and html, but not pdf, and not any format that can be imported by Aspose.PDF.

Will the java version support saveAsPdf anytime soon, and is there any workaround available?

(and is this related to font handling?)


This message was posted using Aspose.Live 2 Forum

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your interest in Aspose.Words for Java. The latest version of Aspose.Words for Java (4.0.2) already supports direct converting to PDF in beta. You can download the latest version from here:

http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/category1378.aspx

Please see the code example:

Document doc = new Document("C:\\Temp\\in.doc");

doc.saveToPdf("C:\\Temp\\out.pdf");

Best regards,