X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Gnumeric.js;fp=Pman.Gnumeric.js;h=d581916182fecf451e94a76e7267b087e806c801;hp=eb0675b58d5d991b6789d418022fb5de9aad9a8c;hb=a23ef534e78ff4112469bc9f883f5de1aacfd83e;hpb=b645e610393300d301015f6adcfe78001a43389c 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 },