org.millscript.office.excel.versions.biff8
Class Biff8RecordTokenizer

java.lang.Object
  extended by org.millscript.office.excel.RecordTokenizer
      extended by org.millscript.office.excel.versions.biff2.Biff2RecordTokenizer
          extended by org.millscript.office.excel.versions.biff3.Biff3RecordTokenizer
              extended by org.millscript.office.excel.versions.biff4.Biff4RecordTokenizer
                  extended by org.millscript.office.excel.versions.biff5.Biff5RecordTokenizer
                      extended by org.millscript.office.excel.versions.biff7.Biff7RecordTokenizer
                          extended by org.millscript.office.excel.versions.biff8.Biff8RecordTokenizer

public class Biff8RecordTokenizer
extends Biff7RecordTokenizer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.millscript.office.excel.RecordTokenizer
RecordTokenizer.StringOptions
 
Constructor Summary
Biff8RecordTokenizer(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.
 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 org.millscript.office.excel.versions.biff3.Biff3RecordTokenizer
readFormula
 
Methods inherited from class org.millscript.office.excel.RecordTokenizer
checkBIFFVersionSupportsRecord, decode, getBiffVersion, getBytesLeftInCurrentRecordData, getCodepage, getCodepageDecoder, getCurrentRecordDataOffset, getRecordTokenizer, hasMoreRecords, nextRecord, peekRecord, read2ByteChar, read2ByteInt, read4ByteInt, read8ByteDouble, read8ByteLong, readByte, readBytes, readBytesInto, readBytesLeftInCurrentRecordData, readCellRangeAddressList, readCellRangeAddressListPreBIFF8, readCellRangeAddressPreBIFF8, readCharArray, readColor, readCompressedCharArray, readConstantCachedValues, readFormula, readLongString, readRKValue, readShortString, readUnicodeString, readUnsigned2Byte, readUnsignedByte, readZeroTerminatedCompressedString, readZeroTerminatedString, setCodepage, setCurrentRecordDataOffset, skipBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Biff8RecordTokenizer

public Biff8RecordTokenizer(BIFFVersion version,
                            BIFFRecordInputStream bis,
                            byte[] bofData)
Parameters:
version -
bis -
Method Detail

getRecordParser

public RecordParser getRecordParser()
Overrides:
getRecordParser in class Biff7RecordTokenizer
See Also:
Biff7RecordTokenizer.getRecordParser()

readAbsoluteCellAddress

public AbsoluteCellAddress readAbsoluteCellAddress()
Description copied from class: RecordTokenizer
Returns the AbsoluteCellAddress 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.

Overrides:
readAbsoluteCellAddress in class Biff2RecordTokenizer
Returns:
the AbsoluteCellAddress at the current offset in the current record data
See Also:
RecordTokenizer.readAbsoluteCellAddress()

readCellRangeAddress

public CellRangeAddress readCellRangeAddress()
Description copied from class: RecordTokenizer
Returns the CellRangeAddress 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.

Overrides:
readCellRangeAddress in class Biff2RecordTokenizer
Returns:
the CellRangeAddress at the current offset in the current record data
See Also:
RecordTokenizer.readCellRangeAddress()

readConstantCachedValueArray

public ConstantCachedValue[] readConstantCachedValueArray()
Description copied from class: RecordTokenizer
Returns an array of the ConstantCachedValues from the current record offset. The number returned is decoded from the first three bytes in a BIFF version dependant way.

Overrides:
readConstantCachedValueArray in class Biff2RecordTokenizer
Returns:
an array of ConstantCachedValues
See Also:
RecordTokenizer.readConstantCachedValueArray()

readFormattingRun

public FormattingRun readFormattingRun()
Description copied from class: RecordTokenizer
Returns the formating run 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.

Overrides:
readFormattingRun in class Biff2RecordTokenizer
Returns:
the FormattingRun at the current offset in the current record
See Also:
RecordTokenizer.readFormattingRun()

readOffsetCellAddress

public OffsetCellAddress readOffsetCellAddress()
Description copied from class: RecordTokenizer
Returns the OffsetCellAddress 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.

Overrides:
readOffsetCellAddress in class Biff2RecordTokenizer
Returns:
the OffsetCellAddress at the current offset in the current record data
See Also:
RecordTokenizer.readOffsetCellAddress()

readString

public java.lang.String readString(int length)
Description copied from class: RecordTokenizer
Returns a string of the specified length from the current record at the current offset. This method allows for the varying storage of strings between BIFF versions.

Overrides:
readString in class Biff2RecordTokenizer
Returns:
a String from the current offset in the current record
See Also:
RecordTokenizer.readString(int)


Copyright © 2006-2007 Open World Ltd. All Rights Reserved.