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

pack-priv abstract Class Ref2DPtgBase

extends RefPtgBase
Class Inheritance
Known Direct Subclasses
org.apache.poi.ss.formula.ptg.RefNPtg, org.apache.poi.ss.formula.ptg.RefPtg
Imports
org.apache.poi.ss.util.CellReference, org.apache.poi.util.LittleEndianInput, .LittleEndianOutput

Field Summary

Modifier and TypeField and Description
private static final int

Constructor Summary

AccessConstructor and Description
protected
Ref2DPtgBase(int row, int column, boolean isRowRelative, boolean isColumnRelative)

protected
protected
protected

Method Summary

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

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

return a string representation of this token alone

public void
Inherited from org.apache.poi.ss.formula.ptg.RefPtgBase:
formatReferenceAsStringgetColumngetDefaultOperandClassgetGenericPropertiesgetRowisColRelativeisRowRelativereadCoordinatessetColRelativesetColumnsetRowsetRowRelativewriteCoordinates

Field Detail

SIZEback to summary
private static final int SIZE

Constructor Detail

Ref2DPtgBaseback to summary
protected Ref2DPtgBase(int row, int column, boolean isRowRelative, boolean isColumnRelative)
Ref2DPtgBaseback to summary
protected Ref2DPtgBase(Ref2DPtgBase other)
Ref2DPtgBaseback to summary
protected Ref2DPtgBase(LittleEndianInput in)
Ref2DPtgBaseback to summary
protected Ref2DPtgBase(CellReference cr)

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.

Annotations
@Override
toFormulaStringback to summary
public final String toFormulaString()

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

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

return a string representation of this token alone

Annotations
@Override
writeback to summary
public void write(LittleEndianOutput out)

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

Annotations
@Override