org.apache.poi.hssf.record
Class SharedValueRecordBase
- java.lang.Object
-
- org.apache.poi.hssf.record.RecordBase
-
- org.apache.poi.hssf.record.Record
-
- org.apache.poi.hssf.record.StandardRecord
-
- org.apache.poi.hssf.record.SharedValueRecordBase
-
- Direct Known Subclasses:
- ArrayRecord, SharedFormulaRecord, TableRecord
public abstract class SharedValueRecordBase extends StandardRecord
-
-
Constructor Summary
Constructors Constructor and Description SharedValueRecordBase(LittleEndianInput in)reads only the range (1CellRangeAddress8Bit) from the stream
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetFirstColumn()intgetFirstRow()intgetLastColumn()intgetLastRow()CellRangeAddress8BitgetRange()booleanisFirstCell(int rowIx, int colIx)booleanisInRange(int rowIx, int colIx)voidserialize(LittleEndianOutput out)Write the data content of this BIFF record.-
Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serialize
-
-
-
-
Constructor Detail
-
SharedValueRecordBase
public SharedValueRecordBase(LittleEndianInput in)
reads only the range (1CellRangeAddress8Bit) from the stream
-
-
Method Detail
-
getRange
public final CellRangeAddress8Bit getRange()
- Returns:
- the range of cells that this record is shared across. Never
null.
-
getFirstRow
public final int getFirstRow()
-
getLastRow
public final int getLastRow()
-
getFirstColumn
public final int getFirstColumn()
-
getLastColumn
public final int getLastColumn()
-
serialize
public void serialize(LittleEndianOutput out)
Description copied from class:StandardRecordWrite the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.
The number of bytes written must equal the record size reported byRecordBase.getRecordSize()} minus four ( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written by thye superclass).
-
isInRange
public final boolean isInRange(int rowIx, int colIx)- Returns:
trueif (rowIx, colIx) is within the range (getRange()) of this shared value object.
-
isFirstCell
public final boolean isFirstCell(int rowIx, int colIx)- Returns:
trueif (rowIx, colIx) describes the first cell in this shared value object's range (getRange())
-
-
DataMelt 3.0 © DataMelt by jWork.ORG