在使用getOoxml()获取文档xml时,不包括numbering.xml包:
Word.run(function (context) {
var body = context.document.body;
var contentXML= body.getOoxml();
return context.sync().then(function () {
console.log("Body OOXML contents: " + contentXML.value);
});
})其中包括word/styles.xml、word/fontTable.xml、teme1.xml等,但如果没有numbering.xml,我将无法重新创建数字格式。!
发布于 2019-10-13 20:32:01
这是office 2016中的问题,当将其升级到2019时,问题已解决
https://stackoverflow.com/questions/57851252
复制相似问题