X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Gnumeric.js;h=d581916182fecf451e94a76e7267b087e806c801;hb=ca4761f3d6530b562525feec940a63c82cf45dc9;hp=eb0675b58d5d991b6789d418022fb5de9aad9a8c;hpb=acd86626b8db386ca9fc3b1dbd1a4b819afeaf5b;p=Pman.Core diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index eb0675b5..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 : 'xlsx', //xml + format : this.format, debug : 0 },