https://issues.apache.org/bugzilla/show_bug.cgi?id=47751

           Summary: don't allow too-large cell values?
           Product: POI
           Version: 3.5-dev
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Rodney Gitzel <[email protected]> 2009-08-27 11:19:50 
PDT ---
Created an attachment (id=24181)
short sample to create XLS with error

A 2.6Mb POI-generated XLS file was causing Open Office to crash and Excel 2007
to report errors on opening the file.

I tracked the problem down to one cell that was being filled with 39553
characters, which of course is over Excel's stated limit of 32767 character per
cell.

I've written a wrapper to trap this in our own code, but would it be
appropriate for setCellValue() itself to throw an exception when this happens?

Cheers!  And thanks for the VERY useful library. :-)

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to