UNPKG

exceljs

Version:

Excel Workbook Manager - Read and Write xlsx and csv Files.

44 lines (37 loc) 910 B
const BaseXform = require('../base-xform'); class ExtLstXform extends BaseXform { get tag() { return 'a:extLst'; } render(xmlStream) { xmlStream.openNode(this.tag); xmlStream.openNode('a:ext', { uri: '{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}', }); xmlStream.leafNode('a16:creationId', { 'xmlns:a16': 'http://schemas.microsoft.com/office/drawing/2014/main', id: '{00000000-0008-0000-0000-000002000000}', }); xmlStream.closeNode(); xmlStream.closeNode(); } parseOpen(node) { switch (node.name) { case this.tag: return true; default: return true; } } parseText() {} parseClose(name) { switch (name) { case this.tag: return false; default: // unprocessed internal nodes return true; } } } module.exports = ExtLstXform;