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

Function readTable

static/word2md/mammoth.browser.js:1109–1118  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

1107
1108
1109 function readTable(element) {
1110 var propertiesResult = readTableProperties(element.firstOrEmpty("w:tblPr"));
1111 return readXmlElements(element.children)
1112 .flatMap(calculateRowSpans)
1113 .flatMap(function(children) {
1114 return propertiesResult.map(function(properties) {
1115 return documents.Table(children, properties);
1116 });
1117 });
1118 }
1119
1120 function readTableProperties(element) {
1121 return readTableStyle(element).map(function(style) {

Callers

nothing calls this directly

Calls 2

readTablePropertiesFunction · 0.70
readXmlElementsFunction · 0.70

Tested by

no test coverage detected