X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Gnumeric.js;fp=Pman.Gnumeric.js;h=b7d9387eb026581ac7206163dff746274fe268c5;hp=e881e6cf7c4ee01f766a6a9a9d4a8288d736baa0;hb=b64caf38087d75a51e47c9e3fbeb302682a830cb;hpb=24a19d347cc2b2840be477fd99744da4d8c6fcd6 diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index e881e6cf..b7d9387e 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1248,7 +1248,7 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { * writeFixedImageOld: * write an image in old gnumberic format (needs base64 data to write it) */ - writeFixedImageOld : function (startCol, startRow, endCol, endRow, type, data, width, height) + writeFixedImageOld : function (startCol, startRow, endCol, endRow, type, data, width, height, size) { if (!data) { throw "write Image called with missing data"; @@ -1274,10 +1274,11 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { soi.setAttribute('crop-left','0.000000'); soi.setAttribute('crop-right','0.000000'); - var name = 'Image' + Math.random().toString(36).substring(2); +// var name = 'Image' + Math.random().toString(36).substring(2); var content = this.doc.createElement('Content'); content.setAttribute('image-type', type ? type : 'jpeg'); - content.setAttribute('name', name); + +// content.setAttribute('name', name); soi.appendChild(content); objs.appendChild(soi);