Word XML to PDF

I have an eval of your product and need to know know to product a PDF documents from an existing Word Document in Word XML format. At some point the Word XML Document will be saved in a database and we will read the document from the table to the PDF writer.

This message was posted using Support 2 Forum

Thank you for your interest in Aspose.Words.

Aspose.Words is capable of opening and saving WordML documents to files or byte streams. Which means you can use Aspose.Words to save and load WordML documents to/from database BLOBs.

Aspose.Words is also capable to export word documents loaded from WordML to PDF via Aspose.Pdf library.

Aspose.Words cannot be used in interaction with PDF Writer because Aspose.Words is not yet capable to output content to printer drivers, and PDF Writer is a printer driver. This functionality will be added later this year.

Hope this answers your questions. Please let me know if you need any additional info.

Best regards,

Is there C# code sample that can take a WordML document from a database file then show how to generate a PDF Document?

You can find the code that can be used to load the document from database BLOB here:

The document can be in any of the following formats: DOC, WordML, RTF, HTML.

To code to convert the loaded document to PDF can be found here:
https://docs.aspose.com/words/net/convert-a-document-to-pdf/

Hope this helps. Please let me know if you have further questions.

Best regards,

Is this applies to the java version of Aspose Word ?

thnx.

No, Aspose.Words for Java does not support PDF conversion yet.