ONLYOFFICE支持wps格式文件(wps,et,dps)的协作

更新时间:2023-07-20 20:16:12 阅读: 评论:0

ONLYOFFICE⽀持wps格式⽂件(wps,et,dps)的协作
在国货当⾃强的当今时代,⽂档⼯作越来越多⼈⽤wps了,那么onlyoffice的⽂档协作服务⽀持wps格式吗?经过试验,⼀点都没违和感啊。wps本⾝已经是云上⽀持团队协作了,为何⽤onlyoffice来协作呢?有些⼈想⾃⼰搭建呢,或者局域⽹⽐较私密呢?它收费也不菲吧……⼈数限制?⽂档数量限制?各取所取吧。
近⽇改了⼀下engineercms,让它⽀持上传wps格式的⽂档,然后⽤onlyoffice打开进⾏协作,完全没有问题。得益于wps对于office的兼容已经毫⽆问题。onlyoffice的设计也是不看扩展名的,⽽是认为在协作页⾯给它定义这个⽂档的格式,fileType和documentType等2个参数决定了onlyoffice的打开就⾏了。oppo怎么恢复出厂设置
if path.Ext(onlyattachment.FileName) == ".docx" || path.Ext(onlyattachment.FileName) == ".DOCX" {怎么练声
c.Data["fileType"] = "docx"
c.Data["documentType"] = "text"
没有人在乎
} el if path.Ext(onlyattachment.FileName) == ".wps" || path.Ext(onlyattachment.FileName) == ".WPS" {  c.Data["fileType"] = "docx"
乡村建设
c.Data["documentType"] = "text"
医院实习自我鉴定
香辣凉拌面} el if path.Ext(onlyattachment.FileName) == ".XLSX" || path.Ext(onlyattachment.FileName) == ".xlsx" {  c.Data["fileType"] = "xlsx"
c.Data["documentType"] = "spreadsheet"
} el if path.Ext(onlyattachment.FileName) == ".ET" || path.Ext(onlyattachment.FileName) == ".et" {
c.Data["fileType"] = "xlsx"
c.Data["documentType"] = "spreadsheet"
} el if path.Ext(onlyattachment.FileName) == ".pptx" || path.Ext(onlyattachment.FileName) == ".PPTX" {  c.Data["fileType"] = "pptx"
c.Data["documentType"] = "prentation"
} el if path.Ext(onlyattachment.FileName) == ".dps" || path.Ext(onlyattachment.FileName) == ".DPS" {  c.Data["fileType"] = "pptx"
c.Data["documentType"] = "prentation"
} el if path.Ext(onlyattachment.FileName) == ".doc" || path.Ext(onlyattachment.FileName) == ".DOC" {  c.Data["fileType"] = "doc"
c.Data["documentType"] = "text"
摆渡人是什么意思} el if path.Ext(onlyattachment.FileName) == ".txt" || path.Ext(onlyattachment.FileName) == ".TXT" {辩的成语
c.Data["fileType"] = "txt"
c.Data["documentType"] = "text"
} el if path.Ext(onlyattachment.FileName) == ".XLS" || path.Ext(onlyattachment.FileName) == ".xls" {
c.Data["fileType"] = "xls"
c.Data["documentType"] = "spreadsheet"
} el if path.Ext(onlyattachment.FileName) == ".csv" || path.Ext(onlyattachment.FileName) == ".CSV" {  c.Data["fileType"] = "csv"
c.Data["documentType"] = "spreadsheet"
} el if path.Ext(onlyattachment.FileName) == ".ppt" || path.Ext(onlyattachment.FileName) == ".PPT" {  c.Data["fileType"] = "ppt"
c.Data["documentType"] = "prentation"
} el if path.Ext(onlyattachment.FileName) == ".pdf" || path.Ext(onlyattachment.FileName) == ".PDF" {  c.Data["fileType"] = "pdf"
c.Data["documentType"] = "text"
c.Data["Mode"] = "view"
}

本文发布于:2023-07-20 20:16:12,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/1107567.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:协作   问题   没有   格式
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图