X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Gnumeric.js;h=d581916182fecf451e94a76e7267b087e806c801;hp=de5fd975a95df2f49b01c750067e1009556cc31e;hb=1524f8b36295809a3eedd6da3c6494f8aa0d86f5;hpb=0b4f996ab1addf59265a29752045c08b2177260a diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index de5fd975..d5819161 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -148,6 +148,13 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { rowOffset : 0, + /** + * @type {String} format - either XLSX (if images are used) or XLS - as ssconvert does not do images that well. + */ + + format : 'xlsx', + + /** * load: * run the connection, parse document and fire load event.. @@ -1715,7 +1722,7 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { timeout : 120000, // quite a long wait.. 2 minutes. params : { xml : ser.serializeToString(this.doc), - format : 'xls', //xml + format : this.format, debug : 0 },