Skip to content

Commit aaca364

Browse files
authored
Merge pull request #225 from keeneym/TabColorFix
Fix output order of Sheet Properties
2 parents c9223ce + b04fdc8 commit aaca364

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/stream/xlsx/worksheet-writer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,10 @@ WorksheetWriter.prototype = {
420420
xml.addText('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>');
421421
xml.addText('<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">');
422422

423+
this._writeSheetProperties(xml, this.properties, this.pageSetup);
424+
423425
xml.addText(xform.sheetViews.toXml(this.views));
424426

425-
this._writeSheetProperties(xml, this.properties, this.pageSetup);
426427
this._writeSheetFormatProperties(xml, this.properties);
427428

428429
this.stream.write(xml);

0 commit comments

Comments
 (0)