https://bz.apache.org/bugzilla/show_bug.cgi?id=61798
dolphin.in.the.sky...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dolphin.in.the.sky.51@gmail | |.com OS| |All --- Comment #1 from dolphin.in.the.sky...@gmail.com --- Excuse my poor English. I am applying the patch of the following contents. in org.apache.xssf.usermodel.XSSFSheet protected write(OutputStream out) throws IOException { ... // then calculate min/max cell-numbers for the worksheet-dimension if(row.getFirstCellNum() != -1) { // maxCell = Math.min(maxCell, row.getLastCellNum()); maxCell = Math.min(maxCell, row.getLastCellNum()-1); } Row.getLastCellNum() is return the index of the last cell contained in this row PLUS ONE. I would be pleased if it will be helpful. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org