public void printTitleSection(final String data,final int rowSpan){
  consumeSeparatorColumn();
  int lengthToPad=0;
  int nbColumnMerged=0;
  while (columnIterator.hasNext() && nbColumnMerged < rowSpan) {
    lengthToPad+=currentColumn.width + columnSeparator.length();
    if (!isSeparatorColumn(currentColumn)) {
      nbColumnMerged++;
    }
    currentColumn=columnIterator.next();
  }
  stream.print(align(data,titleAlignment,lengthToPad));
  consumeSeparatorColumn();
  if (!columnIterator.hasNext()) {
    nextLine();
  }
}

public void printTitleSection ( final String data , final int rowSpan ) { consumeSeparatorColumn ( ) ; int lengthToPad = 0 ; int nbColumnMerged = 0 ; while ( columnIterator . hasNext ( ) && nbColumnMerged < rowSpan ) { lengthToPad += currentColumn . width + columnSeparator . length ( ) ; if ( ! isSeparatorColumn ( currentColumn ) ) { nbColumnMerged ++ ; } currentColumn = columnIterator . next ( ) ; } stream . print ( align ( data , titleAlignment , lengthToPad ) ) ; consumeSeparatorColumn ( ) ; if ( ! columnIterator . hasNext ( ) ) { nextLine ( ) ; } }
formats and prints the provided text data . merge the provided text over the provided number of column . < p > separator columns between merged columns will not be printed .
