From 10dee004189fdd620268ed362ae2b0fac2fdb62c Mon Sep 17 00:00:00 2001 From: Jiaju Zhuang Date: Wed, 10 Nov 2021 17:40:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BB=E6=96=B0=E5=A2=9Erowindex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/alibaba/excel/analysis/v07/handlers/CellTagHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/alibaba/excel/analysis/v07/handlers/CellTagHandler.java b/src/main/java/com/alibaba/excel/analysis/v07/handlers/CellTagHandler.java index 9d8e4736..ce84d5e2 100644 --- a/src/main/java/com/alibaba/excel/analysis/v07/handlers/CellTagHandler.java +++ b/src/main/java/com/alibaba/excel/analysis/v07/handlers/CellTagHandler.java @@ -100,6 +100,8 @@ public class CellTagHandler extends AbstractXlsxTagHandler { } tempCellData.checkEmpty(); + tempCellData.setRowIndex(xlsxReadSheetHolder.getRowIndex()); + tempCellData.setColumnIndex(xlsxReadSheetHolder.getColumnIndex()); xlsxReadSheetHolder.getCellMap().put(xlsxReadSheetHolder.getColumnIndex(), tempCellData); } }