怎样能在网页上显示一个word文档呢

怎样能在网页上显示一个word文档呢??

1、打开Word文档,单击菜单栏中的“文件”→“打开”对话框; 

2、在“文件名”编辑框中手动输入网页地址,并单击“打开”按钮;

3、Word2003开始连接Web服务器,用户可以在Word窗口中看到目标网页内容;

4、并且可以进行编辑、复制、删除和保存等操作,如图所示;

5、选中需要复制的内容,并执行复制操作;

6、然后新建一个Word文档,将复制的内容粘贴到新的Word文档中,保存即可。

温馨提示:答案为网友推荐,仅供参考
第1个回答  2014-07-03
样儿..帮我列为最佳答案哈。.我告诉你。. 这也是我关注的问题,我以前有javascript写过一端,但是个虚假的保留,只是在本地端的痕迹保留,但无法实现对服务器的文件处理,我把我以前的代码贴出来,我们共同探讨一下用asp来实现: <script language="javascript" run ="client"> var Excelsheet; var wordflag=0; var myRange; function OpenWord() { Excelsheet = new ActiveXObject("Word.Application"); Excelsheet.Application.Visible = true; var mydoc=Excelsheet.Documents.Add("",0,1); myRange =mydoc.Range(0,1) if(myEditor.document.body.innerText=="") { myEditor.document.body.innerText=" " } var sel=myEditor.document.body.createTextRange() sel.select() myEditor.document.execCommand('Copy') sel.moveEnd('character') myRange.Paste(); Excelsheet.ActiveWindow.ActivePane.View.Type=2 wordflag=1 if(myEditor.document.body.innerText!="") { Excelsheet.Activedocument.showgrammaticalerrors=true; Excelsheet.Activedocument.showspellingerrors=true; Excelsheet.Activedocument.TrackRevisions = true; Excelsheet.Activedocument.PrintRevisions = true; Excelsheet.Activedocument.ShowRevisions = true; } } </script> 上面完成下载 <script language="javascript" run ="client"> function LoadWord() { onerror=errormsgl; if(wordflag==0) { alert("请先在Word中打开文档编辑后再更新") return true; } ExcelSheet.Selection.WholeStory() ExcelSheet.Selection.Copy() ExcelSheet.Selection.Delete() myRange.Paste() newDocument() myEditor.document.execCommand('Paste') restoreimg() } </script> 上面完成上载。 但对服务器的word文档没能做到痕迹保留!本回答被提问者采纳
相似回答