From: edward Date: Wed, 6 Sep 2017 04:33:05 +0000 (+0800) Subject: Pman.Gnumeric.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=aef40fe522b01ef5db35f6d70b0849a06506a749 Pman.Gnumeric.js --- diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index 64bf8e98..e56937ad 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1217,8 +1217,7 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { soi.appendChild(content); objs.appendChild(soi); - var worksheet = this.sheet.getElementsByTagNameNS('*','Workbook')[0]; - var godoc = this.doc.createElementNS('http://www.gnumeric.org/v10.dtd', 'GODoc'); + var godoc = this.sheet.getElementsByTagNameNS('*','GODoc')[0]; var goimage = this.doc.createElement('GOImage'); goimage.setAttribute('image-type', type ? type : 'jpeg'); @@ -1228,7 +1227,7 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { goimage.setAttribute('height', height); goimage.textContent = data; - + godoc.appendChild(goimage); return true; //< /gnm:SheetObjectImage>