| Modifier and Type | Field and Description |
|---|---|
| private static final BitField | |
| private static final BitField | |
| private double | |
| private short | |
| private int | field_6_zero
Unused field. |
| private Formula | |
| private static final int | |
| private static final BitField | |
| public static final short | |
| private FormulaSpecialCachedValue | specialCachedValue
Since the NaN support seems sketchy (different constants) we'll store and spit it out directly |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FormulaRecord | copy()
Implements abstract org. Implements org.
|
| public boolean | |
| public int | |
| public int | Returns: The type of the cached value or CellType.NUMERIC.getCode() if the cached value is empty
Deprecated
POI 5.0.0, will be removed in 6.0, use getCachedResultTypeEnum until switch to enum is fully done
|
| public CellType | Returns: The type of the cached value or CellType.NUMERIC if the cached value is emptyReturns the type of the cached result |
| public Formula | |
| public Map | |
| public HSSFRecordTypes | getGenericRecordType()
Overrides default org. Implements abstract org.
|
| public short | |
| public Ptg[] | |
| protected String | getRecordName()
Implements abstract org. Gets the debug info BIFF record type name (used by |
| public short | getSid()
Implements abstract org. return the non static version of the id for this record. |
| public double | |
| protected int | |
| public boolean | Returns: true if this FormulaRecord is followed by a
StringRecord representing the cached text result of the formula
evaluation.
|
| public boolean | |
| public boolean | |
| public boolean | |
| protected void | serializeValue(LittleEndianOutput
the output out)Implements abstract org. writes out the value data for this cell record |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| alwaysCalc | back to summary |
|---|---|
| private static final BitField alwaysCalc | |
| calcOnLoad | back to summary |
|---|---|
| private static final BitField calcOnLoad | |
| field_4_value | back to summary |
|---|---|
| private double field_4_value | |
| field_5_options | back to summary |
|---|---|
| private short field_5_options | |
| field_6_zero | back to summary |
|---|---|
| private int field_6_zero Unused field. As it turns out this field is often not zero.. According to Microsoft Excel Developer's Kit Page 318: when writing the chn field (offset 20), it's supposed to be 0 but ignored on read | |
| field_8_parsed_expr | back to summary |
|---|---|
| private Formula field_8_parsed_expr | |
| FIXED_SIZE | back to summary |
|---|---|
| private static final int FIXED_SIZE | |
| sharedFormula | back to summary |
|---|---|
| private static final BitField sharedFormula | |
| sid | back to summary |
|---|---|
| public static final short sid | |
| specialCachedValue | back to summary |
|---|---|
| private FormulaSpecialCachedValue specialCachedValue Since the NaN support seems sketchy (different constants) we'll store and spit it out directly | |
| FormulaRecord | back to summary |
|---|---|
| public FormulaRecord() Creates new FormulaRecord | |
| FormulaRecord | back to summary |
|---|---|
| public FormulaRecord(FormulaRecord other) | |
| FormulaRecord | back to summary |
|---|---|
| public FormulaRecord(RecordInputStream ris) | |
| copy | back to summary |
|---|---|
| public FormulaRecord copy() Implements abstract org. Implements org.
| |
| getCachedBooleanValue | back to summary |
|---|---|
| public boolean getCachedBooleanValue() | |
| getCachedErrorValue | back to summary |
|---|---|
| public int getCachedErrorValue() | |
| getCachedResultType | back to summary |
|---|---|
| public int getCachedResultType()
Deprecated POI 5.0.0, will be removed in 6.0, use getCachedResultTypeEnum until switch to enum is fully done
| |
| getCachedResultTypeEnum | back to summary |
|---|---|
| public CellType getCachedResultTypeEnum() Returns the type of the cached result
| |
| getFormula | back to summary |
|---|---|
| public Formula getFormula() | |
| getGenericProperties | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public HSSFRecordTypes getGenericRecordType() Overrides default org. Implements abstract org.
| |
| getOptions | back to summary |
|---|---|
| public short getOptions() get the option flags
| |
| getParsedExpression | back to summary |
|---|---|
public Ptg[] getParsedExpression()
| |
| getRecordName | back to summary |
|---|---|
| protected String getRecordName() Implements abstract org. Doc from org. Gets the debug info BIFF record type name (used by | |
| getSid | back to summary |
|---|---|
| public short getSid() Implements abstract org. Doc from org. return the non static version of the id for this record.
| |
| getValue | back to summary |
|---|---|
| public double getValue() get the calculated value of the formula
| |
| getValueDataSize | back to summary |
|---|---|
| protected int getValueDataSize() Implements abstract org.
| |
| hasCachedResultString | back to summary |
|---|---|
public boolean hasCachedResultString()
| |
| isAlwaysCalc | back to summary |
|---|---|
| public boolean isAlwaysCalc() | |
| isCalcOnLoad | back to summary |
|---|---|
| public boolean isCalcOnLoad() | |
| isSharedFormula | back to summary |
|---|---|
| public boolean isSharedFormula() | |
| serializeValue | back to summary |
|---|---|
| protected void serializeValue(LittleEndianOutput out) Implements abstract org. Doc from org. writes out the value data for this cell record
| |
| setAlwaysCalc | back to summary |
|---|---|
| public void setAlwaysCalc(boolean flag) | |
| setCachedResultBoolean | back to summary |
|---|---|
| public void setCachedResultBoolean(boolean value) | |
| setCachedResultErrorCode | back to summary |
|---|---|
| public void setCachedResultErrorCode(int errorCode) | |
| setCachedResultTypeEmptyString | back to summary |
|---|---|
| public void setCachedResultTypeEmptyString() | |
| setCachedResultTypeString | back to summary |
|---|---|
| public void setCachedResultTypeString() | |
| setCalcOnLoad | back to summary |
|---|---|
| public void setCalcOnLoad(boolean flag) | |
| setOptions | back to summary |
|---|---|
| public void setOptions(short options) set the option flags
| |
| setParsedExpression | back to summary |
|---|---|
| public void setParsedExpression(Ptg[] ptgs) | |
| setSharedFormula | back to summary |
|---|---|
| public void setSharedFormula(boolean flag) | |
| setValue | back to summary |
|---|---|
| public void setValue(double value) set the calculated value of the formula
| |