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) |
SharedFormulaRecord(SharedFormulaRecord other) |
Modifier and Type | Method and Description |
---|---|
SharedFormulaRecord |
copy() |
protected int |
getExtraDataSize() |
Ptg[] |
getFormulaTokens(FormulaRecord formula)
Convert formula into an array of
Ptg tokens. |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
short |
getSid()
return the non static version of the id for this record.
|
boolean |
isFormulaSame(SharedFormulaRecord other) |
protected void |
serializeExtraData(LittleEndianOutput out) |
getDataSize, getFirstColumn, getFirstRow, getLastColumn, getLastRow, getRange, isFirstCell, isInRange, serialize
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public SharedFormulaRecord()
public SharedFormulaRecord(SharedFormulaRecord other)
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 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 SharedFormulaRecord copy()
copy
in interface Duplicatable
copy
in class StandardRecord
public boolean isFormulaSame(SharedFormulaRecord other)
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in class Record
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.