|
||||||||||
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.OperationPtg
org.apache.poi.hssf.record.formula.AttrPtg
public class AttrPtg
"Special Attributes" This seems to be a Misc Stuff and Junk record. One function it serves is in SUM functions (i.e. SUM(A1:A3) causes an area PTG then an ATTR with the SUM option set)
Field Summary | |
---|---|
static byte |
sid
|
Fields inherited from class org.apache.poi.hssf.record.formula.OperationPtg |
---|
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY |
Fields inherited from class org.apache.poi.hssf.record.formula.Ptg |
---|
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass |
Constructor Summary | |
---|---|
AttrPtg()
|
|
AttrPtg(RecordInputStream in)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
short |
getData()
|
byte |
getDefaultOperandClass()
|
int |
getNumberOfOperands()
The number of operands expected by the operations |
byte |
getOptions()
|
int |
getSize()
|
int |
getType()
|
boolean |
isBaxcel()
|
boolean |
isGoto()
|
boolean |
isOptimizedChoose()
|
boolean |
isOptimizedIf()
|
boolean |
isSemiVolatile()
|
boolean |
isSpace()
|
boolean |
isSum()
|
void |
setData(short data)
|
void |
setGoto(boolean isGoto)
Flags this ptg as a goto/jump |
void |
setOptimizedIf(boolean bif)
|
void |
setOptions(byte options)
|
void |
setSum(boolean bsum)
|
java.lang.String |
toFormulaString(java.lang.String[] operands)
returns a string representation of the operations the length of the input array should equal the number returned by |
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 |
---|
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte sid
Constructor Detail |
---|
public AttrPtg()
public AttrPtg(RecordInputStream in)
Method Detail |
---|
public void setOptions(byte options)
public byte getOptions()
public boolean isSemiVolatile()
public boolean isOptimizedIf()
public boolean isOptimizedChoose()
public boolean isGoto()
public boolean isSum()
public void setSum(boolean bsum)
public void setOptimizedIf(boolean bif)
public void setGoto(boolean isGoto)
isGoto
- public boolean isBaxcel()
public boolean isSpace()
public void setData(short data)
public short getData()
public java.lang.String toString()
Ptg
toString
in class Ptg
public void writeBytes(byte[] array, int offset)
Ptg
writeBytes
in class Ptg
public int getSize()
getSize
in class Ptg
public java.lang.String toFormulaString(java.lang.String[] operands)
OperationPtg
toFormulaString
in class OperationPtg
OperationPtg.getNumberOfOperands()
public int getNumberOfOperands()
OperationPtg
getNumberOfOperands
in class OperationPtg
public int getType()
getType
in class OperationPtg
public java.lang.String toFormulaString(Workbook book)
Ptg
toFormulaString
in class Ptg
public byte getDefaultOperandClass()
getDefaultOperandClass
in class OperationPtg
public java.lang.Object clone()
clone
in class Ptg
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |