(element)
| 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) { |
nothing calls this directly
no test coverage detected