读取DOC文件 [英] Reading DOC Files

查看:99
本文介绍了读取DOC文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想从.doc文件中保存在数据库中的二进制数据中读取文本.我无法将文件保存到磁盘以便读回.
有什么办法吗?我已经从流中读取了.docx文件,但现在想读取.doc.

问候.

Hi guys,

I want to read text from binary data which was saved in database from the .doc file. I cannot save the file to disk in order to read it back.
Is there any way? I have read the .docx file from stream but now want to read .doc.

Regards.

推荐答案

所以我了解的是,您有整个docx文件在内存中(从数据库中读取),您不想保存将其保存到磁盘并通过Word打开它,而只想从中提取文本数据.

看看本文是否对您有帮助:

http://www.codeproject.com/KB/office/ExtractTextFromDOCXs.aspx [ ^ ]
So what I understood is that you have the entire docx file in memory (that you read from the database), you don''t want to save it to disk and open it via Word, and instead want to extract just the text data from it.

See if this article helps you with this:

http://www.codeproject.com/KB/office/ExtractTextFromDOCXs.aspx[^]


感谢亲爱的,但是它从docx文件中读取文本,我想要读取的是
.doc文件中的文本.有帮助吗?
问候.
Thanks dear, but it reads text from a docx file what i want is to read
text from .doc file . any help ?
regards.


这篇关于读取DOC文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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