parent
2e6c50098f
commit
5cac03da1e
|
@ -236,7 +236,7 @@ public class RecosMeasurecosFormPlugin extends AbstractFormPlugin implements Upl
|
||||||
headRow1.setRowStyle(titleStyle1);
|
headRow1.setRowStyle(titleStyle1);
|
||||||
XSSFCell headCell1 = headRow1.createCell(0);
|
XSSFCell headCell1 = headRow1.createCell(0);
|
||||||
headCell1.setCellValue("项目名称:");
|
headCell1.setCellValue("项目名称:");
|
||||||
CellRangeAddress titleCellAddresses1 = new CellRangeAddress(1, 1, 1,6);
|
CellRangeAddress titleCellAddresses1 = new CellRangeAddress(1, 1, 1,6);//合并单元格
|
||||||
sheet.addMergedRegion(titleCellAddresses1);
|
sheet.addMergedRegion(titleCellAddresses1);
|
||||||
|
|
||||||
XSSFCell headCell2 = headRow1.createCell(7);
|
XSSFCell headCell2 = headRow1.createCell(7);
|
||||||
|
@ -745,6 +745,8 @@ public class RecosMeasurecosFormPlugin extends AbstractFormPlugin implements Upl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//设置合并
|
||||||
|
|
||||||
|
|
||||||
sheet.protectSheet("password");
|
sheet.protectSheet("password");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue