如何从c#中的openxml内容制作word文档? [英] How to make word document from openxml content in c#?

查看:392
本文介绍了如何从c#中的openxml内容制作word文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个word文档,该文档包含表格。迭代表和行后,我得到表格单元格的内容,这是一个 OpenXml 数据。



我需要转换它OpenXml数据为html。或者如何使用 OpenXml 数据创建Word文档



当我读取整个word文档数据时,我使用<成功转换为html b> OpenXmlPowerTools



请给我任何完成上述任务的提示







先谢谢

I have a word document and that document contains tables. after iterating tables and rows, i am getting "Content of a table cell" which is an OpenXml data.

I need to convert that OpenXml data to html. OR How to create an word document using the OpenXml data

While i read entire word document data and i am successfully converted to html using OpenXmlPowerTools

Please give me any tips for doing the above task



Thanks in Advance

推荐答案

看看这里:将Open XML WordprocessingML转换为XHtml [< a href =http://blogs.msdn.com/b/ericwhite/archive/2008/10/20/eric-white-s-blog-s-table-of-contents.aspx#Open_XML_to_XHtml\"target =_ blank title =新窗口> ^ ]。我希望它可以帮助您找到解决方案。
Have a look here: Transforming Open XML WordprocessingML to XHtml[^]. I hope it might help you to find a solution.


这篇关于如何从c#中的openxml内容制作word文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆