Java poi Excel 文字缩进处理

来源:互联网 发布:淘宝网上海故事 编辑:程序博客网 时间:2024/04/27 18:18


场景: 当word文档或者Excel 文档中出现文字 缩进时 处理


CellStyle style= wb.createCellStyle();style.setIndention((short)2);style.setAlignment(CellStyle.ALIGN_LEFT);cell.setCellStyle(style);




0 0
原创粉丝点击