如何解决使用office.js获取Excel工作簿的xml
如何使用我的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 举报,一经查实,本站将立刻删除。