|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.office.excel.RecordTokenizer
org.millscript.office.excel.versions.biff2.Biff2RecordTokenizer
public class Biff2RecordTokenizer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.millscript.office.excel.RecordTokenizer |
|---|
RecordTokenizer.StringOptions |
| Constructor Summary | |
|---|---|
Biff2RecordTokenizer(BIFFVersion version,
BIFFRecordInputStream bis,
byte[] bofData)
|
|
| Method Summary | |
|---|---|
RecordParser |
getRecordParser()
|
AbsoluteCellAddress |
readAbsoluteCellAddress()
Returns the AbsoluteCellAddress at the current offset in
the current record data. |
CellRangeAddress |
readCellRangeAddress()
Returns the CellRangeAddress at the current offset in the
current record data. |
ConstantCachedValue[] |
readConstantCachedValueArray()
Returns an array of the ConstantCachedValues from the
current record offset. |
FormattingRun |
readFormattingRun()
Returns the formating run at the current offset in the current record data. |
org.millscript.millscript.expr.Expr<?> |
readFormula(int formulaSize)
Returns the Expr for the formula at the current offset in the
current record with the specified total byte size. |
OffsetCellAddress |
readOffsetCellAddress()
Returns the OffsetCellAddress at the current offset in
the current record data. |
java.lang.String |
readString(int length)
Returns a string of the specified length from the current record at the current offset. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Biff2RecordTokenizer(BIFFVersion version,
BIFFRecordInputStream bis,
byte[] bofData)
version - bis - | Method Detail |
|---|
public RecordParser getRecordParser()
getRecordParser in class RecordTokenizerRecordTokenizer.getRecordParser()public AbsoluteCellAddress readAbsoluteCellAddress()
RecordTokenizerAbsoluteCellAddress at the current offset in
the current record data. This method allows for the changes in the
format of this record between BIFF7 and BIFF8. The current offset is
incremented by the appropriate amount for the current BIFF version.
readAbsoluteCellAddress in class RecordTokenizerAbsoluteCellAddress at the current offset in
the current record dataRecordTokenizer.readAbsoluteCellAddress()public CellRangeAddress readCellRangeAddress()
RecordTokenizerCellRangeAddress at the current offset in the
current record data. This method allows for the changes in the format of
this record between BIFF7 and BIFF8. The current offset is incremented
by the appropriate amount for the current BIFF version.
readCellRangeAddress in class RecordTokenizerCellRangeAddress at the current offset in the
current record dataRecordTokenizer.readCellRangeAddress()public ConstantCachedValue[] readConstantCachedValueArray()
RecordTokenizerConstantCachedValues from the
current record offset. The number returned is decoded from the first
three bytes in a BIFF version dependant way.
readConstantCachedValueArray in class RecordTokenizerConstantCachedValuesRecordTokenizer.readConstantCachedValueArray()public FormattingRun readFormattingRun()
RecordTokenizer
readFormattingRun in class RecordTokenizerFormattingRun at the current offset in the
current recordRecordTokenizer.readFormattingRun()public org.millscript.millscript.expr.Expr<?> readFormula(int formulaSize)
RecordTokenizerExpr for the formula at the current offset in the
current record with the specified total byte size. This method will
first read the number of bytes used by the formula data, which is a BIFF
version dependant field.
readFormula in class RecordTokenizerformulaSize - the number of bytes the formula uses, including the
version dependant formula data byte size field
Expr for the parsed formulaRecordTokenizer.readFormula(int)public OffsetCellAddress readOffsetCellAddress()
RecordTokenizerOffsetCellAddress at the current offset in
the current record data. This method allows for the changes in the
format of this record between BIFF7 and BIFF8. The current offset is
incremented by the appropriate amount for the current BIFF version.
readOffsetCellAddress in class RecordTokenizerOffsetCellAddress at the current offset in
the current record dataRecordTokenizer.readOffsetCellAddress()public java.lang.String readString(int length)
RecordTokenizer
readString in class RecordTokenizerRecordTokenizer.readString(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||