|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.poi.hssf.record.formula.Ptg
org.apache.poi.hssf.record.formula.AreaPtg
Specifies a rectangular area of cells A1:A4 for instance.
| Field Summary | |
static short |
sid
|
| Fields inherited from class org.apache.poi.hssf.record.formula.Ptg |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass |
| Constructor Summary | |
AreaPtg(byte[] data,
int offset)
|
|
AreaPtg(java.lang.String arearef)
|
|
| Method Summary | |
java.lang.Object |
clone()
|
byte |
getDefaultOperandClass()
|
short |
getFirstColumn()
|
short |
getFirstColumnRaw()
|
short |
getFirstRow()
|
short |
getLastColumn()
|
short |
getLastColumnRaw()
|
short |
getLastRow()
|
int |
getSize()
|
boolean |
isFirstColRelative()
|
boolean |
isFirstRowRelative()
|
boolean |
isLastColRelative()
|
boolean |
isLastRowRelative()
|
void |
setFirstColRelative(boolean rel)
set whether the first column is relative |
void |
setFirstColumn(short column)
set the first column in the area |
void |
setFirstColumnRaw(short column)
set the first column irespective of the bitmasks |
void |
setFirstRow(short row)
sets the first row |
void |
setFirstRowRelative(boolean rel)
sets the first row to relative or not |
void |
setLastColRelative(boolean rel)
set whether the last column should be relative or not |
void |
setLastColumn(short column)
set the last column in the area |
void |
setLastColumnRaw(short column)
set the last column irrespective of the bitmasks |
void |
setLastRow(short row)
|
void |
setLastRowRelative(boolean rel)
set whether the last row is relative or not |
java.lang.String |
toFormulaString(Workbook book)
return a string representation of this token alone |
java.lang.String |
toString()
Overridden toString method to ensure object hash is not printed. |
void |
writeBytes(byte[] array,
int offset)
write this Ptg to a byte array |
| Methods inherited from class org.apache.poi.hssf.record.formula.Ptg |
createPtg, getBytes, getPtgClass, setClass, toDebugString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final short sid
| Constructor Detail |
public AreaPtg(java.lang.String arearef)
public AreaPtg(byte[] data,
int offset)
| Method Detail |
public java.lang.String toString()
Ptg
toString in class Ptg
public void writeBytes(byte[] array,
int offset)
Ptg
writeBytes in class Ptgpublic int getSize()
getSize in class Ptgpublic short getFirstRow()
public void setFirstRow(short row)
row - number (0-based)public short getLastRow()
public void setLastRow(short row)
public short getFirstColumn()
public short getFirstColumnRaw()
public boolean isFirstRowRelative()
public void setFirstRowRelative(boolean rel)
rel - is relative or not.public boolean isFirstColRelative()
public void setFirstColRelative(boolean rel)
public void setFirstColumn(short column)
public void setFirstColumnRaw(short column)
public short getLastColumn()
public short getLastColumnRaw()
public boolean isLastRowRelative()
public void setLastRowRelative(boolean rel)
public boolean isLastColRelative()
public void setLastColRelative(boolean rel)
public void setLastColumn(short column)
public void setLastColumnRaw(short column)
public java.lang.String toFormulaString(Workbook book)
Ptg
toFormulaString in class Ptgpublic byte getDefaultOperandClass()
getDefaultOperandClass in class Ptgpublic java.lang.Object clone()
clone in class Ptg
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||