diff --git a/lib/xlsx/xform/core/core-xform.js b/lib/xlsx/xform/core/core-xform.js index 2cbee85eb..428c7d07c 100644 --- a/lib/xlsx/xform/core/core-xform.js +++ b/lib/xlsx/xform/core/core-xform.js @@ -25,6 +25,7 @@ var CoreXform = module.exports = function() { 'cp:lastModifiedBy': new StringXform({tag: 'cp:lastModifiedBy'}), 'cp:lastPrinted': new DateXform({tag: 'cp:lastPrinted', format: CoreXform.DateFormat}), 'cp:revision': new DateXform({tag: 'cp:revision'}), + 'cp:version': new StringXform({tag: 'cp:version'}), 'cp:contentStatus': new StringXform({tag: 'cp:contentStatus'}), 'dcterms:created': new DateXform({tag: 'dcterms:created', attrs: CoreXform.DateAttrs, format: CoreXform.DateFormat}), 'dcterms:modified': new DateXform({tag: 'dcterms:modified', attrs: CoreXform.DateAttrs, format: CoreXform.DateFormat}) @@ -61,6 +62,7 @@ utils.inherits(CoreXform, BaseXform, { this.map['cp:lastModifiedBy'].render(xmlStream, model.lastModifiedBy); this.map['cp:lastPrinted'].render(xmlStream, model.lastPrinted); this.map['cp:revision'].render(xmlStream, model.revision); + this.map['cp:version'].render(xmlStream, model.version); this.map['cp:contentStatus'].render(xmlStream, model.contentStatus); this.map['dcterms:created'].render(xmlStream, model.created); this.map['dcterms:modified'].render(xmlStream, model.modified);