public interface BiffRec
| Modifier and Type | Method and Description |
|---|---|
void |
addContinue(Continue c)
adds a CONTINUE record to the array of CONTINUE records for this record,
containing all data beyond the 8224 byte record size limit.
|
void |
copyFormat(BiffRec source) |
boolean |
getBooleanVal() |
byte |
getByteAt(int off)
Gets the byte from the specified position in the record byte array.
|
BlockByteReader |
getByteReader() |
byte[] |
getBytes()
gets the full record bytes for this record including header bytes
|
byte[] |
getBytesAt(int off,
int len)
Gets the byte from the specified position in the record byte array.
|
String |
getCellAddress()
get a string address for the cell based on row and col ie: "H22"
|
short |
getColNumber() |
List |
getContinueVect()
returns the array of CONTINUE records for this record, containing all
data beyond the 8224 byte record size limit.
|
byte[] |
getData()
gets the record data merging any Continue record data.
|
String |
getDataType()
get the data type name for this record
|
double |
getDblVal() |
Object |
getDefaultVal()
get a default "empty" data value for this record
|
BlockByteReader |
getEncryptedByteReader() |
float |
getFloatVal()
Get the value of the record as a Float.
|
Font |
getFont() |
String |
getFormatPattern() |
Formula |
getFormulaRec() |
Hlink |
getHyperlink() |
Object |
getInternalVal() |
int |
getIntVal() |
int |
getIxfe()
get the ixfe
|
int |
getLength()
Returns the length of this record, including the 4 header bytes
|
CellRange |
getMergeRange() |
int |
getOffset()
Get the relative position within the data underlying the block vector
represented by the BlockByteReader.
|
short |
getOpcode() |
int |
getRecordIndex()
return the record index of this object
|
Row |
getRow() |
int |
getRowNumber() |
Boundsheet |
getSheet()
get the WorkSheet for this record.
|
ByteStreamer |
getStreamer() |
String |
getStringVal()
Get the value of the record as a String.
|
String |
getStringVal(String encoding)
Get the value of the record as a String.
|
WorkBook |
getWorkBook() |
Xf |
getXfRec() |
boolean |
hasContinues()
returns whether this record has a CONTINUE record containing data beyond
the 8228 byte record size limit.
|
void |
init()
perform record initialization
|
boolean |
isReadOnly() |
boolean |
isValueForCell() |
void |
postStream()
do any post-streaming cleanup such as expensive index updates or other
deferrable processing.
|
void |
preStream()
do any pre-streaming processing such as expensive index updates or other
deferrable processing.
|
boolean |
remove(boolean t) |
void |
removeContinues()
remove all Continue records
|
void |
setBooleanVal(boolean b) |
void |
setByteReader(BlockByteReader db) |
void |
setCol(short i)
set the column
|
void |
setData(byte[] b) |
void |
setDebugLevel(int b)
set the DEBUG level
|
void |
setDoubleVal(double v) |
void |
setEncryptedByteReader(BlockByteReader db) |
void |
setHyperlink(Hlink h) |
void |
setIndex(Index id)
associate this record with its Index record
|
void |
setIntVal(int v) |
void |
setIsValueForCell(boolean b)
set whether this record contains the value of the Cell.
|
void |
setIxfe(int xf) |
void |
setLength(int len) |
void |
setMergeRange(CellRange r) |
void |
setOffset(int pos)
Set the relative position within the data underlying the block vector
represented by the BlockByteReader.
|
void |
setOpcode(short opcode) |
void |
setRow(Row r) |
void |
setRowCol(int[] x) |
void |
setRowNumber(int i) |
void |
setSheet(Sheet b)
Associate this record with a worksheet.
|
void |
setStreamer(ByteStreamer streamer) |
void |
setStringVal(String v) |
void |
setWorkBook(WorkBook wk) |
void |
setXFRecord()
set the XF (format) record for this rec
|
void |
setXFRecord(int i)
set the XF (format) record for this rec
|
String |
toHexDump()
Dumps this record as a human-readable string.
|
Object getInternalVal()
void setHyperlink(Hlink h)
Hlink getHyperlink()
CellRange getMergeRange()
void setMergeRange(CellRange r)
Row getRow()
String getFormatPattern()
void copyFormat(BiffRec source)
Font getFont()
Xf getXfRec()
boolean remove(boolean t)
Formula getFormulaRec()
void setRow(Row r)
void setRowNumber(int i)
void setIxfe(int xf)
int getIntVal()
double getDblVal()
boolean getBooleanVal()
boolean isReadOnly()
void setDebugLevel(int b)
int getRecordIndex()
void addContinue(Continue c)
void removeContinues()
List getContinueVect()
boolean hasContinues()
void setIsValueForCell(boolean b)
void setIndex(Index id)
void setSheet(Sheet b)
Boundsheet getSheet()
void setWorkBook(WorkBook wk)
WorkBook getWorkBook()
void setCol(short i)
void setRowCol(int[] x)
short getColNumber()
int getRowNumber()
String getCellAddress()
void init()
Object getDefaultVal()
String getDataType()
float getFloatVal()
String getStringVal()
void setStringVal(String v)
void setBooleanVal(boolean b)
void setIntVal(int v)
void setDoubleVal(double v)
void preStream()
void postStream()
void setXFRecord()
void setXFRecord(int i)
int getIxfe()
short getOpcode()
void setOpcode(short opcode)
int getLength()
void setLength(int len)
void setByteReader(BlockByteReader db)
BlockByteReader getByteReader()
void setEncryptedByteReader(BlockByteReader db)
BlockByteReader getEncryptedByteReader()
void setData(byte[] b)
byte[] getBytes()
byte[] getData()
byte getByteAt(int off)
off - byte[] getBytesAt(int off,
int len)
off - void setOffset(int pos)
pos - int getOffset()
ByteStreamer getStreamer()
void setStreamer(ByteStreamer streamer)
streamer - boolean isValueForCell()
String toHexDump()
#toString().
It generally includes a hex dump of the record's contents.Copyright © 2002–2019 Starter Inc.. All rights reserved.