https://bz.apache.org/bugzilla/show_bug.cgi?id=65613

--- Comment #9 from jasmin.su...@cpb-software.com ---
Thanks for the added feature.

I ran into another problem trying to implement the DeferredSXSSFWorkbook.
Currently my workflow looks like this:

1. Create DeferredSXSSFWorkbook.
2. Create Sheet.
3. Create Row.
4. Create Cell.

But the file turns out empty. This is because createRow() of SXSSFSheet tries
to flush the row to the writer here:

(SXSSFSheet.java Line 1895)

            if (_writer != null) _writer.writeRow(rowIndex, row);
            _rows.remove(firstRowNum);

But the writer for the DeferredSXSSFWorkbook only gets created during the
writing process in writeAvoidingTempFiles() so _writer is null and the row gets
removed even if it was not written yet.

Is there a way to create a DeferredSXSSFWorkbookWorkbook following the steps
above (without using a RowGenerator)?

Could you please share an example or JUnitTest if there is one?

-- 
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

Reply via email to