UNPKG

@mui/x-internal-exceljs-fork

Version:

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

28 lines (26 loc) 612 B
"use strict"; const BaseXform = require('../base-xform'); class WorkbookPivotCacheXform extends BaseXform { render(xmlStream, model) { xmlStream.leafNode('pivotCache', { cacheId: model.cacheId, 'r:id': model.rId }); } parseOpen(node) { if (node.name === 'pivotCache') { this.model = { cacheId: node.attributes.cacheId, rId: node.attributes['r:id'] }; return true; } return false; } parseText() {} parseClose() { return false; } } module.exports = WorkbookPivotCacheXform; //# sourceMappingURL=workbook-pivot-cache-xform.js.map