poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18090] - [PATCH]Sheet.getColumnWidth sometimes doesnt return the correct width
Date Wed, 02 Apr 2003 15:24:05 GMT
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=18090>.
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=18090

[PATCH]Sheet.getColumnWidth sometimes doesnt return the correct width





------- Additional Comments From kamoshida.toshiaki@future.co.jp  2003-04-02 15:24 -------
Because I am stupid,I am sorry to make you confused...X(

The attatchment I submitted is a copy of that Mr.Tanino wrote.
To fix org.apache.poi.hssf.model.Sheet#getColumnWidth(),please apply it.
And I found same mistake in #setColumnWidth(),so in the patch I apply to
fix it.


BTW,
Now I submitted a testcase testing #getColumnWidth() and #setColumnWidth().
And I found a new problem with the testcase...

By the testcase,ColumnInfoRecord should be splited to 3 records,ColumnNo=5, and 
ColumnNo=6,and ColumnNo=7~10. But now there is no implementation like so in 
#setColumnWidth().
So the last asserEquals() block in the testcase will throw a Error.

Mime
View raw message