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 |
---|---|
java.lang.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?
|
protected void |
serialize(ContinuableRecordOutput out)
Serializes this record's content to the supplied data output.
|
void |
setVersion(int version)
Set to 0 if use custom theme; or DEFAULT_THEME.
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public 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()
Record
public 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 java.lang.String toString()
Record
protected void serialize(ContinuableRecordOutput out)
ContinuableRecord
LittleEndianOutput
methods. Methods from ContinuableRecordOutput
can be used to serialize strings (with ContinueRecord
s being written as required).
If necessary, implementors can explicitly start ContinueRecord
s (regardless of the
amount of remaining space).serialize
in class ContinuableRecord
out
- a data output streamCopyright © 2005-2010 Potix Corporation. All Rights Reserved.