public final class RowRecord extends StandardRecord
Modifier and Type | Field and Description |
---|---|
static int |
ENCODED_SIZE |
static short |
sid |
Constructor and Description |
---|
RowRecord(int rowNumber) |
RowRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
getBadFontHeight()
get whether the font and row height are not compatible
|
boolean |
getColapsed()
get whether or not to colapse this row
|
protected int |
getDataSize() |
int |
getFirstCol()
get the logical col number for the first cell this row (0 based index)
|
boolean |
getFormatted()
get whether the row has been formatted (even if its got all blank cells)
|
short |
getHeight()
get the height of the row
|
int |
getLastCol()
get the logical col number for the last cell this row (0 based index), plus one
|
short |
getOptimize()
get whether to optimize or not (set to 0)
|
short |
getOptionFlags()
gets the option bitmask.
|
short |
getOutlineLevel()
get the outline level of this row
|
int |
getRowNumber()
get the logical row number for this row (0 based index)
|
short |
getSid()
return the non static version of the id for this record.
|
short |
getXFIndex()
if the row is formatted then this is the index to the extended format record
|
boolean |
getZeroHeight()
get whether or not to display this row with 0 height
|
boolean |
isEmpty() |
boolean |
isPhonetic()
Whether the phonetic guide feature is enabled for any cell in this row.
|
boolean |
isThickBorderBottom()
Whether any cell in the row has a medium or thick bottom border, or any
cell in the row directly below the current row has a medium or thick
top border.
|
boolean |
isThickBorderTop()
Whether any cell in the row has a thick top border, or any cell
in the row directly above the current row has a thick bottom border.
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setBadFontHeight(boolean f)
set whether the font and row height are not compatible
|
void |
setColapsed(boolean c)
set whether or not to collapse this row
|
void |
setEmpty()
Updates the firstCol and lastCol fields to the reserved value (-1)
to signify that this row is empty
|
void |
setFirstCol(int col)
set the logical col number for the first cell this row (0 based index)
|
void |
setFormatted(boolean f)
set whether the row has been formatted (even if its got all blank cells)
|
void |
setHeight(short height)
set the height of the row
|
void |
setLastCol(int col) |
void |
setOptimize(short optimize)
set whether to optimize or not (set to 0)
|
void |
setOutlineLevel(short ol)
set the outline level of this row
|
void |
setPhonetic(boolean f) |
void |
setRowNumber(int row)
set the logical row number for this row (0 based index)
|
void |
setThickBorderBottom(boolean f) |
void |
setThickBorderTop(boolean f) |
void |
setXFIndex(short index)
if the row is formatted then this is the index to the extended format record
|
void |
setZeroHeight(boolean z)
set whether or not to display this row with 0 height
|
String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public static final int ENCODED_SIZE
public RowRecord(int rowNumber)
public RowRecord(RecordInputStream in)
public void setEmpty()
public boolean isEmpty()
public void setRowNumber(int row)
row
- - the row numberpublic void setFirstCol(int col)
col
- - the col numberpublic void setLastCol(int col)
col
- - one past the zero-based index to the last cell in this rowpublic void setHeight(short height)
height
- of the rowpublic void setOptimize(short optimize)
optimize
- (set to 0)public void setOutlineLevel(short ol)
ol
- - the outline levelpublic void setColapsed(boolean c)
c
- - collapse or notpublic void setZeroHeight(boolean z)
z
- height is zero or not.public void setBadFontHeight(boolean f)
f
- true if they aren't compatible (damn not logic)public void setFormatted(boolean f)
f
- formatted or notpublic void setXFIndex(short index)
index
- to the XF recordExtendedFormatRecord
public int getRowNumber()
public int getFirstCol()
public int getLastCol()
public short getHeight()
public short getOptimize()
public short getOptionFlags()
public short getOutlineLevel()
getOptionFlags()
public boolean getColapsed()
getOptionFlags()
public boolean getZeroHeight()
getOptionFlags()
public boolean getBadFontHeight()
getOptionFlags()
public boolean getFormatted()
getOptionFlags()
public short getXFIndex()
ExtendedFormatRecord
public String toString()
Record
public void serialize(LittleEndianOutput out)
StandardRecord
RecordBase.getRecordSize()
} minus four
( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written
by thye superclass).serialize
in class StandardRecord
protected int getDataSize()
getDataSize
in class StandardRecord
public short getSid()
Record
public boolean isThickBorderTop()
public void setThickBorderTop(boolean f)
public boolean isThickBorderBottom()
public void setThickBorderBottom(boolean f)
public boolean isPhonetic()
public void setPhonetic(boolean f)
Copyright © 2020. All rights reserved.