Summary: | Error reading a 'read only 'recommended' XLS file | ||
---|---|---|---|
Product: | POI | Reporter: | Richard Evans <richard.evans> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.0-FINAL | ||
Target Milestone: | --- | ||
Hardware: | DEC | ||
OS: | All | ||
Attachments: | trivial xls with 'read only recommended' flag set |
Description
Richard Evans
2008-03-05 02:12:02 UTC
What version of excel did you generate your file with? (I think all our supported versions of excel ought to be generating biff8 files) It was Excel 2003. You are right in that POI supports BIFF8 only, I had not realized that when I posted the original report. So it must be that the handling of the FILESHARING record is not quite right. Could you please upload the problem file, so we can see if it's possible to detect this odd state in the filesharing record? Created attachment 21641 [details]
trivial xls with 'read only recommended' flag set
Apologies. Was convinced I had included an attachment with the original report
OK, looks like there was no username set, but there was a username length, so was running off the end of the record Fix in svn, along with tests, and a new HSSFWorkBook method to test for the read-only flag |