问题描述
如何使用我的Office加载项从Excel文件读取webextension xml部件。 office.js是否可能?我尝试使用getFileAsync
,但没有给出xml。我正在使用Office-OOXML-EmbedAddin嵌入脚本实验室加载项,该加载项会生成以下webextension xml。是否可以通过office.js读取SnippetToImport
属性的值
<?xml version="1.0" encoding="UTF-8"?>
<we:webextension xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:we="http://schemas.microsoft.com/office/webextensions/webextension/2010/11" id="{635BF0CD-42CC-4174-B8D2-6D375C9A759E}">
<we:reference id="wa104380862" version="1.1.0.0" store="en-US" storeType="OMEX" />
<we:alternateReferences />
<we:properties>
<we:property name="Office.AutoShowTaskpaneWithDocument" value="true" />
<we:property name="SnippetToImport" value="{"type":"gist","id":"1234"}" />
</we:properties>
<we:bindings />
<we:snapshot xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" />
</we:webextension>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)