简体   繁体   English

在网页中嵌入仅查看Word文档

[英]Embed View Only Word Document in Webpage

Working a on a Google Web Toolkit project. 在Google Web Toolkit项目上工作。 I want to show a word document in a webpage. 我想在网页中显示Word文档。 Does not have to be the MS Word 2007 view. 不必是MS Word 2007视图。 Any way to do this? 有什么办法吗?

I'm afraid you can't display a Work document in a webpage without using some kind of ActiveX plugin. 恐怕您如果不使用某种ActiveX插件就无法在网页中显示Work文档。 And that solution would work only for your clients that use IE on Windows... 而且该解决方案仅适用于在Windows上使用IE的客户。

Why don't you use RPC; 为什么不使用RPC? whereby you send the Word Document to the server first, upon which, it would be converted into HTML and sent back to the Client. 这样,您首先将Word文档发送到服务器,然后将其转换为HTML并发送回客户端。 You can refer to this question to know how to convert the word document into HTML. 您可以参考问题,以了解如何将Word文档转换为HTML。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM