org.apache.poi.hssf.record
public class ExternSheetRecord extends StandardRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
ExternSheetRecord() |
ExternSheetRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
int |
addRef(int extBookIndex,
int firstSheetIndex,
int lastSheetIndex) |
void |
addREFRecord(org.apache.poi.hssf.record.ExternSheetRecord.RefSubRecord rec)
adds REF struct (ExternSheetSubRecord)
|
static ExternSheetRecord |
combine(ExternSheetRecord[] esrs) |
int |
findRefIndexFromExtBookIndex(int extBookIndex) |
protected int |
getDataSize() |
int |
getExtbookIndexFromRefIndex(int refIndex) |
int |
getFirstSheetIndexFromRefIndex(int extRefIndex) |
int |
getNumOfREFRecords()
returns the number of REF Records, which is in model
|
int |
getNumOfRefs() |
int |
getRefIxForSheet(int externalBookIndex,
int sheetIndex) |
short |
getSid()
return the non static version of the id for this record.
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
clone, cloneViaReserialise, serialize
public static final short sid
public ExternSheetRecord()
public ExternSheetRecord(RecordInputStream in)
public int getNumOfRefs()
public void addREFRecord(org.apache.poi.hssf.record.ExternSheetRecord.RefSubRecord rec)
rec
- REF structpublic int getNumOfREFRecords()
public java.lang.String toString()
Record
protected int getDataSize()
getDataSize
in class StandardRecord
public void serialize(LittleEndianOutput out)
StandardRecord
RecordBase.getRecordSize()
}serialize
in class StandardRecord
public short getSid()
public int getExtbookIndexFromRefIndex(int refIndex)
public int findRefIndexFromExtBookIndex(int extBookIndex)
public int getFirstSheetIndexFromRefIndex(int extRefIndex)
public int addRef(int extBookIndex, int firstSheetIndex, int lastSheetIndex)
public int getRefIxForSheet(int externalBookIndex, int sheetIndex)
public static ExternSheetRecord combine(ExternSheetRecord[] esrs)
Copyright 2014 The Apache Software Foundation or its licensors, as applicable.