Office.context.document.settings object

纵饮孤独 提交于 2019-12-12 03:33:01

问题


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?

Thank you.


回答1:


If anyone needs it, I think I have found the answer to my question:

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.



来源:https://stackoverflow.com/questions/42823168/office-context-document-settings-object

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!