We currently use Ecrion XF Rendering Server to let our web services convert Word documents to PDF. The documents contain custom XML that is bound to Structured Document Tags.
Ecrion's product is the only software we have found that is able to do this, but the quality of the PDFs generated is mediocre. First of all, it renders the documents differently from Word, secondly it often creates zero byte PDFs because of r开发者_如何学Goandom crashes, thirdly elements from the documents are sometimes missing, for instance tables.
As we need to do the conversion server side, using Office Automation isn't an option. Aspose.Words for .NET creates much better PDF documents, but still doesn't support binding SDTs to custom XML.
Does anyone know of any other products that support this?
docx4j has good support for custom XML data binding, if I may say so myself.
Although it is open source Java, a number of people use it in a .NET environment via IKVM.
It also generates PDF output. The PDF output isn't perfect, but does include tables, and shouldn't include random crashes :-) Being open source, you could also modify it to address any issues you encounter.
精彩评论