1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| public Range mergeCells(int col1,
int row1,
int col2,
int row2)
throws WriteException,
jxl.write.biff.RowsExceededExceptionMerges the specified cells. Any clashes or intersections between merged cells are resolved when the spreadsheet is written out
Parameters:
col1 - the column number of the top left cell
row1 - the row number of the top left cell
col2 - the column number of the bottom right cell
row2 - the row number of the bottom right cell
Returns:
the Range object representing the merged cells
Throws:
jxl.write..WriteException
jxl.write.biff.RowsExceededException
WriteException |
Partager