Hits: 5

微软的方案:Office Online平台

http://view.officeapps.live.com/op/view.aspx?src=要查看的文档地址

直接用office引擎驱动

举例

http://view.officeapps.live.com/op/view.aspx?src=https://10001.xslinc.com/1.doc

如果要编辑,需要登录onedrive(需要翻墙)

谷歌的方案:

谷歌chrome浏览器,安装插件Chrome Office Viewer (Beta)(进google chrome网上应用店里搜),然后右键office,打开方式,选chrome即可在浏览器中打开文档。

Google Docs Viewer

https://docs.google.com/viewer?url=要查看的文档地址

好像是转成pdf再显示

举例(需要翻墙)

https://docs.google.com/viewer?url=https://10001.xslinc.com/1.doc

I Doc View 在线文档预览不需要安装任何软件 测试链接限制1小时内有效(太小气,放弃)

支持格式
文档:doc,docx,wps,odt,rtf,xls,xlsx,et,ods,csv,ppt,pptx,dps,odp,pdf,txt
图片:jpg, jpeg, gif, png, bmp, tif, tiff
音频:mp3, m4a, mid, wma
视频:mp4
压缩文件:zip, rar, tar, 7z
图纸:dwg, dxf, dwf

http://api.idocv.com/view/url?url=要查看的文档地址

举例

http://api.idocv.com/view/url?url=https://10001.xslinc.com/1.doc

永中DCS在线文档预览

本身的网址会被隐藏;

http://www.yozodcs.com/page/example.html

http://dcs.yozosoft.com/examples.html

本地部署

kkFileView(Docker部署)

https://gitee.com/kekingcn/file-online-preview

https://gitee.com/kekingcn/file-online-preview/wikis/pages?sort_id=159257&doc_id=106093     kkFileView部署指南

docker pull keking/kkfileview:v2.1.1 拉取镜像

docker run -d -it -p 8012:8012 keking/kkfileview:v2.1.1  启动容器

http://192.168.31.225:8012/onlinePreview?url=要查看的文档地址

https://office.xslinc.com/onlinePreview?url=要查看的文档地址

举例

http://192.168.31.225:8012/onlinePreview?url=https://10001.xslinc.com/1.doc

https://office.xslinc.com/onlinePreview?url=https://10001.xslinc.com/1.doc

https://fb.xie3fa.top/onlinePreview?url=https://10001.xslinc.com/1.doc

https://yunhk.xie3fa.top:8012/onlinePreview?url=https://10001web.xie3fa.top/1.doc

https://fv.xie3fa.top/onlinePreview?url=https://10001web.xie3fa.top/1.doc

https://fv.xie3fa.top/onlinePreview?url=https://10001web.xslinc.com/1.doc

https://fv.xie3fa.top/onlinePreview?url=https://10001.xslinc.com/1.doc

 

https://url1.xslinc.com/tcfz

https://url1.xslinc.com/GNU

https://ishare.xslinc.com/sharing/Mj2f8MRku