public final class SharedFormulaRecord extends SharedValueRecordBase
Note: the documentation says that the SID is BC where biffviewer reports 4BC. The hex dump shows that the two byte sid representation to be 'BC 04' that is consistent with the other high byte record types.
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
SharedFormulaRecord() |
SharedFormulaRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
protected int |
getExtraDataSize() |
Ptg[] |
getFormulaTokens(FormulaRecord formula)
Convert formula into an array of
Ptg tokens. |
short |
getSid()
return the non static version of the id for this record.
|
boolean |
isFormulaSame(SharedFormulaRecord other) |
protected void |
serializeExtraData(LittleEndianOutput out) |
java.lang.String |
toString()
print a sort of string representation ([SHARED FORMULA RECORD] id = x [/SHARED FORMULA RECORD])
|
getDataSize, getFirstColumn, getFirstRow, getLastColumn, getLastRow, getRange, isFirstCell, isInRange, serialize
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public SharedFormulaRecord()
public SharedFormulaRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromprotected void serializeExtraData(LittleEndianOutput out)
serializeExtraData
in class SharedValueRecordBase
protected int getExtraDataSize()
getExtraDataSize
in class SharedValueRecordBase
public java.lang.String toString()
public short getSid()
Record
public Ptg[] getFormulaTokens(FormulaRecord formula)
Ptg
tokens.formula
- The record to break into tokens, cannot be nullPtg
array that the formula would have, were it not shared.public boolean isFormulaSame(SharedFormulaRecord other)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.