Is it possible to auto-negotiate columns in an SXSSFWorkbook streaming? I implemented an export function to export a list of objects in excel. At first I used XSSFWorkbook (not streaming), and after all the cells were created, I authorized all the columns, the result was a good excel file.
For performance issues, we wanted to change the book to a streaming version, but this led to the creation of NullPointer in org.apache.poi.ss.util.SheetUtil.getCellWidth.
Is it possible to call autoSizeColumns for an SXSSFWorkbook?
Im using poi-ooxml 3.9, but I have the same problem in 3.8.
sterym
source share