|
@@ -69,9 +69,9 @@ public abstract class AbstractPDReportParser<T extends ReportData> extends Abstr
|
|
|
String text = stripper.getText(document).replace(Constants.WATERMARK_REPLACE, StrUtil.EMPTY);
|
|
|
this.textList = StrUtil.split(text, System.lineSeparator());
|
|
|
this.textList.removeIf(StrUtil::isBlank);
|
|
|
- if (this.textList.isEmpty()) {
|
|
|
- throw new ReportParseException(ReportParseStatus.REPORT_IS_SCAN, filename);
|
|
|
- }
|
|
|
+// if (this.textList.isEmpty()) {
|
|
|
+// throw new ReportParseException(ReportParseStatus.REPORT_IS_SCAN, filename);
|
|
|
+// }
|
|
|
// 解析所有表格(单元格字符去水印)
|
|
|
List<Table> tables = ListUtil.list(true);
|
|
|
SpreadsheetExtractionAlgorithm spreadsheetExtractionAlgorithm = new SpreadsheetExtractionAlgorithm();
|