随笔分类 - poi
摘要:1.复制单元格 1 ... 2 public static void copyCell(Workbook wb, Cell srcCell, Cell distCell, boolean copyValueFlag) { 3 //新建单元格样式 4 CellStyle newStyle = wb.c
阅读全文
摘要:1.判断当前单元格是不是合并单元格 1 ... 2 private boolean isMergedRegion(Sheet sheet, int row, int column) { 3 //获取合并单元格的数量 4 int sheetMergeCount = sheet.getNumMerged
阅读全文