private float remainingLinesHeight ( ) { if ( lines . isEmpty ( ) ) return 0 ; float result = 0 ; int size = lines . size ( ) ; PdfLine line ; for ( int i = 0 ; i < size ; i ++ ) { line = ( PdfLine ) lines . get ( i ) ; result += line . height ( ) ; } return result ; }
Returns the total height of all the lines in the cell .