MS-WOPI"另存为"办公室在线词的功能

时间:2018-05-29 14:24:00

标签: ms-office ms-wopi office-online-server

实现了PUT_RELATIVE_FILE,并且能够获得通过wopi测试的所有PutRelativeFile测试。

enter image description here

但是,当我在线查看WOPI办公室的真实文档(.docx)文件时,我无法获得" 另存为"选项 从现有文件创建新文件。

enter image description here

enter image description here

在编辑/查看模式下获取此选项/链接/按钮的CheckFileInfo响应中缺少什么。

我的CheckFileInfo响应信息:

{
    BASE_FILE_NAME => stored_file.name,
    OWNER_ID => current_user.id.to_s,
    SIZE => File.size(path),
    USER_ID => current_user.email,
    VERSION => document_version(document),
    USER_CAN_WRITE => true,
    SUPPORTS_DELETE => true,
    SUPPORTS_UPDATE => true,
    SUPPORTS_LOCKS => true,
    SUPPORTS_GET_LOCK => true,
    USER_FRIENDLY_NAME => current_user.email,
    HOST_EDIT_URL => host_edit_url(request, document),
    DOWNLOAD_URL => download_url(request, document),
    "UserCanNotWriteRelative" => false,
    "SupportsFileCreation" => true
}

0 个答案:

没有答案