public final class StyleExtRecord extends ContinuableRecord
Modifier and Type | Field and Description |
---|---|
static byte |
CUSTOM |
static byte |
DATA_MODEL |
static byte |
NEUTRAL |
static byte |
NUMBER_FORMAT |
static short |
sid |
static byte |
THEMED_CELL |
static byte |
TITLE |
Constructor and Description |
---|
StyleExtRecord(int bits,
int iCategory,
BuiltInStyle builtInData,
String stName,
XFProp[] xfProps) |
StyleExtRecord(RecordInputStream in)
construct a HeaderFooterRecord record.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
BuiltInStyle |
getBuiltInData() |
int |
getCategory() |
protected int |
getDataSize() |
String |
getName() |
XFProp |
getProperty(int xfPropType) |
short |
getSid()
return the non static version of the id for this record.
|
boolean |
isBuiltIn() |
boolean |
isCustom() |
boolean |
isHidden() |
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 |
setBuiltIn(boolean flag) |
void |
setBuiltInData(BuiltInStyle data) |
void |
setCategory(int category) |
void |
setCustom(boolean flag) |
void |
setHidden(boolean flag) |
String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public static final byte CUSTOM
public static final byte NEUTRAL
public static final byte DATA_MODEL
public static final byte TITLE
public static final byte THEMED_CELL
public static final byte NUMBER_FORMAT
public static final short sid
public StyleExtRecord(int bits, int iCategory, BuiltInStyle builtInData, String stName, XFProp[] xfProps)
public StyleExtRecord(RecordInputStream in)
in
- the RecordInputstream to read the record frompublic short getSid()
Record
public XFProp getProperty(int xfPropType)
public String toString()
Record
public boolean isBuiltIn()
public void setBuiltIn(boolean flag)
public boolean isHidden()
public void setHidden(boolean flag)
public boolean isCustom()
public void setCustom(boolean flag)
public int getCategory()
public void setCategory(int category)
public BuiltInStyle getBuiltInData()
public void setBuiltInData(BuiltInStyle data)
public String getName()
protected int getDataSize()
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 © 2020. All rights reserved.