public class CalcEngine
extends java.lang.Object
| Constructor and Description |
|---|
CalcEngine(Workbook workbook) |
| Modifier and Type | Method and Description |
|---|---|
CellRef |
getSpillRange(CellRef spilledCell) |
CellRef |
getSpillSource(CellRef spilledCell) |
void |
moveCells(java.lang.Iterable<CellRef> cells)
Remaps the specified cells in the engine.
|
void |
removeWorksheet(Worksheet worksheet)
Removes all graph elements associated with the specified worksheet.
|
void |
renameWorksheet(java.lang.String oldName,
java.lang.String newName)
Refactors all references to the worksheet with the specified name.
|
void |
reset()
Clears the entire graph.
|
void |
updateCell(CellStorage cell)
Rebuilds the portion of the graph corresponding to the specified cell of the specified worksheet.
|
void |
updateCells(java.lang.Iterable<CellStorage> cells)
Rebuilds the portion of the graph corresponding to the specified subset of cells.
|
void |
updateCells(java.lang.Iterable<CellStorage> cells,
java.lang.Iterable<CellStorage> removedCells)
Rebuilds the portion of the graph corresponding to the specified subset of cells of the specified worksheet.
|
void |
updateCells(java.util.Stack<java.lang.Object> parameters) |
void |
updateNamedRanges(java.util.List<java.lang.String> rangeNames)
Rebuilds the portion of the graph associated with the ranges with the specified names.
|
void |
updateWorksheet(Worksheet worksheet)
Rebuilds the portion of the graph corresponding to the cells of the specified worksheet.
|
public CalcEngine(Workbook workbook)
public void reset()
public void updateWorksheet(Worksheet worksheet)
public void updateCell(CellStorage cell)
public void removeWorksheet(Worksheet worksheet)
public void updateNamedRanges(java.util.List<java.lang.String> rangeNames)
public void updateCells(java.lang.Iterable<CellStorage> cells)
public void updateCells(java.lang.Iterable<CellStorage> cells, java.lang.Iterable<CellStorage> removedCells)
This is the core update method. All other update calls eventually delegate to this one.
public void updateCells(java.util.Stack<java.lang.Object> parameters)
public void renameWorksheet(java.lang.String oldName,
java.lang.String newName)
public void moveCells(java.lang.Iterable<CellRef> cells)