protobi / js-xlsx

XLSX / XLSM / XLSB (Excel 2007+ Spreadsheet) / ODS parser and writer
http://oss.sheetjs.com/js-xlsx
Other
814 stars 416 forks source link

ws['!pageSetup'] #98

Closed sleitor closed 6 years ago

sleitor commented 6 years ago

Please explain how it works. I try this: worksheet["!margins"]={left:0.6,right:0.3,top:0.25,bottom:0,header:0,footer:0}; worksheet["!pageSetup"]= {scale: "89", orientation: "landscape"};

But worksheet scale still 100% and orientation is portrait

sleitor commented 6 years ago

I fixed it in my fork https://github.com/sleitor/js-xlsx/tree/alfa Branch "alfa"!