public abstract class SharedValueRecordBase extends StandardRecord
Constructor and Description |
---|
SharedValueRecordBase(LittleEndianInput in)
reads only the range (1
CellRangeAddress8Bit ) from the stream |
Modifier and Type | Method and Description |
---|---|
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.
|
getRecordSize, serialize
public SharedValueRecordBase(LittleEndianInput in)
CellRangeAddress8Bit
) from the streamin
- The interface for reading the record data.public final CellRangeAddress8Bit getRange()
null
.public final int getFirstRow()
public final int getLastRow()
public final int getFirstColumn()
public final int getLastColumn()
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).
out
- the output objectpublic final boolean isInRange(int rowIx, int colIx)
rowIx
- the row indexcolIx
- the column indextrue
if (rowIx, colIx) is within the range of this shared value object.getRange()
public final boolean isFirstCell(int rowIx, int colIx)
rowIx
- the row indexcolIx
- the column indextrue
if (rowIx, colIx) describes the first cell in this shared value
object's rangegetRange()
Copyright © 2010 - 2020 Adobe. All Rights Reserved