解析Word(.doc/.docx)文档 [英] Parse Word (.doc /.docx) document

查看:72
本文介绍了解析Word(.doc/.docx)文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法/最佳解决方案来解析c#/asp.net中的.doc/.docx?

Is there a way/best possible solution to parse a .doc / .docx in c#/asp.net?

我的文档如下:

(repeater)

chapter(text)

picture

text

(/repeater)

解析器读取图片非常重要.

It is very important that the parser readers the picture.

推荐答案

在以下问题中,您可以找到常规单词doc解析: https://msdn.microsoft.com/zh-cn/library/office/hh965732(v = office.14).aspx

in the following question you can find a general word doc parsing: How to parse text from MS Word document to string and in this MSDN page you can find how to handle pictures in the document: https://msdn.microsoft.com/en-us/library/office/hh965732(v=office.14).aspx

如果需要特定帮助,请发布代码示例.

post your code example if you need a specific help.

这篇关于解析Word(.doc/.docx)文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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