Pman.Gnumeric.js
authorEdward <edward@roojs.com>
Thu, 11 Apr 2019 07:28:04 +0000 (15:28 +0800)
committerEdward <edward@roojs.com>
Thu, 11 Apr 2019 07:28:04 +0000 (15:28 +0800)
Pman.Gnumeric.js

index cfdcd10..0607f83 100644 (file)
@@ -1264,7 +1264,7 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         
         soi.setAttribute('ObjectBound',this.RCtoCell(startRow, startCol) + ':' + this.RCtoCell(endRow, endCol));
         
-        soi.setAttribute('ObjectOffset', '0 0 ' + width + ' ' + height);
+        soi.setAttribute('ObjectOffset', '0.188 0.529 189 191');
         soi.setAttribute('ObjectAnchorType','16 16 16 16');
         soi.setAttribute('Direction','17');
         soi.setAttribute('crop-top','0.000000');
@@ -1289,8 +1289,6 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         goimage.setAttribute('height', height);
         goimage.textContent = data;
         
-        console.log(goimage);
-        
         godoc.appendChild(goimage);
         
         if (typeof(this.grid[startRow]) == 'undefined') {