I am using the following lines to open an empty Excel 2007 document:
OPCPackage opcPackage = OPCPackage.openOrCreate(file)
wb = new XSSFWorkbook(opcPackage);
The funny thing is, it is taking 20 seconds just to do that. Why?
Others were complaining about XSSF because it is taking too slow to load a huge file. But for me it is just an empty file that should be done in not even 1 second!