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=23951>.
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=23951

setSheetOrder(...) of HSSFWorkBook class doesn't set tab name correctly in Excel file

           Summary: setSheetOrder(...) of HSSFWorkBook class doesn't set tab
                    name correctly in Excel file
           Product: POI
           Version: 2.0-pre3
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: HSSF
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I called setSheetOrder(...) of HSSFWorkBook re-set the order of one worksheet. 
The worksheet was re-located successfully. However, the sheet tab name for that 
location where the new sheet was moved to still points to the name of original 
sheet. 

To re-produce:
1) Open a workbook with two worksheets: sheet 1 followed by sheet 2;
2) Call setSheetOrder(...) to move sheet 2 before sheet 1;
3) Save the file;
4) Open the modified file: see the sheet name in worksheet tab still has the 
order of sheet 1 followed by sheet 2 even though the actual work wheets have 
been switched.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to