|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBiff
jet.report.xls.ColInfo
public class ColInfo
Description: Specifies a spreadsheet ColInfo Record Body Length: 12 bytes Record Body Byte Structure: Byte Number Byte Description Byte Name 0-1 First formatted column colFirst 2-3 Last formatted column colLast 4-5 Column width, in 1/256s of a character width coldx 6-7 Index to XF record that contains the default format for the column ixfe 8-9 Options grbit 10-11 RESERVED zero A ColInfo class extends Biff class.
| Field Summary | |
|---|---|
static short |
COLLAPSED
|
static short |
HIDDEN
|
static short |
OUTLEVEL
|
| Constructor Summary | |
|---|---|
ColInfo()
Constructs a ColInfo record |
|
ColInfo(short colFirst,
short colLast,
short coldx,
short ixfe,
short grbit)
Constructs a ColInfo record and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
boolean |
getCollapsed()
get whether the cells are collapsed |
boolean |
getHidden()
get whether or not these cells are hidden |
boolean |
getOutLevel()
get the outline level for the cells |
void |
input(RandomAccessStream stream)
input ColInfo from input stream |
int |
opcode()
get the opcode of ColInfo. |
int |
output(RandomAccessStream stream)
output the class colInfo. |
void |
setCollapsed(boolean fCollapsed)
set whether the cells are collapsed |
void |
setHidden(boolean hidden)
set whether or not these cells are hidden |
void |
setOutLevel(boolean outlevel)
set the outline level for the cells |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final short HIDDEN
public static final short OUTLEVEL
public static final short COLLAPSED
| Constructor Detail |
|---|
public ColInfo()
public ColInfo(short colFirst,
short colLast,
short coldx,
short ixfe,
short grbit)
colFirst - The first formatted columncolLast - The last formatted columncoldx - Column width, in 1/256s of a character widthixfe - Index to XF record that contains the default format for the columngrbit - Options| Method Detail |
|---|
public final int opcode()
public int output(RandomAccessStream stream)
throws java.io.IOException
java.io.IOException
public void input(RandomAccessStream stream)
throws java.io.IOException
java.io.IOExceptionpublic void setCollapsed(boolean fCollapsed)
fCollapsed - - wether the cells are collapsedpublic boolean getCollapsed()
public void setOutLevel(boolean outlevel)
outlevel - -outline level for the cellspublic boolean getOutLevel()
public void setHidden(boolean hidden)
hidden - - whether the cells are hidden.public boolean getHidden()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||