poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Law <David....@apconsult.de>
Subject Bug in org.apache.poi.hssf.model.Sheet
Date Sat, 21 Jul 2007 21:59:09 GMT
Hi, I think I've found a problem in org.apache.poi.hssf.model.Sheet,

I was trying to subclass HSSFSheet, but calling super(Workbook, Sheet)
returns an Object with no rows.  The reason is the Method getNextRow
in Sheet which is only able to return the rows once as there is no provision
for nulling rowRecIterator.

I added a Method "setFirstRow" to reset rowRecIterator and it fixed my 
problem.
Any thoughts about this "solution" anybody?

Regards,
DaveLaw

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message