Top Description Fields Constructors Methods
org.apache.poi.ss.formula.ptg

public abstract Class Area2DPtgBase

extends AreaPtgBase
Class Inheritance
Known Direct Subclasses
org.apache.poi.ss.formula.ptg.AreaNPtg, org.apache.poi.ss.formula.ptg.AreaPtg
Imports
org.apache.poi.ss.util.AreaReference, org.apache.poi.util.LittleEndianInput, .LittleEndianOutput

Common superclass of 2-D area refs

Field Summary

Modifier and TypeField and Description
private static final int

Constructor Summary

AccessConstructor and Description
protected
Area2DPtgBase(int firstRow, int lastRow, int firstColumn, int lastColumn, boolean firstRowRelative, boolean lastRowRelative, boolean firstColRelative, boolean lastColRelative)

protected
protected
protected

Method Summary

Modifier and TypeMethod and Description
public final int
public final String
toFormulaString()

Overrides org.apache.poi.ss.formula.ptg.AreaPtgBase.toFormulaString.

return a string representation of this token alone

public final void
Inherited from org.apache.poi.ss.formula.ptg.AreaPtgBase:
formatReferenceAsStringgetDefaultOperandClassgetFirstColumngetFirstColumnRawgetFirstRowgetGenericPropertiesgetLastColumngetLastColumnRawgetLastRowisFirstColRelativeisFirstRowRelativeisLastColRelativeisLastRowRelativereadCoordinatessetFirstColRelativesetFirstColumnsetFirstColumnRawsetFirstRowsetFirstRowRelativesetLastColRelativesetLastColumnsetLastColumnRawsetLastRowsetLastRowRelativesortTopLeftToBottomRightwriteCoordinates

Field Detail

SIZEback to summary
private static final int SIZE

Constructor Detail

Area2DPtgBaseback to summary
protected Area2DPtgBase(int firstRow, int lastRow, int firstColumn, int lastColumn, boolean firstRowRelative, boolean lastRowRelative, boolean firstColRelative, boolean lastColRelative)
Area2DPtgBaseback to summary
protected Area2DPtgBase(Area2DPtgBase other)
Area2DPtgBaseback to summary
protected Area2DPtgBase(AreaReference ar)
Area2DPtgBaseback to summary
protected Area2DPtgBase(LittleEndianInput in)

Method Detail

getSizeback to summary
public final int getSize()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.getSize.

Returns:int

Doc from org.apache.poi.ss.formula.ptg.Ptg.getSize.

the encoded length of this Ptg, including the initial Ptg type identifier byte.

toFormulaStringback to summary
public final String toFormulaString()

Overrides org.apache.poi.ss.formula.ptg.AreaPtgBase.toFormulaString.

Doc from org.apache.poi.ss.formula.ptg.Ptg.toFormulaString.

return a string representation of this token alone

writeback to summary
public final void write(LittleEndianOutput out)

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.write.