根据起止行列合并

table.merge(rows, cols, rowspan, colspan);