Package 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
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
- Direct Known Subclasses:
ArrayRecord,SharedFormulaRecord,TableRecord
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intfinal intfinal intfinal intfinal CellRangeAddress8BitgetRange()final booleanisFirstCell(int rowIx, int colIx) final booleanisInRange(int rowIx, int colIx) voidMethods inherited from class org.apache.poi.hssf.record.StandardRecord
copy, getRecordSize, serializeMethods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, getGenericRecordType, getSid, serialize, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericProperties
-
Constructor Details
-
SharedValueRecordBase
reads only the range (1CellRangeAddress8Bit) from the stream- Parameters:
in- The interface for reading the record data.
-
-
Method Details
-
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
-
isInRange
public final boolean isInRange(int rowIx, int colIx) - Parameters:
rowIx- the row indexcolIx- the column index- Returns:
trueif (rowIx, colIx) is within the range of this shared value object.- See Also:
-
isFirstCell
public final boolean isFirstCell(int rowIx, int colIx) - Parameters:
rowIx- the row indexcolIx- the column index- Returns:
trueif (rowIx, colIx) describes the first cell in this shared value object's range- See Also:
-