public final class MulBlankRecord extends StandardRecord
Description: Represents a set of columns in a row with no value but with styling.
REFERENCE: PG 329 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
BlankRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
MulBlankRecord(int row,
int firstCol,
short[] xfs) |
MulBlankRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
MulBlankRecord |
clone() |
protected int |
getDataSize() |
int |
getFirstColumn() |
int |
getLastColumn() |
int |
getNumColumns()
get the number of columns this contains (last-first +1)
|
int |
getRow() |
short |
getSid()
return the non static version of the id for this record.
|
short |
getXFAt(int coffset)
returns the xf index for column (coffset = column - field_2_first_col)
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public MulBlankRecord(int row, int firstCol, short[] xfs)
public MulBlankRecord(RecordInputStream in)
in
- the RecordInputstream to read the record frompublic int getRow()
public int getFirstColumn()
public int getLastColumn()
public int getNumColumns()
public short getXFAt(int coffset)
coffset
- the column (coffset = column - field_2_first_col)public java.lang.String toString()
Record
public short getSid()
Record
public void serialize(LittleEndianOutput out)
StandardRecord
The number of bytes written must equal the record size reported by
RecordBase.getRecordSize()
} minus four
( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written
by their superclass).
serialize
in class StandardRecord
out
- the output objectprotected int getDataSize()
getDataSize
in class StandardRecord
public MulBlankRecord clone()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.