Adding sheetFormatPr for better compat with macos preview #437

Closed
seriousben wants to merge 1 commits from support_mac_ios_preview into master

View File

@ -7552,6 +7552,10 @@ function write_ws_xml(idx, opts, wb) {
var ref = ws['!ref']; if(ref === undefined) ref = 'A1';
o[o.length] = (writextag('dimension', null, {'ref': ref}));
o[o.length] = writextag('sheetFormatPr', null, {
defaultRowHeight: (opts.sheetFormat && opts.sheetFormat.defaultRowHeight) || '13.5',
});
if(ws['!cols'] !== undefined && ws['!cols'].length > 0) o[o.length] = (write_ws_xml_cols(ws, ws['!cols']));
o[sidx = o.length] = '<sheetData/>';
if(ws['!ref'] !== undefined) {