You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/11/25 10:16:45 UTC
DO NOT REPLY [Bug 48026] Duplicate PageSettingsBlock record on XLS
saved with Office 2003
https://issues.apache.org/bugzilla/show_bug.cgi?id=48026
--- Comment #3 from 20mithrandir@gmail.com 2009-11-25 01:16:42 UTC ---
Created an attachment (id=24608)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24608)
Excel 2000 Document (for test case)
I added an Excel 2000 file for testing purposes. I am getting the mentioned
RecordFormatException in 3.5-FINAL but 3.5-beta4 works fine.
Here's my test code:
static void copyPoi( File xlsFile ) throws Exception
{
File tgt = new File( xlsFile.getParentFile(), xlsFile.getName() + ".P.xls"
);
HSSFWorkbook wbook = new HSSFWorkbook( new FileInputStream( xlsFile ) );
FileOutputStream out = new FileOutputStream( tgt );
wbook.write( out );
out.close();
}
I'd really appreciate a fix for this issue very soon. Maybe if someone could
give me direction I'd be able to look in the concerning source-code myself...
--
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