Just had a check with the javadoc and from what I can see, the Region classes
getArea() method returned a count of the number of cells in the region.
There is a similar method defined on the CelRangeAddressBase class - and
inherited by CellRangeAddress when it extends this class - called
getNumberOfCells(). Maybe this is what you are after, and you should be able
to call that method on a CellRangeAddress object.

Yours

Mark B


nut888 wrote:
> 
> Old code
>            Region reg=regions.get(col);
>            short colInReg =reg.getArea();
>  
> 
> 
> 
> New code - But I do not know new method name for getArea()
>            CellRangeAddress reg=regions.get(col);
>            short colInReg =reg.?????();
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/org.apache.poi---deprecated-class-Region-tp25466349p25467052.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to