mirror of
https://github.com/ethendev/wopihost.git
synced 2026-04-25 13:55:49 +03:00
[GH-ISSUE #8] 关于修订模式 #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FCIron on GitHub (Mar 8, 2019).
Original GitHub issue: https://github.com/marx-yu/WopiHost/issues/8
大神我想一下wopi协议支持在线编辑的时候默认以没修订模式打开吗
@ethendev commented on GitHub (Oct 23, 2019):
@kphungry
你需要添加一个处理 Look 相关的接口,我这里没有相应环境了,无法测试,所以需要你自己测试一下。
接口定义如下:
GetLock API
Lock API
Unlock API
@kphungry commented on GitHub (Oct 27, 2019):
感谢你的回复,我再多试试
@ethendev commented on GitHub (Oct 28, 2019):
@kphungry
在最新的代码中我已经添加了lock,但是 word 文档因为office自身原因在编辑保存时不能通过 lock 判断操作权限,代码中有说明。
有需要的话可以参考下。
[GH-ISSUE #8] 不支持lock和unlock,如何处理多人同时编辑的场景呢?to [GH-ISSUE #8] 关于修订模式