Is it possible to refresh fields of a word document with Office.js?

橙三吉。 提交于 2021-02-11 06:11:25

问题


I have word documents with fields that display the value of custom document properties as such:

`{ DOCPROPERTY example \* MERGEFORMAT }`

Whenever my custom property is modified, in order for the changes to be displayed in my document, I need to select the field(s) and right-click -> update them. I was wondering if office.js had anything that would help me automatically update fields in my document.


回答1:


There is no API to do this currently. But it is an excellent idea. Please suggest it at Office Developer Suggestion Box.



来源:https://stackoverflow.com/questions/59719440/is-it-possible-to-refresh-fields-of-a-word-document-with-office-js

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