mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
change to KeyPair
This commit is contained in:
@@ -1008,6 +1008,14 @@ public class ExcelWriter extends ExcelBase<ExcelWriter, ExcelWriteConfig> {
|
||||
}
|
||||
// endregion
|
||||
|
||||
// region ----- fill
|
||||
|
||||
public ExcelWriter fillRow(final Map<?, ?> rowMap){
|
||||
return this;
|
||||
}
|
||||
|
||||
// endregion
|
||||
|
||||
// region ----- writeCol
|
||||
|
||||
/**
|
||||
|
@@ -99,4 +99,11 @@ public class TemplateContext {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TemplateContext{" +
|
||||
"varMap=" + varMap +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
@@ -12,6 +12,7 @@
|
||||
|
||||
package org.dromara.hutool.poi.excel.writer;
|
||||
|
||||
import org.dromara.hutool.core.lang.Console;
|
||||
import org.dromara.hutool.poi.excel.ExcelUtil;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -20,5 +21,6 @@ public class TemplateContextTest {
|
||||
void readTemplate() {
|
||||
final ExcelWriter writer = ExcelUtil.getWriter("d:/test/template.xlsx");
|
||||
final TemplateContext templateContext = new TemplateContext(writer.getSheet());
|
||||
Console.log(templateContext);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user