code: private void findFootnoteBeginRow(TableCandidate tc) {
      	for (int i = 0; i < tc.getRows().size(); i++) {
      		TableRow row = tc.getRows().get(i);
      		TextPiece firstCell = row.getCells().get(0);
      		String text = firstCell.getText();
      		if (text.startsWith("*")
  		    || text.startsWith("t ")
  		    || text.startsWith("$")
  		    || text.startsWith("?")
  		    || text.startsWith("''")
  		    || text.startsWith("Note:")
  		    || (text.startsWith("a") && i >= tc.getRows().size() - 2 && row.isSuperScriptRow())) {
  	    			tc.setFootnoteBeginRow(i);
  	    			break;
      		}
      	}
      	if (tc.getFootnoteBeginRow()==-1)
      		tc.setFootnoteBeginRow(tc.getRows().size());
      }
docs: Finds the first line of the potential table footnote
  
  @param tc
  the object of the table candidate