public final class SupBookRecord extends StandardRecord
| Modifier and Type | Field and Description |
|---|---|
static short |
sid |
| Constructor and Description |
|---|
SupBookRecord(RecordInputStream in)
called by the constructor, should set class level fields.
|
SupBookRecord(java.lang.String url,
java.lang.String[] sheetNames) |
SupBookRecord(SupBookRecord other) |
| Modifier and Type | Method and Description |
|---|---|
SupBookRecord |
copy() |
static SupBookRecord |
createAddInFunctions() |
static SupBookRecord |
createExternalReferences(java.lang.String url,
java.lang.String[] sheetNames) |
static SupBookRecord |
createInternalReferences(short numberOfSheets) |
protected int |
getDataSize() |
short |
getNumberOfSheets() |
java.lang.String[] |
getSheetNames() |
short |
getSid()
return the non static version of the id for this record.
|
java.lang.String |
getURL() |
boolean |
isAddInFunctions() |
boolean |
isExternalReferences() |
boolean |
isInternalReferences() |
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setNumberOfSheets(short number) |
void |
setURL(java.lang.String pUrl) |
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serializecloneViaReserialise, serializepublic static final short sid
public SupBookRecord(SupBookRecord other)
public SupBookRecord(java.lang.String url,
java.lang.String[] sheetNames)
public SupBookRecord(RecordInputStream in)
in - the stream to read frompublic static SupBookRecord createInternalReferences(short numberOfSheets)
public static SupBookRecord createAddInFunctions()
public static SupBookRecord createExternalReferences(java.lang.String url, java.lang.String[] sheetNames)
public boolean isExternalReferences()
public boolean isInternalReferences()
public boolean isAddInFunctions()
public java.lang.String toString()
Recordprotected int getDataSize()
getDataSize in class StandardRecordpublic void serialize(LittleEndianOutput out)
StandardRecord
The number of bytes written must equal the record size reported by
RecordBase.getRecordSize()} minus four (
record header consisting of a 'ushort sid' and 'ushort reclength' has
already been written by their superclass).
serialize in class StandardRecordout - the output objectpublic void setNumberOfSheets(short number)
public short getNumberOfSheets()
public short getSid()
Recordpublic java.lang.String getURL()
public java.lang.String[] getSheetNames()
public void setURL(java.lang.String pUrl)
public SupBookRecord copy()
copy in interface Duplicatablecopy in class StandardRecordCopyright 2020 The Apache Software Foundation or its licensors, as applicable.