在浏览器中打开的Word文档 [英] Open word document in browser
问题描述
我已经成功地做了code,显示在浏览器中,而不是打开打开/保存对话框中的PDF文件。
现在,我被困在浏览器中显示Word文档。我想显示在Firefox,IE7 +,铬等word文档。
I have successfully done code to display pdf file in browser instead of open "Open/Save" dialog. Now I stuck on to display word document in browser. I want to display word document in firefox, IE7+, chrome etc.
任何一个可以帮助。我总是收到打开/保存对话框,而在浏览器中显示Word文档。
Can any one help. I am always getting "Open/Save" dialog while displaying word doc in browser.
推荐答案
您不能没有写每个浏览器能够理解的格式,以及如何使其插件显示在浏览器中的Word文档内联。
You can't display a word document inline in the browser without writing a plugin for each browser that can understand the format and how to render it.
这是的可能的写每个浏览器这样的插件,但它是每个浏览器一大块的工作,更不用说实际的解析器和渲染引擎。这是很容易在几年的工作。
It is possible to write such a plugin for each browser, but it is a large piece of work for each browser, not to mention the actual parser and the rendering engine. This is easily a few years of work.
这篇关于在浏览器中打开的Word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!