poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50239] OldExcelFormatException on BIFF8 file
Date Thu, 20 Jan 2011 15:47:54 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50239

--- Comment #7 from Bancika <stormbringer@mail.com> 2011-01-20 10:47:49 EST ---
This is not a file I created with excel but using poi to export the data from
my app. Can POI create a biff5 file at all? What am I doing wrong to make it go
out as a biff5?

Here's a piece of the code I'm using

HSSFWorkbook wb = new HSSFWorkbook();
fileOut = new FileOutputStream(tempFile);
HSSFSheet sheet = wb.createSheet("Sheet1");
...
write data, formats and palettes to the sheet
...
wb.write(fileOut);
fileOut.close();

Thanks,
Bane

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message