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);

posted @ 2017-04-05 15:41  上善¤若水  阅读(426)  评论(0编辑  收藏  举报