This commit is contained in:
Looly 2020-12-09 00:43:00 +08:00
parent 7d4838a0a4
commit 7340901207

View File

@ -120,11 +120,11 @@ public class Excel07SaxReader implements ExcelSaxReader<Excel07SaxReader> {
* @since 5.4.4
*/
public Excel07SaxReader read(XSSFReader xssfReader, String idOrRid) throws POIException {
// 获取共享样式表
// 获取共享样式表样式非必须
try {
this.handler.stylesTable = xssfReader.getStylesTable();
} catch (Exception e) {
//ignore
} catch (IOException | InvalidFormatException ignore) {
// ignore
}
// 获取共享字符串表