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/05/08 11:16:42 UTC

DO NOT REPLY [Bug 17759] - [PATCH]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

[PATCH]HSSFSheet#setSelected(boolean) does not works correctly

kamoshida.toshiaki@future.co.jp changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|HSSFSheet#setSelected(boolea|[PATCH]HSSFSheet#setSelected
                   |n) does not works correctly |(boolean) does not works
                   |                            |correctly



------- Additional Comments From kamoshida.toshiaki@future.co.jp  2003-05-08 09:16 -------
I searched the way to fix it,and found;

To change the selection correctly,we must cange both WindowOneRecord stored at
Workbook and WindowTwoRecord stored at Sheet.

So,we can't make the method for this function at HSSFSheet,but only at 
HSSFWorkbook.

Plz test and eval the PATCH with the testcase a little changed from I submitted.

<s2.setSelected(true);
>b.setSelectedSheet("Sheet1");
or
>b.setSelecteSheetAt((short)1);

Regards.