(input)
| 2422 | |
| 2423 | |
| 2424 | function extractRawText(input) { |
| 2425 | return unzip.openZip(input) |
| 2426 | .then(docxReader.read) |
| 2427 | .then(function(documentResult) { |
| 2428 | return documentResult.map(convertElementToRawText); |
| 2429 | }); |
| 2430 | } |
| 2431 | |
| 2432 | function convertElementToRawText(element) { |
| 2433 | if (element.type === "text") { |
nothing calls this directly
no outgoing calls
no test coverage detected