When using getOoxml() to get the document xml, the numbering.xml package is not included:
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);
});
})
The word/styles.xml, word/fontTable.xml, theme1.xml, etc. are included but without the numbering.xml I cann't recreate the number formats.!
This is problem in office 2016 when upgrade it to 2019 the problem has been solved