UNPKG

exceljs

Version:

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

26 lines (24 loc) 523 B
"use strict"; const BaseXform = require('../../base-xform'); class CfvoXform extends BaseXform { get tag() { return 'cfvo'; } render(xmlStream, model) { xmlStream.leafNode(this.tag, { type: model.type, val: model.value }); } parseOpen(node) { this.model = { type: node.attributes.type, value: BaseXform.toFloatValue(node.attributes.val) }; } parseClose(name) { return name !== this.tag; } } module.exports = CfvoXform; //# sourceMappingURL=cfvo-xform.js.map