(xmlStream, model)
| 67 | // </sst> |
| 68 | |
| 69 | render(xmlStream, model) { |
| 70 | model = model || this._values; |
| 71 | xmlStream.openXml(XmlStream.StdDocAttributes); |
| 72 | |
| 73 | xmlStream.openNode('sst', { |
| 74 | xmlns: 'http://schemas.openxmlformats.org/spreadsheetml/2006/main', |
| 75 | count: model.count, |
| 76 | uniqueCount: model.values.length, |
| 77 | }); |
| 78 | |
| 79 | const sx = this.sharedStringXform; |
| 80 | model.values.forEach(sharedString => { |
| 81 | sx.render(xmlStream, sharedString); |
| 82 | }); |
| 83 | xmlStream.closeNode(); |
| 84 | } |
| 85 | |
| 86 | parseOpen(node) { |
| 87 | if (this.parser) { |