|
|
|
@ -10,6 +10,7 @@ import com.alibaba.excel.constant.ExcelXmlConstants;
|
|
|
|
|
import com.alibaba.excel.context.AnalysisContext; |
|
|
|
|
import com.alibaba.excel.read.listener.event.EachRowAnalysisFinishEvent; |
|
|
|
|
import com.alibaba.excel.read.metadata.holder.ReadRowHolder; |
|
|
|
|
import com.alibaba.excel.util.PositionUtils; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Cell Handler |
|
|
|
@ -32,8 +33,8 @@ public class ProcessResultCellHandler implements XlsxCellHandler {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void startHandle(String name, Attributes attributes) { |
|
|
|
|
analysisContext |
|
|
|
|
.readRowHolder(new ReadRowHolder(Integer.valueOf(attributes.getValue(ExcelXmlConstants.POSITION)), |
|
|
|
|
analysisContext.readRowHolder( |
|
|
|
|
new ReadRowHolder(PositionUtils.getRowByRowTagt(attributes.getValue(ExcelXmlConstants.POSITION)), |
|
|
|
|
analysisContext.readSheetHolder().getGlobalConfiguration())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|