UNPKG

exceljs

Version:

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

34 lines (28 loc) 839 B
/** * Copyright (c) 2016 Guyon Roche * LICENCE: MIT - please refer to LICENCE file included with this module * or https://github.com/guyonroche/exceljs/blob/master/LICENSE */ 'use strict'; var utils = require('../../../utils/utils'); var BaseXform = require('../base-xform'); var RelationshipXform = module.exports = function () {}; utils.inherits(RelationshipXform, BaseXform, { render: function render(xmlStream, model) { xmlStream.leafNode('Relationship', model); }, parseOpen: function parseOpen(node) { switch (node.name) { case 'Relationship': this.model = node.attributes; return true; default: return false; } }, parseText: function parseText() {}, parseClose: function parseClose() { return false; } }); //# sourceMappingURL=relationship-xform.js.map