X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Gnumeric.js;h=96441e4582bc6d5281d9cce0e3711762c8a6f539;hb=0ae765ce0280969d7283bd81be7896ac2faf099c;hp=5a309d2b2a2de3f85bc03eb3c99f28bfa0cae9ef;hpb=110f2154a7078a5f4f15445f7b200a00065123ff;p=Pman.Core diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index 5a309d2b..96441e45 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1209,9 +1209,12 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { soi.setAttribute('crop-left','0.000000'); soi.setAttribute('crop-right','0.000000'); // ...... < / Content> + + var name = 'Image' + Math.random().toString(36).substring(10); var content = this.doc.createElement('Content'); - content.setAttribute('image-type', type ? 'jpeg' : type); - //alert(imgsrc); + content.setAttribute('image-type', type ? type : 'jpeg'); + + content.setAttribute('name', ); content.setAttribute('size-bytes',data.length); content.textContent = data;