private WriteCellData setBold(String data){
WriteFont totalRowWriteFont = new WriteFont();
totalRowWriteFont.setBold(true);
WriteCellData totalRowWriteCellData = new WriteCellData<String>("三类项目");
WriteCellStyle totalRowWriteCellStyle = new WriteCellStyle();
totalRowWriteCellStyle.setWriteFont(totalRowWriteFont);
totalRowWriteCellData.setWriteCellStyle(totalRowWriteCellStyle);
return totalRowWriteCellData;
}
easyexcel 字体加粗
最新推荐文章于 2024-04-28 10:43:00 发布