public final class ValueRecordsAggregate extends java.lang.Object implements java.lang.Iterable<CellValueRecordInterface>
Constructor and Description |
---|
ValueRecordsAggregate()
Creates a new instance of ValueRecordsAggregate
|
Modifier and Type | Method and Description |
---|---|
void |
addMultipleBlanks(MulBlankRecord mbr) |
java.lang.Object |
clone()
Deprecated.
use
(已弃用。改用 HSSFSheet.cloneSheet(HSSFWorkbook))
HSSFSheet.cloneSheet(HSSFWorkbook) instead
|
void |
construct(CellValueRecordInterface rec, RecordStream rs, SharedValueManager sfh)
Processes a single cell value record
(处理单个单元格值记录)
|
int |
getFirstCellNum() |
int |
getLastCellNum() |
int |
getPhysicalNumberOfCells() |
int |
getRowCellBlockSize(int startRow, int endRow)
Tallies a count of the size of the cell records that are attached to the rows in the range specified.
(对附加到指定范围内的行的单元格记录的大小进行计数。)
|
void |
insertCell(CellValueRecordInterface cell) |
java.util.Iterator<CellValueRecordInterface> |
iterator()
value iterator
(值迭代器)
|
void |
removeAllCellsValuesForRow(int rowIndex) |
void |
removeCell(CellValueRecordInterface cell) |
boolean |
rowHasCells(int row)
Returns true if the row has cells attached to it
(如果该行附加了单元格,则返回 true)
|
void |
updateFormulasAfterRowShift(FormulaShifter shifter, int currentExternSheetIndex) |
void |
visitCellsForRow(int rowIndex, RecordAggregate.RecordVisitor rv) |
public ValueRecordsAggregate()
public void insertCell(CellValueRecordInterface cell)
public void removeCell(CellValueRecordInterface cell)
public void removeAllCellsValuesForRow(int rowIndex)
public int getPhysicalNumberOfCells()
public int getFirstCellNum()
public int getLastCellNum()
public void addMultipleBlanks(MulBlankRecord mbr)
public void construct(CellValueRecordInterface rec, RecordStream rs, SharedValueManager sfh)
sfh
- used to resolve any shared-formulas/arrays/tables for the current sheet
(sfh - 用于解析当前工作表的任何共享公式/数组/表格)
public int getRowCellBlockSize(int startRow, int endRow)
public boolean rowHasCells(int row)
public void visitCellsForRow(int rowIndex, RecordAggregate.RecordVisitor rv)
public void updateFormulasAfterRowShift(FormulaShifter shifter, int currentExternSheetIndex)
public java.util.Iterator<CellValueRecordInterface> iterator()
iterator
in interface
java.lang.Iterable<CellValueRecordInterface>
(接口 java.lang.Iterable 中的迭代器
@Deprecated @Removal(version="5.0.0") public java.lang.Object clone()
HSSFSheet.cloneSheet(HSSFWorkbook)
instead
(已弃用。改用 HSSFSheet.cloneSheet(HSSFWorkbook))
clone
in class
java.lang.Object
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.