poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marc <wdkm...@wilson.dk>
Subject Re: Problem writing xls
Date Wed, 06 Apr 2005 05:37:33 GMT
Ok that was also me solution.

But do anybody now why it is only the first time around it do not take 
the blank line?

Marc


Alex Karshakevich wrote:
> The rowIterator iterates only over actual rows. If a row is empty it may 
> not be represented in the excel file. The iterator skips these 
> nonexistent rows, so you may not get the same count as the row count of 
> the sheet.
> To iterate over _all_rows, null or not, I use HSSFSheet.getRow() and 
> deal with nulls myself.
> 
> Alex.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message