Is there an alternative to open-xml sdk to generate word documents

久未见 提交于 2019-12-04 13:47:22

I've written a blog post series on generating Open XML WordprocessingML documents. The approach that I take is that you create a template Word document, insert content controls, and then write XPath expressions in those content controls to specify the XML to pull from a source XML data file. I've also explored another approach where you write C# code in Open XML content controls. That approach also works.

http://ericwhite.com/blog/map/generating-open-xml-wordprocessingml-documents-blog-post-series/

-Eric

You might look at http://docx.codeplex.com/

On Java, you could use docx4j. If you were brave, you could create DLLs for it via IKVM...

I decided to go with Aspose Words. It is really fast and not very demanding on resources (CPU, memory). It has the disadvantage that it is quite expensive. I also investigated Softartisans Office writer. The posibilities are the same but due to fact that the company I'm currently working for already used other Aspose components we decided to go with Aspose Word.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!