Update Application property
Update Workbook property only if it is not already set in the Workbook object.
This commit is contained in:
parent
2022f7f4b0
commit
3f9ef14a35
2
xlsx.js
generated
2
xlsx.js
generated
@ -5571,7 +5571,7 @@ function parse_ext_props(data, p, opts) {
|
||||
function write_ext_props(cp) {
|
||||
var o = [], W = writextag;
|
||||
if(!cp) cp = {};
|
||||
cp.Application = "SheetJS";
|
||||
if(!cp.Application) cp.Application = "SheetJS";
|
||||
o[o.length] = (XML_HEADER);
|
||||
o[o.length] = (writextag('Properties', null, {
|
||||
'xmlns': XMLNS.EXT_PROPS,
|
||||
|
Loading…
Reference in New Issue
Block a user