Package org.apache.poi.ss.formula.ptg
Class AreaNPtg
- java.lang.Object
-
- org.apache.poi.ss.formula.ptg.Ptg
-
- org.apache.poi.ss.formula.ptg.OperandPtg
-
- org.apache.poi.ss.formula.ptg.AreaPtgBase
-
- org.apache.poi.ss.formula.ptg.Area2DPtgBase
-
- org.apache.poi.ss.formula.ptg.AreaNPtg
-
- All Implemented Interfaces:
Serializable
,Duplicatable
,GenericRecord
,AreaI
public final class AreaNPtg extends Area2DPtgBase
Specifies a rectangular area of cells A1:A4 for instance.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.poi.ss.formula.ptg.AreaI
AreaI.OffsetArea
-
-
Field Summary
Fields Modifier and Type Field Description static short
sid
-
Fields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
-
-
Constructor Summary
Constructors Constructor Description AreaNPtg(AreaNPtg other)
AreaNPtg(LittleEndianInput in, SpreadsheetVersion version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AreaNPtg
copy()
byte
getSid()
-
Methods inherited from class org.apache.poi.ss.formula.ptg.Area2DPtgBase
getSize, toFormulaString, write
-
Methods inherited from class org.apache.poi.ss.formula.ptg.AreaPtgBase
equals, formatReferenceAsString, getDefaultOperandClass, getFirstColumn, getFirstColumnRaw, getFirstRow, getGenericProperties, getLastColumn, getLastColumnRaw, getLastRow, hashCode, isFirstColRelative, isFirstRowRelative, isLastColRelative, isLastRowRelative, readCoordinates, setFirstColRelative, setFirstColumn, setFirstColumnRaw, setFirstRow, setFirstRowRelative, setLastColRelative, setLastColumn, setLastColumnRaw, setLastRow, setLastRowRelative, sortTopLeftToBottomRight, writeCoordinates
-
Methods inherited from class org.apache.poi.ss.formula.ptg.OperandPtg
isBaseToken
-
Methods inherited from class org.apache.poi.ss.formula.ptg.Ptg
createPtg, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, readTokens, serializePtgs, serializePtgs, setClass, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AreaNPtg
public AreaNPtg(AreaNPtg other)
-
AreaNPtg
public AreaNPtg(LittleEndianInput in, SpreadsheetVersion version)
-
-
Method Detail
-
getSid
public byte getSid()
-
copy
public AreaNPtg copy()
- Specified by:
copy
in interfaceDuplicatable
- Specified by:
copy
in classOperandPtg
- Returns:
- a deep copy of the implementing class / instance
-
-