MCPcopy Create free account
hub / github.com/TruthHun/BookStack / readNumberingXml

Function readNumberingXml

static/word2md/mammoth.browser.js:1806–1814  ·  view source on GitHub ↗
(root, options)

Source from the content-addressed store, hash-verified

1804}
1805
1806function readNumberingXml(root, options) {
1807 if (!options || !options.styles) {
1808 throw new Error("styles is missing");
1809 }
1810
1811 var abstractNums = readAbstractNums(root);
1812 var nums = readNums(root, abstractNums);
1813 return new Numbering(nums, abstractNums, options.styles);
1814}
1815
1816function readAbstractNums(root) {
1817 var abstractNums = {};

Callers

nothing calls this directly

Calls 2

readAbstractNumsFunction · 0.70
readNumsFunction · 0.70

Tested by

no test coverage detected