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, serialize
cloneViaReserialise, serialize
public 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()
Record
protected int getDataSize()
getDataSize
in class StandardRecord
public 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 StandardRecord
out
- the output objectpublic void setNumberOfSheets(short number)
public short getNumberOfSheets()
public short getSid()
Record
public java.lang.String getURL()
public java.lang.String[] getSheetNames()
public void setURL(java.lang.String pUrl)
public SupBookRecord copy()
copy
in interface Duplicatable
copy
in class StandardRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.