类 MergedRegionHelper

java.lang.Object
org.jeecgframework.poi.excel.html.helper.MergedRegionHelper

public class MergedRegionHelper extends Object
合并单元格帮助类
作者:
JEECG
  • 构造器详细资料

    • MergedRegionHelper

      public MergedRegionHelper(org.apache.poi.ss.usermodel.Sheet sheet)
  • 方法详细资料

    • isNeedCreate

      public boolean isNeedCreate(int row, int col)
      是不是需要创建这个TD
      参数:
      row -
      col -
      返回:
    • isMergedRegion

      public boolean isMergedRegion(int row, int col)
      是不是合并区域
      参数:
      row -
      col -
      返回:
    • getRowAndColSpan

      public Integer[] getRowAndColSpan(int row, int col)
      获取合并区域
      参数:
      row -
      col -
      返回:
    • shiftRows

      public void shiftRows(org.apache.poi.ss.usermodel.Sheet sheet, int rowIndex, int size, int shiftRows)
      插入之后还原之前的合并单元格
      参数:
      rowIndex -
      size -