Glen can you take a look at this? Its an area I've had a lot of trouble with up to now. I believe these are unit tests that check for this. That being said, we haven't been soooo interested in this property except to set the Dimensions record. Historically, we only cared about this for interoperability with Andy Khans excel reader API. So if you deleted rows I didn't bother to update it in some circumstances (where it would be too costly).
-Andy On Wed, 2002-01-30 at 23:16, [EMAIL PROTECTED] wrote: > Hello, > > In 1.2.0, either I'm misinterpreting the documentation > and function, or > poi.hssf.usermodel.HSSFRow.getLastCellNum() doesn't > really work. > > -------------------------- > getLastCellNum > public short getLastCellNum() > get the number of the last cell contained in this row. > Returns: > short representing the last logical cell in the row > -------------------------- > > I've attatched a little source file that will > demonstrate the problem I've got, along with a .xls > file I was using when I came across this. > > Thank you, > > Russell Stadler -- www.superlinksoftware.com www.sourceforge.net/projects/poi - port of Excel format to java http://developer.java.sun.com/developer/bugParade/bugs/4487555.html - fix java generics! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh
