|
|
@ -82,6 +82,10 @@ public class ReadWorkbookHolder extends AbstractReadHolder { |
|
|
|
* Whether the encryption |
|
|
|
* Whether the encryption |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private String password; |
|
|
|
private String password; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Whether to parse CellData |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
private Boolean parseCell; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Read some additional fields. None are read by default. |
|
|
|
* Read some additional fields. None are read by default. |
|
|
|
* |
|
|
|
* |
|
|
@ -162,6 +166,11 @@ public class ReadWorkbookHolder extends AbstractReadHolder { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.defaultReturnMap = readWorkbook.getDefaultReturnMap(); |
|
|
|
this.defaultReturnMap = readWorkbook.getDefaultReturnMap(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (readWorkbook.getParseCell() == null) { |
|
|
|
|
|
|
|
this.parseCell = Boolean.TRUE; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.parseCell = readWorkbook.getParseCell(); |
|
|
|
|
|
|
|
} |
|
|
|
if (readWorkbook.getExtraReadSet() == null) { |
|
|
|
if (readWorkbook.getExtraReadSet() == null) { |
|
|
|
this.extraReadSet = new HashSet<CellExtraTypeEnum>(); |
|
|
|
this.extraReadSet = new HashSet<CellExtraTypeEnum>(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -291,6 +300,14 @@ public class ReadWorkbookHolder extends AbstractReadHolder { |
|
|
|
this.password = password; |
|
|
|
this.password = password; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Boolean getParseCell() { |
|
|
|
|
|
|
|
return parseCell; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setParseCell(Boolean parseCell) { |
|
|
|
|
|
|
|
this.parseCell = parseCell; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Set<CellExtraTypeEnum> getExtraReadSet() { |
|
|
|
public Set<CellExtraTypeEnum> getExtraReadSet() { |
|
|
|
return extraReadSet; |
|
|
|
return extraReadSet; |
|
|
|
} |
|
|
|
} |
|
|
|