Class MergeCellsCommand

java.lang.Object
org.jxls.command.AbstractCommand
org.jxls.command.MergeCellsCommand
All Implemented Interfaces:
Command

public class MergeCellsCommand extends AbstractCommand

Merge cells

jx:mergeCells(
 lastCell="Merge cell ranges"
 [, cols="Number of columns combined"]
 [, rows="Number of rows combined"]
 [, minCols="Minimum number of columns to merge"]
 [, minRows="Minimum number of rows to merge"]
 )

Note: this command can only be used on cells that have not been merged. An exception will occur if the scope of the merged cell exists for the merged cell

Since:
2.6.0
Author:
lnk
  • Field Details

  • Constructor Details

    • MergeCellsCommand

      public MergeCellsCommand()
  • Method Details