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/03/07 05:14:36 UTC

DO NOT REPLY [Bug 17759] New: - HSSFSheet#setSelected(boolean) does not works correctly

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

HSSFSheet#setSelected(boolean) does not works correctly

           Summary: HSSFSheet#setSelected(boolean) does not works correctly
           Product: POI
           Version: 2.0-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: kamoshida.toshiaki@future.co.jp


When you call HSSFSheet#setSelected(boolean) to change the selected sheet,
and save the workbook and open with Excel Application,you will see it;

1."selected tab" is changed to the sheet as you call the method.
2.but the sheet "currently showing" is not the sheet tab selecting.

Secondly,if you call HSSFSheet#setSelected(false) to all sheets,you can make 
the workbook with selecting no sheet.
It isn't good interface,I feel.I feel the parameter of the method should 
be "void" and works like HSSFSheet#setSelected(true).