public final class ThemeRecord extends ContinuableRecord
| Modifier and Type | Field and Description | 
|---|---|
| static int | DEFAULT_THEME | 
| static short | sid | 
| Constructor and Description | 
|---|
| ThemeRecord() | 
| ThemeRecord(RecordInputStream in)construct a HeaderFooterRecord record. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | clone() | 
| short | getSid()return the non static version of the id for this record. | 
| byte[] | getThemeData() | 
| int | getVersion()If this header belongs to a specific sheet view , the sheet view?s GUID will be saved here. | 
| protected void | serialize(ContinuableRecordOutput out)Serializes this record's content to the supplied data output. The standard BIFF header (ushort sid, ushort size) has been handled by the superclass, so only BIFF data should be written by this method. | 
| void | setVersion(int version)Set to 0 if use custom theme; or DEFAULT_THEME. | 
| String | toString()get a string representation of the record (for biffview/debugging) | 
getRecordSize, serializecloneViaReserialise, serializepublic static final int DEFAULT_THEME
public static final short sid
public ThemeRecord()
public ThemeRecord(RecordInputStream in)
in - the RecordInputstream to read the record frompublic short getSid()
Recordpublic int getVersion()
 If it is zero, it means the current sheet. Otherwise, this field MUST match the guid field
 of the preceding UserSViewBegin record.
public void setVersion(int version)
version - public byte[] getThemeData()
public String toString()
Recordprotected void serialize(ContinuableRecordOutput out)
ContinuableRecordLittleEndianOutput 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).serialize in class ContinuableRecordout - a data output streamCopyright © 2020. All rights reserved.