Pman.Gnumeric.js
[Pman.Core] / Pman.Gnumeric.js
index bd6c7c5..93f67cb 100644 (file)
@@ -1256,10 +1256,12 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         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', 'test');
         soi.appendChild(content);
         objs.appendChild(soi);
         
+        Roo.log(name);
+        
         var godoc = this.doc.getElementsByTagNameNS('*','GODoc')[0];
         
         var goimage = this.doc.createElement('GOImage');
@@ -1273,9 +1275,6 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         godoc.appendChild(goimage);
         
         return true;
-                //< /gnm:SheetObjectImage>
-                // < /gnm:Objects>
-
     },
  
     /**