| | |
| | | Sheet sheet = context.getWriteSheetHolder().getSheet(); |
| | | Drawing<?> drawingPatriarch = sheet.createDrawingPatriarch(); |
| | | |
| | | Comment comment1 = drawingPatriarch.createCellComment(new XSSFClientAnchor(0, 0, 0, 0, 5, 4, 4, 5)); |
| | | Comment comment1 = drawingPatriarch.createCellComment(new XSSFClientAnchor(0, 0, 0, 0, 5, 5, 4, 6)); |
| | | comment1.setString(new XSSFRichTextString("扣除相关镜头数量*0.1分")); |
| | | sheet.getRow(0).getCell(1).setCellComment(comment1); |
| | | |
| | | Comment comment2 = drawingPatriarch.createCellComment(new XSSFClientAnchor(0, 0, 0, 0, 5, 7, 7, 8)); |
| | | comment2.setString(new XSSFRichTextString("扣2分/12小时")); |
| | | sheet.getRow(0).getCell(1).setCellComment(comment2); |
| | | // Comment comment2 = drawingPatriarch.createCellComment(new XSSFClientAnchor(0, 0, 0, 0, 5, 8, 7, 9)); |
| | | // comment2.setString(new XSSFRichTextString("扣2分/12小时")); |
| | | // sheet.getRow(0).getCell(1).setCellComment(comment2); |
| | | |
| | | } |
| | | } |
| | | |