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 2003/08/15 13:49:52 UTC

DO NOT REPLY [Bug 22454] New: - Throw exception when creating sheet with a duplicate name

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22454>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22454

Throw exception when creating sheet with a duplicate name

           Summary: Throw exception when creating sheet with a duplicate
                    name
           Product: POI
           Version: 2.0-pre3
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: willem@vt4.net
                CC: willem@vt4.net


MS-Excell can open/edit a POI/HSSF generated spreadsheet that contains sheets
with duplicate names, but on closing or saving the spreadsheet it crashes
everytime (version tested: Excel 2000, 9.0.3821 SR-1). 

Solution: avoid creating sheets with duplicate names by letting method
workBook.createSheet(sheetName) throw an exception when it creates a sheet with
a name that already exists.

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