public void getRowHeadingBasedOnCells ( TableCandidate tc ) { String rowHeadingThisTable = "" ; int footnoteLineIndex = tc . getFootnoteBeginRow ( ) ; String [ ] [ ] cells = tc . getCells ( ) ; // if (cells[0][0].length()==0 ) { for ( int j = 0 ; j < footnoteLineIndex ; j ++ ) { if ( cells [ j ] [ 0 ] . length ( ) > 0 ) rowHeadingThisTable = rowHeadingThisTable + cells [ j ] [ 0 ] + "; " ; } // } rowHeadingThisTable = tc . replaceAllSpecialChracters ( rowHeadingThisTable ) ; tc . setHeadingRows ( rowHeadingThisTable ) ; }
Get the table row headings based on the cell information