将Word文档嵌入到Web表单中

发布于 2024-08-14 12:35:39 字数 88 浏览 2 评论 0原文

我需要以ASP.NET形式显示word文档。另外,原始的Word格式必须保留。简而言之,我必须以编程方式将 Word 文档嵌入到 Web 表单中。有人可以帮忙吗?

I have a requirement to display word document in ASP.NET form. Also, the original word format has to be retained. In a nutshell i have to embed a word document in a web form programatically. Can someone please help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

哭泣的笑容 2024-08-21 12:35:39

如果浏览该网站的所有客户端都将安装 Word 并使用 Internet Explorer,您可以 将其嵌入 ActiveX 对象。如果不满足这些要求,您可能需要将其转换为浏览器能够显示的某种更标准的格式,例如 jpeg 图像。您还可以查看此选项

If all the clients that are browsing the site are going to have Word installed and use Internet Explorer, you could embed it with an ActiveX object. If these requirements are not met you might need to convert it to some more standard format that a browser is capable of displaying such as a jpeg image. You may also look at this option.

逆夏时光 2024-08-21 12:35:39

有 html 嵌入标签选项可将 pdf 嵌入到 html 页面中。因此,您可能需要先将 doc 转换为 pdf。

检查这里。 http://blog.flashcolony.com/?p=244

这对我有用。但可能需要更新版本的 Adob​​e Reader。

There are html embed tag options to embed pdfs into the html page. So probably you need to convert the doc into pdf before.

Check here. http://blog.flashcolony.com/?p=244

This works for me. But may need newer versions of Adobe Reader.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文