问题描述
我正在尝试评估 ITHit WebDav 服务器引擎库,因为我想实现一项功能,以便能够在 Word 中修改不同版本.
I am trying to evaluate the ITHit WebDav Server Engine Library as I would like to implement a feature to have the ability to modify different versions within Word.
我使用的是 Word Office 2013,我想知道是否可以在 Word 文档中的信息"选项卡和版本"(管理版本按钮旁边)下显示版本.
I am using Word Office 2013 and I am wondering if its possible to show the versions in the word document, under Info tab and then under Versions (next to manage versions button).
我已按照向导中的步骤生成代码.我选择了1) '在 SQL DB 中存储文件和元数据'2) Delta V 支持检查3) '在第一次更新之前自动置于版本控制之下'和'允许自动版本控制'被选中.
I have followed the steps through the wizard to generate the code. I have selected1) 'store files and metadata in SQL DB'2) Delta V support checked3) 'auto-put under version control before the first update' and 'allow auto versioning' as checked.
我已尝试编辑 word 文件,保存并再次打开它.但是,我无法在版本"选项卡下看到版本列表.也许版本只能通过 AJAX 文件浏览器插件看到,如果是这样,有没有办法显示发送到客户端的文档文件可用的不同版本?是否需要扩展 IFile 或 IVersion 等接口?
I have tried editing the word file, saving and opening it again. However, I am not able to see the list of versions under the Versions tab. Maybe the versions can only be seen through the AJAX File browser plugin, if thats the case, is there a way to show the different versions available for the document file which was send to the client ? Do I need to extend an interface of IFile or IVersion etc?
推荐答案
不幸的是,Microsoft Office 使用其专有协议扩展来管理文档版本,而不是使用 WebDAV.作为一种解决方法,您可以通过 Ajax 文件浏览器管理版本.
Unfortunately Microsoft Office is using its proprietary protocol extensions to manage document versions, it is not using WebDAV. As a workaround you can manage versions via Ajax File Browser.
当前 DavEngine 类包含 AllowOffice12Versioning 属性,可在 MS Office UI 中启用版本控制.然而,此属性是实验性的,目前标记为内部.它仅适用于源代码许可证所有者.
Currently DavEngine class contains AllowOffice12Versioning property which enables versioning in MS Office UI. However this property is experimental and currently marked as internal. It is available for source codes license owners only.
这篇关于在文档中显示版本(IT Hit WebDav)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!