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 2004/09/20 10:16:43 UTC
DO NOT REPLY [Bug 30635] -
HSSFRow.getLastCellNum() is out by one
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30635>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30635
HSSFRow.getLastCellNum() is out by one
------- Additional Comments From kainberger@beit.at 2004-09-20 08:16 -------
This bug was set to invalid twice. Can anybody please explain why? I have
currently the same problems and would like to know how I should handle this.
Calling row.getCell(row.getLastRowNum()) returns null. And my test sheet has
only one row with three columns. But the method returns 3 instead of the
expected 2 (as the javadoc says that getLastRowNum() is 0-based).
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org