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=26455>. 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=26455 Original sheet name cannnot be replaced to new one. Summary: Original sheet name cannnot be replaced to new one. Product: POI Version: 1.0.2 Platform: PC OS/Version: Windows XP Status: NEW Severity: Major Priority: Other Component: HSSF AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I can set a name of sheet, but the set name cannot be replaced to another. For example, // create sheet this.sheet = this.workbook.createSheet(); // set sheetname this.workbook.setSheetName( 0, "SheetX", HSSFWorkbook.ENCODING_UTF_16 ); Then, I get the sheetname, which is is "SheetX". Everything is neat so far, but once I change the name to other one, say, "SheetY", the sheet name becomes ".xls]SheetY". The new name is unable to be changed anymore because it has "." and "]" which are unpermitted characters in the sheetname. Is anything wrong with the codes? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
