Word文档查看器浏览器插件
是否有浏览器插件或扩展程序允许用户在浏览器中查看 .doc 文件?
我需要在我的应用程序中嵌入一个文档查看器。到目前为止,我尝试使用像谷歌文档这样的服务,但由于一些安全问题,这个解决方案不适用于我们的应用程序。
Is there a browser plugin or an extension that allows the user to view .doc files in browser?
I need to embed in my application, a document viewer. So far, I tried using services like google docs, but this solution doesn't work for our application, because of some security problems.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您了解 Office Web Apps 吗? Microsoft 开发了类似于 Google Docs 的东西,您可以使用 Word Web Application 来查看 Word 文件。它几乎会显示任何内容 - 但离线版本的许多编辑功能不可用。
如果您只是寻找查看器,请搜索“Word ActiveX Viewer”你会发现很多(商业)观众。
Do you know about the Office Web Apps? Microsoft developed something similar to Google Docs and you can use the Word Web Application to view Word files. It will pretty much display anything - a lot of editing functions from the offline version are not available though.
If you are just looking for a viewer search for "Word ActiveX Viewer" and you will find plenty (commercial) viewers.
要让 IE 在浏览器中而不是在单独的 winword.exe 中打开 .doc,您需要在客户端定义关联。
由于 .doc 文件是 HTML 的外部资源,因此它会将文件下载到其临时文件中,然后尝试启动它。它将使用与其关联的默认程序启动它。
要控制此行为,请查看:
http://www.shaunkelly.com/ word/sharing/opendocinie.html
To have IE open the .doc within the browser and not in a separate winword.exe, you need to define the association at client end.
As .doc file is an external resource to HTML, it would download the file into its temp, and then attempt to launch it. It would launch it using the default program that it is associated with.
To control this behavior, please have a look at:
http://www.shaunakelly.com/word/sharing/opendocinie.html
我以为 Internet Explorer + Microsoft Office 默认情况下会这样做?
我可以肯定地告诉您,除了将文档转换为 html 之外,您不会获得跨浏览器、跨平台的解决方案。
既然你说它仅供观看,那么这似乎是正确的方法。
I thought Internet Explorer + Microsoft Office used to do this by default?
I can for sure tell you that other than converting the doc to html you won't get a cross-browser, cross-platform solution.
Since you are saying it's for viewing only, that would seem like the way to go.