org.apache.poi.ss.util
Class CellRangeAddress
java.lang.Object
org.apache.poi.ss.util.CellRangeAddressBase
org.apache.poi.ss.util.CellRangeAddress
- Direct Known Subclasses:
- CellRangeAddress
public class CellRangeAddress
- extends CellRangeAddressBase
See OOO documentation: excelfileformat.pdf sec 2.5.14 - 'Cell Range Address'
Note - SelectionRecord
uses the BIFF5 version of this structure
- Author:
- Dragos Buleandra (dragos.buleandra@trade2b.ro)
Methods inherited from class org.apache.poi.ss.util.CellRangeAddressBase |
getFirstColumn, getFirstRow, getLastColumn, getLastRow, getNumberOfCells, isFullColumnRange, isFullRowRange, isInRange, setFirstColumn, setFirstRow, setLastColumn, setLastRow, toString, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ENCODED_SIZE
public static final int ENCODED_SIZE
- See Also:
- Constant Field Values
CellRangeAddress
public CellRangeAddress(int firstRow,
int lastRow,
int firstCol,
int lastCol)
CellRangeAddress
public CellRangeAddress(RecordInputStream in)
serialize
public int serialize(int offset,
byte[] data)
- Deprecated. use
serialize(LittleEndianOutput)
serialize
public void serialize(LittleEndianOutput out)
copy
public CellRangeAddress copy()
getEncodedSize
public static int getEncodedSize(int numberOfItems)
formatAsString
public java.lang.String formatAsString()
valueOf
public static CellRangeAddress valueOf(java.lang.String ref)
Copyright 2009 The Apache Software Foundation or
its licensors, as applicable.