X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Gnumeric.js;h=170d27cca7d772a77fac4ad12d447839139f9179;hb=399176fc1b041e1726b33c7676a85a4469bb5a39;hp=bb92cc9d7156aaf39838ae1856e9f1a3d1f73804;hpb=1eabe7cef053c67bc983c7b78951c6d32b36a58e;p=Pman.Core diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index bb92cc9d..170d27cc 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1184,18 +1184,6 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { soi.appendChild(content); objs.appendChild(soi); - var godoc = this.doc.getElementsByTagNameNS('*','GODoc')[0]; - - var goimage = this.doc.createElement('GOImage'); - goimage.setAttribute('image-type', type ? type : 'jpeg'); - goimage.setAttribute('name', name); - goimage.setAttribute('type', 'GOPixbuf'); - goimage.setAttribute('width', width); - goimage.setAttribute('height', height); - goimage.textContent = data; - - godoc.appendChild(goimage); - if (typeof(this.grid[row]) == 'undefined') { this.grid[row] = []; } @@ -1210,9 +1198,6 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { this.grid[row][col].height = height; return true; - //< /gnm:SheetObjectImage> - // < /gnm:Objects> - }, /** @@ -1227,8 +1212,6 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { * @param {Number} width image height * */ - - writeImage : function (row, col, data, width, height, type) { @@ -1388,6 +1371,12 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { this.grid[startRow][startCol].width = width; this.grid[startRow][startCol].height = height; + var godoc = this.doc.getElementsByTagNameNS('*','GODoc')[0]; + + if(godoc && godoc.parentNode) { + + } + return true; },