|
||||||||||
| 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.OperandPtg
org.apache.poi.hssf.record.formula.Area3DPtg
public final class Area3DPtg
Title: Area 3D Ptg - 3D reference (Sheet + Area)
Description: Defined a area in Extern Sheet.
REFERENCE:
| Field Summary | |
|---|---|
static byte |
sid
|
| Fields inherited from class org.apache.poi.hssf.record.formula.Ptg |
|---|
CLASS_ARRAY, CLASS_REF, CLASS_VALUE |
| Constructor Summary | |
|---|---|
Area3DPtg()
Creates new AreaPtg |
|
Area3DPtg(RecordInputStream in)
|
|
Area3DPtg(short firstRow,
short lastRow,
short firstColumn,
short lastColumn,
boolean firstRowRelative,
boolean lastRowRelative,
boolean firstColRelative,
boolean lastColRelative,
short externalSheetIndex)
|
|
Area3DPtg(java.lang.String arearef,
short externIdx)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
byte |
getDefaultOperandClass()
|
short |
getExternSheetIndex()
|
int |
getFirstColumn()
|
int |
getFirstColumnRaw()
|
int |
getFirstRow()
|
int |
getLastColumn()
|
int |
getLastColumnRaw()
|
int |
getLastRow()
|
int |
getSize()
|
boolean |
isFirstColRelative()
|
boolean |
isFirstRowRelative()
|
boolean |
isLastColRelative()
|
boolean |
isLastRowRelative()
|
void |
setArea(java.lang.String ref)
|
void |
setExternSheetIndex(short index)
|
void |
setFirstColRelative(boolean rel)
set whether the first column is relative |
void |
setFirstColumn(short column)
|
void |
setFirstColumnRaw(short column)
|
void |
setFirstRow(int 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)
|
void |
setLastColumnRaw(short column)
|
void |
setLastRow(int row)
|
void |
setLastRowRelative(boolean rel)
set whether the last row is relative or not |
java.lang.String |
toFormulaString(HSSFWorkbook 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.OperandPtg |
|---|
isBaseToken |
| Methods inherited from class org.apache.poi.hssf.record.formula.Ptg |
|---|
clone, copy, createParsedExpressionTokens, createPtg, getBytes, getEncodedSize, getEncodedSize, getPtgClass, readTokens, serializePtgs, serializePtgStack, setClass, toDebugString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final byte sid
| Constructor Detail |
|---|
public Area3DPtg()
public Area3DPtg(java.lang.String arearef,
short externIdx)
public Area3DPtg(RecordInputStream in)
public Area3DPtg(short firstRow,
short lastRow,
short firstColumn,
short lastColumn,
boolean firstRowRelative,
boolean lastRowRelative,
boolean firstColRelative,
boolean lastColRelative,
short externalSheetIndex)
| 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 getExternSheetIndex()
public void setExternSheetIndex(short index)
public int getFirstRow()
getFirstRow in interface AreaIpublic void setFirstRow(int row)
public int getLastRow()
getLastRow in interface AreaIpublic void setLastRow(int row)
public int getFirstColumn()
getFirstColumn in interface AreaIpublic int getFirstColumnRaw()
public boolean isFirstRowRelative()
isFirstRowRelative in interface AreaIpublic boolean isFirstColRelative()
isFirstColRelative in interface AreaIpublic void setFirstColumn(short column)
public void setFirstColumnRaw(short column)
public int getLastColumn()
getLastColumn in interface AreaIpublic int getLastColumnRaw()
public boolean isLastRowRelative()
isLastRowRelative in interface AreaIpublic boolean isLastColRelative()
isLastColRelative in interface AreaIpublic void setLastColumn(short column)
public void setLastColumnRaw(short column)
public void setFirstRowRelative(boolean rel)
rel - FIXME: Document this!public void setFirstColRelative(boolean rel)
public void setLastRowRelative(boolean rel)
rel - FIXME: Document this!public void setLastColRelative(boolean rel)
public void setArea(java.lang.String ref)
public java.lang.String toFormulaString(HSSFWorkbook book)
Ptg
toFormulaString in class Ptgpublic byte getDefaultOperandClass()
getDefaultOperandClass in class Ptgpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||