public abstract class SharedValueRecordBase extends StandardRecord
| Modifier | Constructor and Description |
|---|---|
protected |
SharedValueRecordBase() |
protected |
SharedValueRecordBase(CellRangeAddress8Bit range) |
|
SharedValueRecordBase(LittleEndianInput in)
reads only the range (1
CellRangeAddress8Bit) from the stream |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getDataSize() |
protected abstract int |
getExtraDataSize() |
int |
getFirstColumn() |
int |
getFirstRow() |
int |
getLastColumn() |
int |
getLastRow() |
CellRangeAddress8Bit |
getRange() |
boolean |
isFirstCell(int rowIx,
int colIx) |
boolean |
isInRange(int rowIx,
int colIx) |
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
protected abstract void |
serializeExtraData(LittleEndianOutput out) |
getRecordSize, serializeprotected SharedValueRecordBase(CellRangeAddress8Bit range)
protected SharedValueRecordBase()
public SharedValueRecordBase(LittleEndianInput in)
CellRangeAddress8Bit) from the streampublic final CellRangeAddress8Bit getRange()
null.public final int getFirstRow()
public final int getLastRow()
public final int getFirstColumn()
public final int getLastColumn()
protected int getDataSize()
getDataSize in class StandardRecordprotected abstract int getExtraDataSize()
protected abstract void serializeExtraData(LittleEndianOutput out)
public void serialize(LittleEndianOutput out)
StandardRecordRecordBase.getRecordSize()} minus four
( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written
by thye superclass).serialize in class StandardRecordpublic final boolean isInRange(int rowIx,
int colIx)
true if (rowIx, colIx) is within the range (getRange())
of this shared value object.public final boolean isFirstCell(int rowIx,
int colIx)
true if (rowIx, colIx) describes the first cell in this shared value
object's range (getRange())Copyright © 2020. All rights reserved.