excel
共 1 篇文章
导出excel模版中带有批次
--创建单元格 WritableCell cell = new Label(colIndex, rowIndex, value == null ? "" : value.toString(), format); WritableCellFeatures ft = new WritableCellFeatures(); --设置批注内容 ft.setComment("这里填写批注内容"); --给单元格设置批注 cell.setCellFeatures(ft); sheet.addCell(cell); 思考:如何实现任意列设置批注?
2012-06-20 11:27 · excel · 导出Excel · 带批次