Commit c82b5b27211b3cd246d0a6d128820ca873731fda
1 parent
92d91fe065
Exists in
master
and in
3 other branches
code update
Showing 1 changed file with 3 additions and 3 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/ExcelUtil.java
View file @
c82b5b2
| ... | ... | @@ -46,10 +46,10 @@ |
| 46 | 46 | */ |
| 47 | 47 | WritableFont wf = new WritableFont(WritableFont.ARIAL, 12, WritableFont.BOLD, false, UnderlineStyle.NO_UNDERLINE, Colour.BLACK); |
| 48 | 48 | WritableCellFormat wcf = new WritableCellFormat(wf); |
| 49 | - ws.setRowView(0, 300); // 设置指定行高 | |
| 49 | + // 设置指定行高 | |
| 50 | + ws.setRowView(0, 300); | |
| 50 | 51 | |
| 51 | - ws.mergeCells(5, 0, 5, 0); | |
| 52 | - | |
| 52 | + ws.mergeCells(5, 1, 5, 1); | |
| 53 | 53 | // 设置列宽 |
| 54 | 54 | for (int j = 0, columLen = columName.size(); j < columLen; j++) |
| 55 | 55 | { |