| Modifier and Type | Field and Description |
|---|---|
| private final FormulaRecord | |
| private SharedFormulaRecord | |
| private SharedValueManager | |
| private StringRecord | _stringRecord
caches the calculated result of the formula |
| Access | Constructor and Description |
|---|---|
| public | FormulaRecordAggregate(FormulaRecord formulaRec, StringRecord
may be stringRec, SharedValueManager null if this formula does not have a cached text
value.the svm)SharedValueManager for the current sheet
|
| Modifier and Type | Method and Description |
|---|---|
| public CellRangeAddress | |
| public short | |
| public FormulaRecord | |
| public Ptg[] | |
| public int | |
| public StringRecord | |
| public String | |
| public short | |
| private static void | handleMissingSharedFormulaRecord(FormulaRecord formula)
Sometimes the shared formula flag "seems" to be erroneously set (because the corresponding
|
| public boolean | |
| public void | notifyFormulaChanging()
Should be called by any code which is either deleting this formula cell, or changing its type. |
| public CellRangeAddress | Returns: the range of the array formula containing the specified cell. NevernullRemoves an array formula |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setColumn(short
the column this cell defines col)Implements org.
|
| public void | |
| public void | setRow(int
the row this cell occurs within row)Implements org.
|
| public void | |
| public String | |
| public void | |
| public void | visitContainedRecords(RecordAggregate.
The visitor to use for callbacks while walking this object rvImplements abstract org. Visit each of the atomic BIFF records contained in this RecordAggregate in the order that they should be written to file. |
| _formulaRecord | back to summary |
|---|---|
| private final FormulaRecord _formulaRecord | |
| _sharedFormulaRecord | back to summary |
|---|---|
| private SharedFormulaRecord _sharedFormulaRecord | |
| _sharedValueManager | back to summary |
|---|---|
| private SharedValueManager _sharedValueManager | |
| _stringRecord | back to summary |
|---|---|
| private StringRecord _stringRecord caches the calculated result of the formula | |
| FormulaRecordAggregate | back to summary |
|---|---|
public FormulaRecordAggregate(FormulaRecord formulaRec, StringRecord stringRec, SharedValueManager svm)
| |
| getArrayFormulaRange | back to summary |
|---|---|
| public CellRangeAddress getArrayFormulaRange() | |
| getColumn | back to summary |
|---|---|
| public short getColumn() Implements org.
| |
| getFormulaRecord | back to summary |
|---|---|
| public FormulaRecord getFormulaRecord() | |
| getFormulaTokens | back to summary |
|---|---|
| public Ptg[] getFormulaTokens() | |
| getRow | back to summary |
|---|---|
| public int getRow() Implements org.
| |
| getStringRecord | back to summary |
|---|---|
| public StringRecord getStringRecord() debug only TODO - encapsulate | |
| getStringValue | back to summary |
|---|---|
| public String getStringValue() | |
| getXFIndex | back to summary |
|---|---|
| public short getXFIndex() Implements org. | |
| handleMissingSharedFormulaRecord | back to summary |
|---|---|
| private static void handleMissingSharedFormulaRecord(FormulaRecord formula) Sometimes the shared formula flag "seems" to be erroneously set (because the corresponding
| |
| isPartOfArrayFormula | back to summary |
|---|---|
| public boolean isPartOfArrayFormula() | |
| notifyFormulaChanging | back to summary |
|---|---|
| public void notifyFormulaChanging() Should be called by any code which is either deleting this formula cell, or changing its type. This method gives the aggregate a chance to unlink any shared formula that may be involved with this cell formula. | |
| removeArrayFormula | back to summary |
|---|---|
| public CellRangeAddress removeArrayFormula(int rowIndex, int columnIndex) Removes an array formula
| |
| setArrayFormula | back to summary |
|---|---|
| public void setArrayFormula(CellRangeAddress r, Ptg[] ptgs) | |
| setCachedBooleanResult | back to summary |
|---|---|
| public void setCachedBooleanResult(boolean value) | |
| setCachedDoubleResult | back to summary |
|---|---|
| public void setCachedDoubleResult(double value) | |
| setCachedErrorResult | back to summary |
|---|---|
| public void setCachedErrorResult(int errorCode) | |
| setCachedErrorResult | back to summary |
|---|---|
| public void setCachedErrorResult(FormulaError error) | |
| setCachedStringResult | back to summary |
|---|---|
| public void setCachedStringResult(String value) | |
| setColumn | back to summary |
|---|---|
| public void setColumn(short col) Implements org.
| |
| setParsedExpression | back to summary |
|---|---|
| public void setParsedExpression(Ptg[] ptgs) Also checks for a related shared formula and unlinks it if found | |
| setRow | back to summary |
|---|---|
| public void setRow(int row) Implements org.
| |
| setXFIndex | back to summary |
|---|---|
| public void setXFIndex(short xf) Implements org. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| unlinkSharedFormula | back to summary |
|---|---|
| public void unlinkSharedFormula() | |
| visitContainedRecords | back to summary |
|---|---|
| public void visitContainedRecords(RecordAggregate. Implements abstract org. Doc from org. Visit each of the atomic BIFF records contained in this RecordAggregate in the order
that they should be written to file. Implementors may or may not return the actual
| |