简体   繁体   English

是否可以使用 WOPI(Office Web 集成)将文件查看为 HTML(例如 file1.html)? 如何?

[英]Is it possible to view file as HTML (for example file1.html) with WOPI (Office Web integration)? and how?

Does WOPI has possibility to return file as HTML, when I read documentation there was like, .doc or.docx so I am interested if there is any ways to view file as HTML WOPI 是否有可能将文件返回为 HTML,当我阅读文档时,有类似 .doc 或 .docx 的文件,所以我很想知道是否有任何方法可以将文件查看为 HTML

I read the documentation of WOPI and there was too little information about that, Can you help me?我看了WOPI的文档,关于那方面的信息太少了,你能帮帮我吗?

The file formats supported by a WOPI client are defined in the discovery.xml file . WOPI 客户端支持的文件格式在discovery.xml 文件中定义。 You can check Office Online Server's discovery file here: https://onenote.officeapps.live.com/hosting/discovery您可以在此处查看 Office Online Server 的发现文件: https://onenote.officeapps.live.com/hosting/discovery

Generally, only Open Office XML file formats (docx, xlsx) and a couple of related formats are supported.通常,仅支持 Open Office XML 文件格式(docx、xlsx)和一些相关格式。 HTML is not one of them. HTML 不是其中之一。

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

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