- Notifications
You must be signed in to change notification settings - Fork1.9k
Closed
Description
Hi,
I can reproduce the "Too Many Worksheets Results in Parse Error" bug. In my case, it's not the number of sheets which cause the bug, but rather the "quantity of data".
This script generates a xlsx with 3 sheets of 200 lines x 24 columns but cannot parse it.
fedora 23/exceljs@0.2.4/unzip@0.1.11
varExcel=require("exceljs");varfilename='/tmp/bug.xlsx';varworkbook1=newExcel.Workbook();for(vari=0;i<3;i++){varsheet=workbook1.addWorksheet("Sheet "+i);for(varj=0;j<200;j++)sheet.addRow([1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12]);}workbook1.xlsx.writeFile(filename).then(function(){varworkbook2=newExcel.Workbook();workbook2.xlsx.readFile(filename).then(console.log);});
Metadata
Metadata
Assignees
Labels
No labels