|
|
@ -7,11 +7,14 @@ import com.alibaba.excel.read.metadata.ReadSheet; |
|
|
|
import com.alibaba.excel.read.metadata.holder.ReadSheetHolder; |
|
|
|
import com.alibaba.excel.read.metadata.holder.ReadSheetHolder; |
|
|
|
import com.alibaba.excel.read.metadata.holder.ReadWorkbookHolder; |
|
|
|
import com.alibaba.excel.read.metadata.holder.ReadWorkbookHolder; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* sheet holder |
|
|
|
* sheet holder |
|
|
|
* |
|
|
|
* |
|
|
|
* @author Jiaju Zhuang |
|
|
|
* @author Jiaju Zhuang |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@Data |
|
|
|
public class XlsxReadSheetHolder extends ReadSheetHolder { |
|
|
|
public class XlsxReadSheetHolder extends ReadSheetHolder { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Record the label of the current operation to prevent NPE. |
|
|
|
* Record the label of the current operation to prevent NPE. |
|
|
@ -34,36 +37,4 @@ public class XlsxReadSheetHolder extends ReadSheetHolder { |
|
|
|
super(readSheet, readWorkbookHolder); |
|
|
|
super(readSheet, readWorkbookHolder); |
|
|
|
this.tagDeque = new LinkedList<String>(); |
|
|
|
this.tagDeque = new LinkedList<String>(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Deque<String> getTagDeque() { |
|
|
|
|
|
|
|
return tagDeque; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setTagDeque(Deque<String> tagDeque) { |
|
|
|
|
|
|
|
this.tagDeque = tagDeque; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Integer getColumnIndex() { |
|
|
|
|
|
|
|
return columnIndex; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setColumnIndex(Integer columnIndex) { |
|
|
|
|
|
|
|
this.columnIndex = columnIndex; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public StringBuilder getTempData() { |
|
|
|
|
|
|
|
return tempData; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setTempData(StringBuilder tempData) { |
|
|
|
|
|
|
|
this.tempData = tempData; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public StringBuilder getTempFormula() { |
|
|
|
|
|
|
|
return tempFormula; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setTempFormula(StringBuilder tempFormula) { |
|
|
|
|
|
|
|
this.tempFormula = tempFormula; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|