Package loci.poi.hssf.record.formula
Class ExpPtg
java.lang.Object
loci.poi.hssf.record.formula.Ptg
loci.poi.hssf.record.formula.ExpPtg
- Author:
- andy, Jason Height (jheight at chariot dot net dot au), dmui (save existing implementation)
-
Field Summary
FieldsFields inherited from class loci.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()shortbyteshortgetRow()intgetSize()toFormulaString(Workbook book) return a string representation of this token alonetoString()Overridden toString method to ensure object hash is not printed.voidwriteBytes(byte[] array, int offset) write this Ptg to a byte arrayMethods inherited from class loci.poi.hssf.record.formula.Ptg
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString
-
Field Details
-
sid
public static final short sid- See Also:
-
-
Constructor Details
-
ExpPtg
public ExpPtg()Creates new ExpPtg -
ExpPtg
Creates new ExpPtg
-
-
Method Details
-
writeBytes
public void writeBytes(byte[] array, int offset) Description copied from class:Ptgwrite this Ptg to a byte array- Specified by:
writeBytesin classPtg
-
getSize
public int getSize() -
getRow
public short getRow() -
getColumn
public short getColumn() -
toFormulaString
Description copied from class:Ptgreturn a string representation of this token alone- Specified by:
toFormulaStringin classPtg
-
toString
Description copied from class:PtgOverridden toString method to ensure object hash is not printed. This helps get rid of gratuitous diffs when comparing two dumps Subclasses may output more relevant information by overriding this method -
getDefaultOperandClass
public byte getDefaultOperandClass()- Specified by:
getDefaultOperandClassin classPtg
-
clone
-