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

Free Support Forum - aspose.com

Question about Html

I am lookin at Aspose.Total for Jave and I was wondering if it is able to convert doc. file and pdf files to HTML format? It show that the .NET version does but does the Java version do the same thing?

This message was posted using Email2Forum by haley.stuart.

Thanks for your inquiry. You can convert DOC files to HTML using Aspose.Words for java. Here is code that demonstrates how to achieve that.

// Open the document
Document doc = new Document("C:\\Temp\\in.doc");
// Save output doc
doc.save("C:\\Temp\\out.html", SaveFormat.HTML);

You can convert PDF to HTML using Aspose.Recognigion but unfortunately only .NET version is available at the moment.
Best regards.