Office.context.document.settings对象 [英] Office.context.document.settings object
问题描述
有人知道在Office.context.document.settings
对象中可以存储多少设置是否有限制吗?该文档似乎未提及任何有关此问题的信息.还有没有一种方法可以真正看到此信息保存在某处?物理存储在哪里?
Does anyone know if there is a limit on how many settings can be stored in Office.context.document.settings
object? The documentation doesn't seem to mention anything on this matter. Also is there a way to actually see this information being saved somewhere? Where is it physically stored?
谢谢.
推荐答案
如果有人需要它,我想我已经找到了我的问题的答案:
If anyone needs it, I think I have found the answer to my question:
如果解压缩Word文件(重命名该文件,并将其扩展名为.zip而不是.docx,然后解压缩),则会在其中看到文件夹结构.转到/word/webextensions/webextension1.xml
.该文件包含您保存到Office.context.document.settings
对象中的所有内容.考虑到这只是一个xml,所以不应有任何限制,除非Word强制执行某些限制.
If you unzip the Word file (rename the file and give it extension .zip instead of .docx and then unzip), you'll see a folder structure inside. Go to /word/webextensions/webextension1.xml
. This file contains everything that you've saved into Office.context.document.settings
object. Considering that's just an xml there shouldn't be any limitations, unless Word enforces some.
如果有人知道其他任何地方,请发出提示音.
If anyone knows any different, please chime in.
这篇关于Office.context.document.settings对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!