【发布时间】:2018-03-06 23:36:11
【问题描述】:
我正在使用 word 插件,我想只获取包含选定内容的文档,而不是整个文档。
有一个获取整个文档的API:
// Get all of the content from a PowerPoint or Word document in 100-KB chunks of text.
Office.context.document.getFileAsync("compressed",
{ sliceSize: 100000 },
function (result) {
});
但我只想要选定的内容。
【问题讨论】:
标签: javascript office-js