Class MergeCellsCommand

All Implemented Interfaces:
Command

public class MergeCellsCommand extends AbstractMergeCellsCommand

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

    • getName

      public String getName()
    • getCols

      public String getCols()
    • setCols

      public void setCols(String cols)
    • getMinCols

      public String getMinCols()
    • setMinCols

      public void setMinCols(String minCols)
    • getMinRows

      public String getMinRows()
    • setMinRows

      public void setMinRows(String minRows)
    • applyAt

      public Size applyAt(CellRef cellRef, Context context)