|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.StandardRecord
org.apache.poi.hssf.record.StyleRecord
public final class StyleRecord
Title: Style Record (0x0293)
Description: Describes a builtin to the gui or user defined styleREFERENCE: PG 390 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
Field Summary | |
---|---|
static short |
sid
|
Constructor Summary | |
---|---|
StyleRecord()
creates a new style record, initially set to 'built-in' |
|
StyleRecord(RecordInputStream in)
|
Method Summary | |
---|---|
java.lang.String |
getName()
get the style's name |
short |
getSid()
return the non static version of the id for this record. |
int |
getXFIndex()
get the actual index of the style extended format record |
boolean |
isBuiltin()
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record. |
void |
setBuiltinStyle(int builtinStyleId)
if this is a builtin style set the number of the built in style |
void |
setName(java.lang.String name)
set the style's name |
void |
setOutlineStyleLevel(int level)
set the row or column level of the style (if builtin 1||2) |
void |
setXFIndex(int xfIndex)
set the actual index of the style extended format record |
java.lang.String |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short sid
Constructor Detail |
---|
public StyleRecord()
public StyleRecord(RecordInputStream in)
Method Detail |
---|
public void setXFIndex(int xfIndex)
xfIndex
- of the xf recordpublic int getXFIndex()
getXFIndex()
public void setName(java.lang.String name)
name
- of the stylepublic void setBuiltinStyle(int builtinStyleId)
builtinStyleId
- style number (0-7)public void setOutlineStyleLevel(int level)
public boolean isBuiltin()
public java.lang.String getName()
public java.lang.String toString()
Record
toString
in class Record
public void serialize(LittleEndianOutput out)
StandardRecord
RecordBase.getRecordSize()
}
public short getSid()
Record
getSid
in class Record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |