public class MergedRegionHelper
extends java.lang.Object
| 构造器和说明 |
|---|
MergedRegionHelper(org.apache.poi.ss.usermodel.Sheet sheet) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Integer[] |
getRowAndColSpan(int row,
int col)
获取合并区域
|
boolean |
isMergedRegion(int row,
int col)
是不是合并区域
|
boolean |
isNeedCreate(int row,
int col)
是不是需要创建这个TD
|
void |
shiftRows(org.apache.poi.ss.usermodel.Sheet sheet,
int rowIndex,
int size,
int shiftRows)
插入之后还原之前的合并单元格
|
public boolean isNeedCreate(int row,
int col)
row - col - public boolean isMergedRegion(int row,
int col)
row - col - public java.lang.Integer[] getRowAndColSpan(int row,
int col)
row - col - public void shiftRows(org.apache.poi.ss.usermodel.Sheet sheet,
int rowIndex,
int size,
int shiftRows)
rowIndex - size - Copyright © 2021 悟耘. All Rights Reserved.