projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configurable xlsx formating -
[Pman.Core]
/
Pman.Gnumeric.js
diff --git
a/Pman.Gnumeric.js
b/Pman.Gnumeric.js
index
eb0675b
..
d581916
100644
(file)
--- a/
Pman.Gnumeric.js
+++ b/
Pman.Gnumeric.js
@@
-148,6
+148,13
@@
Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
rowOffset : 0,
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..
/**
* 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),
timeout : 120000, // quite a long wait.. 2 minutes.
params : {
xml : ser.serializeToString(this.doc),
- format :
'xlsx', //xml
+ format :
this.format,
debug : 0
},
debug : 0
},