change to KeyPair

This commit is contained in:
Looly
2024-08-14 01:07:34 +08:00
parent a38d7b47ab
commit ddde088695
14 changed files with 114 additions and 137 deletions

View File

@@ -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
/**

View File

@@ -99,4 +99,11 @@ public class TemplateContext {
}
});
}
@Override
public String toString() {
return "TemplateContext{" +
"varMap=" + varMap +
'}';
}
}

View File

@@ -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);
}
}