In the Microsoft documentation, this is also known as a
Ref8U - see page 831 of version 1.0 of the documentation.
Note - SelectionRecord uses the BIFF5 version of this structure
| Modifier and Type | Field and Description |
|---|---|
| public static final int |
| Access | Constructor and Description |
|---|---|
| public | CellRangeAddress(int
Index of first row firstRow, int Index of last row (inclusive), must be equal to or larger than lastRow, int firstRowIndex of first column firstCol, int Index of last column (inclusive), must be equal to or larger than lastCol)firstColCreates new cell range. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CellRangeAddress | |
| public String | Returns: the text format of this range. Single cell ranges are formatted like single cell references (e.g. 'A1' instead of 'A1:A1').
|
| public String | Returns: the text format of this range using specified sheet name.
|
| public static int | |
| private static int | |
| public void | |
| public static CellRangeAddress |
| ENCODED_SIZE | back to summary |
|---|---|
| public static final int ENCODED_SIZE | |
| CellRangeAddress | back to summary |
|---|---|
| public CellRangeAddress(int firstRow, int lastRow, int firstCol, int lastCol) Creates new cell range. Indexes are zero-based.
| |
| CellRangeAddress | back to summary |
|---|---|
| public CellRangeAddress(RecordInputStream in) | |
| copy | back to summary |
|---|---|
| public CellRangeAddress copy() Implements org.
| |
| formatAsString | back to summary |
|---|---|
public String formatAsString()
| |
| formatAsString | back to summary |
|---|---|
public String formatAsString(String sheetName, boolean useAbsoluteAddress)
| |
| getEncodedSize | back to summary |
|---|---|
| public static int getEncodedSize(int numberOfItems) | |
| readUShortAndCheck | back to summary |
|---|---|
| private static int readUShortAndCheck(RecordInputStream in) | |
| serialize | back to summary |
|---|---|
| public void serialize(LittleEndianOutput out) | |
| valueOf | back to summary |
|---|---|
| public static CellRangeAddress valueOf(String ref) Creates a CellRangeAddress from a cell range reference string.
| |