Embedding word document in web form

自古美人都是妖i 提交于 2019-12-24 18:27:48

问题


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.


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/1905694/embedding-word-document-in-web-form

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!