From cf1257a4914f868cbcd0f3d6f4c893a3b2f606aa Mon Sep 17 00:00:00 2001 From: Nicolas Vitaterna Date: Fri, 13 May 2016 12:43:41 -0400 Subject: [PATCH 1/2] Update xlsx.js --- lib/xlsx/xlsx.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/xlsx/xlsx.js b/lib/xlsx/xlsx.js index e6529e55b..1ec01732d 100644 --- a/lib/xlsx/xlsx.js +++ b/lib/xlsx/xlsx.js @@ -228,7 +228,8 @@ XLSX.prototype = { }; function parseBool(attribute) { - return !!attribute; + //check for false string as used by open office + return (attribute === 'false') ? false : !!attribute; } var current; From 75741ca5327bb73f79d42899a0874f7e76884baf Mon Sep 17 00:00:00 2001 From: Nicolas Vitaterna Date: Wed, 18 May 2016 11:53:14 -0400 Subject: [PATCH 2/2] Update shared-string-xform.js --- lib/xlsx/xform/shared-string-xform.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/xlsx/xform/shared-string-xform.js b/lib/xlsx/xform/shared-string-xform.js index 9d0b1a3d2..1434ece49 100644 --- a/lib/xlsx/xform/shared-string-xform.js +++ b/lib/xlsx/xform/shared-string-xform.js @@ -50,8 +50,10 @@ var SharedStringXform = module.exports = function(model) { utils.inherits(SharedStringXform, BaseXform, { write: function(xmlStream, model) { - model = model || this.model; + if (model === undefined || model === null) + model = this.model; + xmlStream.openNode('si'); if (model.richText) { var r = this.map.r; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy