|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.util.HSSFCellRangeAddress
public class HSSFCellRangeAddress
Title: HSSFCellRangeAddress
Description: Implementation of the cell range address lists,like is described in OpenOffice.org's Excel Documentation . In BIFF8 there is a common way to store absolute cell range address lists in several records (not formulas). A cell range address list consists of a field with the number of ranges and the list of the range addresses. Each cell range address (called an ADDR structure) contains 4 16-bit-values.
Copyright: Copyright (c) 2004
Company:
| Nested Class Summary | |
|---|---|
class |
HSSFCellRangeAddress.AddrStructure
|
| Constructor Summary | |
|---|---|
HSSFCellRangeAddress()
|
|
HSSFCellRangeAddress(RecordInputStream in)
Construct a new HSSFCellRangeAddress object and sets its fields appropriately . |
|
| Method Summary | |
|---|---|
int |
addADDRStructure(short first_row,
short first_col,
short last_row,
short last_col)
Add an ADDR structure . |
void |
fillFields(RecordInputStream in)
|
HSSFCellRangeAddress.AddrStructure |
getADDRStructureAt(int index)
return the ADDR structure at the given index. |
short |
getADDRStructureNumber()
Get the number of following ADDR structures. |
int |
getSize()
|
void |
removeADDRStructureAt(int index)
Remove the ADDR structure stored at the passed in index |
int |
serialize(int offset,
byte[] data)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HSSFCellRangeAddress()
public HSSFCellRangeAddress(RecordInputStream in)
in - the RecordInputstream to read the record from| Method Detail |
|---|
public void fillFields(RecordInputStream in)
public short getADDRStructureNumber()
public int addADDRStructure(short first_row,
short first_col,
short last_row,
short last_col)
first_row - - the upper left hand corner's rowfirst_col - - the upper left hand corner's collast_row - - the lower right hand corner's rowlast_col - - the lower right hand corner's col
public void removeADDRStructureAt(int index)
index - The ADDR structure's indexpublic HSSFCellRangeAddress.AddrStructure getADDRStructureAt(int index)
public int serialize(int offset,
byte[] data)
public int getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||