diff --git a/lib/xlsx/xform/core/core-xform.js b/lib/xlsx/xform/core/core-xform.js index bbd7c2d4a..8a4b095d2 100644 --- a/lib/xlsx/xform/core/core-xform.js +++ b/lib/xlsx/xform/core/core-xform.js @@ -39,6 +39,11 @@ var StringXform = require('../simple/string-xform'); var CoreXform = module.exports = function() { this.map = { 'dc:creator': new StringXform({tag: 'dc:creator'}), + 'dc:title': new StringXform({tag: 'dc:title'}), + 'dc:subject': new StringXform({tag: 'dc:subject'}), + 'cp:keywords': new StringXform({tag: 'cp:keywords'}), + 'cp:category': new StringXform({tag: 'cp:category'}), + 'dc:description': new StringXform({tag: 'dc:description'}), 'cp:lastModifiedBy': new StringXform({tag: 'cp:lastModifiedBy'}), '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}) @@ -65,6 +70,11 @@ utils.inherits(CoreXform, BaseXform, { xmlStream.openNode('cp:coreProperties', CoreXform.CORE_PROPERTY_ATTRIBUTES); this.map['dc:creator'].render(xmlStream, model.creator); + this.map['dc:title'].render(xmlStream, model.title); + this.map['dc:subject'].render(xmlStream, model.subject); + this.map['dc:description'].render(xmlStream, model.description); + this.map['cp:keywords'].render(xmlStream, model.keywords); + this.map['cp:category'].render(xmlStream, model.category); this.map['cp:lastModifiedBy'].render(xmlStream, model.lastModifiedBy); this.map['dcterms:created'].render(xmlStream, model.created); this.map['dcterms:modified'].render(xmlStream, model.modified);