public final class ExtSSTRecord extends ContinuableRecord
Description: This record is used for a quick lookup into the SST record. This record breaks the SST table into a set of buckets. The offsets to these buckets within the SST record are kept as well as the position relative to the start of the SST record.
REFERENCE: PG 313 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtSSTRecord.InfoSubRecord |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BUCKET_SIZE |
static int |
MAX_BUCKETS |
static short |
sid |
| Constructor and Description |
|---|
ExtSSTRecord() |
ExtSSTRecord(RecordInputStream in) |
| Modifier and Type | Method and Description |
|---|---|
static int |
getNumberOfInfoRecsForStrings(int numStrings) |
static int |
getRecordSizeForStrings(int numStrings)
Given a number of strings (in the sst), returns the size of the extsst record
|
short |
getSid()
return the non static version of the id for this record.
|
void |
serialize(ContinuableRecordOutput out)
Serializes this record's content to the supplied data output.
|
void |
setBucketOffsets(int[] bucketAbsoluteOffsets,
int[] bucketRelativeOffsets) |
void |
setNumStringsPerBucket(short numStrings) |
String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serializeclone, cloneViaReserialise, serializepublic static final short sid
public static final int DEFAULT_BUCKET_SIZE
public static final int MAX_BUCKETS
public ExtSSTRecord()
public ExtSSTRecord(RecordInputStream in)
public void setNumStringsPerBucket(short numStrings)
public String toString()
Recordpublic void serialize(ContinuableRecordOutput out)
ContinuableRecord
The standard BIFF header (ushort sid, ushort size) has been handled by the superclass, so
only BIFF data should be written by this method. Simple data types can be written with the
standard LittleEndianOutput methods. Methods from ContinuableRecordOutput
can be used to serialize strings (with ContinueRecords being written as required).
If necessary, implementors can explicitly start ContinueRecords (regardless of the
amount of remaining space).
out - a data output streampublic static int getNumberOfInfoRecsForStrings(int numStrings)
public static int getRecordSizeForStrings(int numStrings)
numStrings - the number of stringspublic short getSid()
Recordpublic void setBucketOffsets(int[] bucketAbsoluteOffsets,
int[] bucketRelativeOffsets)
Copyright © 2010 - 2020 Adobe. All Rights Reserved