首页 > 代码库 > EXCEL导出备注

EXCEL导出备注

Drawing patriarch=ws.createDrawingPatriarch();
hcomment = (XSSFComment) patriarch.createCellComment(new XSSFClientAnchor(0, 0, 0, 0, (short)colIndex,rowIndex-1,(short)5,8));
hcomment.setString(new XSSFRichTextString(content.toString()));

wc.setCellComment(hcomment);

EXCEL导出备注