Package loci.poi.hssf.record.formula
Class BoolPtg
java.lang.Object
loci.poi.hssf.record.formula.Ptg
loci.poi.hssf.record.formula.BoolPtg
Boolean (boolean)
Stores a (java) boolean value in a formula.
- Author:
- Paul Krause (pkrause at soundbite dot com), Andrew C. Oliver (acoliver at apache dot org), Jason Height (jheight at chariot dot net dot au)
-
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()byteintgetSize()booleangetValue()voidsetValue(boolean value) toFormulaString(Workbook book) return a string representation of this token alonevoidwriteBytes(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, toString
-
Field Details
-
SIZE
public static final int SIZE- See Also:
-
sid
public static final byte sid- See Also:
-
-
Constructor Details
-
BoolPtg
-
BoolPtg
-
-
Method Details
-
setValue
public void setValue(boolean value) -
getValue
public boolean getValue() -
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() -
toFormulaString
Description copied from class:Ptgreturn a string representation of this token alone- Specified by:
toFormulaStringin classPtg
-
getDefaultOperandClass
public byte getDefaultOperandClass()- Specified by:
getDefaultOperandClassin classPtg
-
clone
-