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 48026] Duplicate PageSettingsBlock record on XLS saved with Office 2003
Date Wed, 25 Nov 2009 09:16:45 GMT
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


Mime
View raw message