Package org.apache.poi.hssf.record
Class SupBookRecord
java.lang.Object
org.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.StandardRecord
org.apache.poi.hssf.record.SupBookRecord
Title: Sup Book - EXTERNALBOOK (0x01AE)
Description: A External Workbook Description (Supplemental Book) Its only a dummy record for making new ExternSheet Record
REFERENCE: 5.38
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final char
protected static final char
protected static final char
protected static final char
protected static final char
protected static final char
protected static final char
protected static final char
protected static final String
static final short
-
Constructor Summary
ConstructorsConstructorDescriptionSupBookRecord
(String url, String[] sheetNames) called by the constructor, should set class level fields. -
Method Summary
Modifier and TypeMethodDescriptionstatic SupBookRecord
static SupBookRecord
createExternalReferences
(String url, String[] sheetNames) static SupBookRecord
createInternalReferences
(short numberOfSheets) protected int
short
String[]
short
getSid()
return the non static version of the id for this record.getURL()
boolean
boolean
boolean
void
Write the data content of this BIFF record.void
setNumberOfSheets
(short number) void
toString()
get a string representation of the record (for biffview/debugging)Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serialize
Methods inherited from class org.apache.poi.hssf.record.Record
clone, cloneViaReserialise, serialize
-
Field Details
-
sid
public static final short sid- See Also:
-
CH_VOLUME
protected static final char CH_VOLUME- See Also:
-
CH_SAME_VOLUME
protected static final char CH_SAME_VOLUME- See Also:
-
CH_DOWN_DIR
protected static final char CH_DOWN_DIR- See Also:
-
CH_UP_DIR
protected static final char CH_UP_DIR- See Also:
-
CH_LONG_VOLUME
protected static final char CH_LONG_VOLUME- See Also:
-
CH_STARTUP_DIR
protected static final char CH_STARTUP_DIR- See Also:
-
CH_ALT_STARTUP_DIR
protected static final char CH_ALT_STARTUP_DIR- See Also:
-
CH_LIB_DIR
protected static final char CH_LIB_DIR- See Also:
-
PATH_SEPERATOR
-
-
Constructor Details
-
SupBookRecord
-
SupBookRecord
called by the constructor, should set class level fields. Should throw runtime exception for bad/incomplete data.- Parameters:
in
- the stream to read from
-
-
Method Details
-
createInternalReferences
-
createAddInFunctions
-
createExternalReferences
-
isExternalReferences
public boolean isExternalReferences() -
isInternalReferences
public boolean isInternalReferences() -
isAddInFunctions
public boolean isAddInFunctions() -
toString
Description copied from class:Record
get a string representation of the record (for biffview/debugging) -
getDataSize
protected int getDataSize()- Specified by:
getDataSize
in classStandardRecord
-
serialize
Description copied from class:StandardRecord
Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.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).- Specified by:
serialize
in classStandardRecord
- Parameters:
out
- the output object
-
setNumberOfSheets
public void setNumberOfSheets(short number) -
getNumberOfSheets
public short getNumberOfSheets() -
getSid
public short getSid()Description copied from class:Record
return the non static version of the id for this record. -
getURL
-
getSheetNames
-
setURL
-