| |
|
| java.lang.Object org.apache.poi.hssf.record.Record org.apache.poi.hssf.record.SharedFormulaRecord
SharedFormulaRecord | public class SharedFormulaRecord extends Record (Code) | | Title: SharedFormulaRecord
Description: Primarily used as an excel optimization so that multiple similar formulas
are not written out too many times. We should recognize this record and
serialize as is since this is used when reading templates.
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.
author: Danny Mui at apache dot org |
Field Summary | |
final public static short | sid |
sid | final public static short sid(Code) | | |
SharedFormulaRecord | public SharedFormulaRecord()(Code) | | |
SharedFormulaRecord | public SharedFormulaRecord(RecordInputStream in)(Code) | | Parameters: in - the RecordInputstream to read the record from |
convertSharedFormulaRecord | public void convertSharedFormulaRecord(FormulaRecord formula)(Code) | | Creates a non shared formula from the shared formula counter part
|
fillFields | protected void fillFields(RecordInputStream in)(Code) | | Shared formulas are to treated like unknown records, and as a result d
|
getExpressionLength | public short getExpressionLength()(Code) | | |
getFirstColumn | public short getFirstColumn()(Code) | | |
getFirstRow | public int getFirstRow()(Code) | | |
getLastColumn | public short getLastColumn()(Code) | | |
getLastRow | public int getLastRow()(Code) | | |
getRecordSize | public int getRecordSize()(Code) | | |
getSid | public short getSid()(Code) | | |
isInValueSection | public boolean isInValueSection()(Code) | | Mirroring formula records so it is registered in the ValueRecordsAggregate
|
isValue | public boolean isValue()(Code) | | Register it in the ValueRecordsAggregate so it can go into the FormulaRecordAggregate
|
serialize | public int serialize(int offset, byte[] data)(Code) | | spit the record out AS IS. no interperatation or identification
|
toString | public String toString()(Code) | | print a sort of string representation ([SHARED FORMULA RECORD] id = x [/SHARED FORMULA RECORD])
|
validateSid | protected void validateSid(short id)(Code) | | |
|
|
|