poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53514] blank row getting created after row no 32767
Date Mon, 16 Jul 2012 09:08:20 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53514

--- Comment #3 from Angshuman <asthanpati@corbus.com> ---
here is the actual code...


int sheetNo=1;
if(rowNo==1048575)
{
rowNo=1;
sheetNo++;
}        
if(rowNo==1)
{
worksheet = (SXSSFSheet) workbook.createSheet("Matrix Report "+sheetNo);
row = (SXSSFRow) worksheet.createRow(0);
for(int hl=0; hl<headerLength; hl++){
cell = (SXSSFCell) row.createCell(hl);
header = (String)matrixReportHeader.get(hl);
cell.setCellValue(header);
cell.setCellStyle(cellStyle);
}
}

i need to create the header in the next worksheet also, that why header is in
the main loop.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message