Package loci.poi.hssf.record.formula
Class AreaNPtg
- java.lang.Object
-
- loci.poi.hssf.record.formula.Ptg
-
- loci.poi.hssf.record.formula.AreaPtg
-
- loci.poi.hssf.record.formula.AreaNPtg
-
public class AreaNPtg extends AreaPtg
Specifies a rectangular area of cells A1:A4 for instance.- Author:
- Jason Height (jheight at chariot dot net dot au)
-
-
Field Summary
Fields Modifier and Type Field Description static short
sid
-
Fields inherited from class loci.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AreaNPtg()
AreaNPtg(RecordInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
String
getAreaPtgName()
String
toFormulaString(Workbook book)
return a string representation of this token alonevoid
writeBytes(byte[] array, int offset)
write this Ptg to a byte array-
Methods inherited from class loci.poi.hssf.record.formula.AreaPtg
getDefaultOperandClass, getFirstColumn, getFirstColumnRaw, getFirstRow, getLastColumn, getLastColumnRaw, getLastRow, getSize, isFirstColRelative, isFirstRowRelative, isLastColRelative, isLastRowRelative, setFirstColRelative, setFirstColumn, setFirstColumnRaw, setFirstRow, setFirstRowRelative, setLastColRelative, setLastColumn, setLastColumnRaw, setLastRow, setLastRowRelative, toString
-
Methods inherited from class loci.poi.hssf.record.formula.Ptg
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AreaNPtg
protected AreaNPtg()
-
AreaNPtg
public AreaNPtg(RecordInputStream in)
-
-
Method Detail
-
writeBytes
public void writeBytes(byte[] array, int offset)
Description copied from class:Ptg
write this Ptg to a byte array- Overrides:
writeBytes
in classAreaPtg
-
getAreaPtgName
public String getAreaPtgName()
- Overrides:
getAreaPtgName
in classAreaPtg
-
toFormulaString
public String toFormulaString(Workbook book)
Description copied from class:Ptg
return a string representation of this token alone- Overrides:
toFormulaString
in classAreaPtg
-
-