poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xavier Vanderstukken ...@ionicsoft.com>
Subject OpenOffice 1.1.3 can not read a xls file generated with hssf
Date Mon, 03 Jan 2005 14:38:43 GMT
I use this very simple code to create an empty xls file.

HSSFWorkbook wb = new HSSFWorkbook();
FileOutputStream fileOut = new FileOutputStream(path);
wb.write(fileOut);
fileOut.close();

When I try to open it with OpenOffice 1.1.3 I receive the following 
message :

An unrecoverable error has occured.

An the file can not be opened.
However I have no problem to open it with Microsoft Excel.

My operating system is Gentoo Linux.

I attach the generated Excel file



Mime
View raw message