code: public void setRowsSpanned(final Table table, final TableAppender appender, final int rowIndex,
                                 final int colIndex, final int n) throws IOException {
          if (n <= 1) return;
  
          final TableCell firstCell = this.getRowSecure(table, appender, rowIndex, false)
                  .getOrCreateCell(colIndex);
          if (firstCell.isCovered()) return;
  
          firstCell.markRowsSpanned(n);
          this.coverCellsBelow(table, appender, rowIndex, colIndex, n);
      }
docs: Set a span over rows
  
  @param table    the table
  @param appender the appender
  @param rowIndex the row index
  @param colIndex the col index
  @param n        the number of rows
  @throws IOException if an error occurs