mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix test
This commit is contained in:
@@ -483,6 +483,17 @@ public class ExcelWriter extends ExcelBase<ExcelWriter> {
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置默认行高,值为一个点的高度
|
||||
*
|
||||
* @param height 高度
|
||||
* @return this
|
||||
* @since 4.6.5
|
||||
*/
|
||||
public ExcelWriter setDefaultRowHeight(int height) {
|
||||
return setRowHeight(-1, height);
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置行高,值为一个点的高度
|
||||
|
@@ -75,7 +75,7 @@ public class ExcelWriteTest {
|
||||
rows.add(ObjectUtil.clone(row1));
|
||||
}
|
||||
|
||||
String filePath = "e:/writeTest.xlsx";
|
||||
String filePath = "f:/test/writeTest.xlsx";
|
||||
FileUtil.del(filePath);
|
||||
// 通过工具类创建writer
|
||||
ExcelWriter writer = ExcelUtil.getWriter(filePath);
|
||||
|
Reference in New Issue
Block a user