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