|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.biff.RecordData | +--jxl.biff.WritableRecordData | +--jxl.write.biff.ColumnInfoRecord
Describes the column formatting for a particular column
Field Summary | |
private int |
column
The column number which this format applies to |
private byte[] |
data
The binary data |
private boolean |
hidden
Flag to indicate the hidden status of this column |
private XFRecord |
style
The style for the column |
private int |
width
The width of the column in 1/256 of a character |
private int |
xfIndex
The index for the style of this column |
Fields inherited from class jxl.biff.WritableRecordData |
maxRecordLength |
Fields inherited from class jxl.biff.RecordData |
code, record |
Constructor Summary | |
ColumnInfoRecord(ColumnInfoRecord cir,
int col,
FormattingRecords fr)
Constructor used when copying an existing spreadsheet |
|
ColumnInfoRecord(int col,
int w,
XFRecord xf)
Constructor used when setting column information from the user API |
Method Summary | |
void |
decrementColumn()
Decrements the column. |
XFRecord |
getCellFormat()
Gets the cell format associated with this column info record |
int |
getColumn()
Gets the column this format applies to |
byte[] |
getData()
Gets the binary data to be written to the output file |
(package private) boolean |
getHidden()
Accessor for the hidden flag |
(package private) int |
getWidth()
Accessor for the width |
void |
incrementColumn()
Increments the column. |
(package private) void |
rationalize(IndexMapping xfmapping)
Rationalizes the sheets xf index mapping |
(package private) void |
setHidden(boolean h)
Sets this column to be hidden (or otherwise) |
Methods inherited from class jxl.biff.WritableRecordData |
getBytes, handleContinueRecords |
Methods inherited from class jxl.biff.RecordData |
getCode, getRecord |
Methods inherited from class java.lang.Object |
|
Field Detail |
private byte[] data
private int column
private XFRecord style
private int xfIndex
private int width
private boolean hidden
Constructor Detail |
public ColumnInfoRecord(int col, int w, XFRecord xf)
w
- the width of the column in characterscol
- the column to formatxf
- the style for the columnpublic ColumnInfoRecord(ColumnInfoRecord cir, int col, FormattingRecords fr)
col
- the column numbercir
- the column info record read infr
- the format recordsMethod Detail |
public int getColumn()
public void incrementColumn()
public void decrementColumn()
int getWidth()
public byte[] getData()
getData
in class WritableRecordData
public XFRecord getCellFormat()
void rationalize(IndexMapping xfmapping)
xfmapping
- the index mappingvoid setHidden(boolean h)
h
- TRUE if the column is to be hidden, FALSE otherwiseboolean getHidden()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |