Skip to content

Commit ea490e3

Browse files
committed
update:Correction of property name spelling error
1 parent 0ce63ff commit ea490e3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

fastexcel-core/src/main/java/cn/idev/excel/fileconvertor/BaseExcelConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ private void processSheet(int sheetIndex) throws IOException {
3636
float[] columnWidths = getColumnWidths(sheet);
3737
Table table = new Table(columnWidths);
3838

39-
addRowsToTable(table, sheet, columnWidths, context.getFountPath());
39+
addRowsToTable(table, sheet, columnWidths, context.getFontPath());
4040
// addPicsToTable(table, sheet);
4141

4242
context.getDocument().add(table);

fastexcel-core/src/main/java/cn/idev/excel/fileconvertor/FileConverterContext.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ public class FileConverterContext {
2323

2424
private File inputFile;
2525
private File outputFile;
26-
private String fountPath;
26+
private String fontPath;
2727
private Workbook workbook;
2828
private Document document;
2929
private int[] sheets;
3030
private ExcelTypeEnum excelTypeEnum;
3131

32-
public FileConverterContext(File inputFile, File outputFile, String fountPath, int[] sheets) {
32+
public FileConverterContext(File inputFile, File outputFile, String fontPath, int[] sheets) {
3333
try {
3434
this.inputFile = inputFile;
3535
this.outputFile = outputFile;
36-
this.fountPath = fountPath;
36+
this.fontPath = fontPath;
3737
ReadWorkbook readWorkbook = new ReadWorkbook();
3838
readWorkbook.setFile(inputFile);
3939
excelTypeEnum = ExcelTypeEnum.valueOf(readWorkbook);

0 commit comments

Comments
 (0)