org.apache.poi.ss.util
Class CellRangeAddress

java.lang.Object
  extended by org.apache.poi.ss.util.CellRangeAddressBase
      extended by 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)

Field Summary
static int ENCODED_SIZE
           
 
Constructor Summary
CellRangeAddress(int firstRow, int lastRow, int firstCol, int lastCol)
           
 
Method Summary
 CellRangeAddress copy()
           
static int getEncodedSize(int numberOfItems)
           
 int serialize(int offset, byte[] data)
           
 
Methods inherited from class org.apache.poi.ss.util.CellRangeAddressBase
getFirstColumn, getFirstRow, getLastColumn, getLastRow, isFullColumnRange, isFullRowRange, setFirstColumn, setFirstRow, setLastColumn, setLastRow, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENCODED_SIZE

public static final int ENCODED_SIZE
See Also:
Constant Field Values
Constructor Detail

CellRangeAddress

public CellRangeAddress(int firstRow,
                        int lastRow,
                        int firstCol,
                        int lastCol)
Method Detail

serialize

public int serialize(int offset,
                     byte[] data)

copy

public CellRangeAddress copy()

getEncodedSize

public static int getEncodedSize(int numberOfItems)


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.