[英]How to make a docx file, requires some custom plugin when opened
I have an use case in my web application where user can download a DOCX file that has some custom properties added to it required for our word add-in, open it and do some editing or some other stuff using the word add-in. 我的Web应用程序中有一个用例,用户可以下载DOCX文件,该文件已添加了一些自定义属性,这是我们的单词加载项所需的,可以打开它并使用单词加载项进行一些编辑或其他工作。 It worked totally fine when the add-in is already installed in user machine.
当外接程序已经安装在用户计算机中时,它的工作效果很好。 Otherwise I want to notify(some validation popup) user to install the particular add-in when user tries to open the particular document.
否则,当用户尝试打开特定文档时,我想通知(某些验证弹出窗口)用户安装特定加载项。 Is there any way to add some properties to the document about requirement of the specified add-in?
有什么方法可以向文档中添加有关指定外接程序要求的某些属性? If yes then how?
如果是,那怎么办? I would appreciate any help??
我将不胜感激任何帮助??
There is no built-in mechanism in Word to display a message based on a document's metadata. Word中没有内置的机制来显示基于文档的元数据的消息。 I see two ways you could achieve that:
我看到两种方法可以实现:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.