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

public final Class RefPtg

extends Ref2DPtgBase
Class Inheritance
Imports
org.apache.poi.ss.util.CellReference, org.apache.poi.util.LittleEndianInput

ReferencePtg - handles references (such as A1, A2, IA4)

Field Summary

Modifier and TypeField and Description
public static final byte

Constructor Summary

AccessConstructor and Description
public
RefPtg(String cellref)

Takes in a String representation of a cell reference and fills out the numeric fields.

public
RefPtg(RefPtg other)

public
RefPtg(int row, int column, boolean isRowRelative, boolean isColumnRelative)

public
public

Method Summary

Modifier and TypeMethod and Description
public RefPtg
public byte
Inherited from org.apache.poi.ss.formula.ptg.Ref2DPtgBase:
getSizetoFormulaStringwrite

Field Detail

sidback to summary
public static final byte sid

Constructor Detail

RefPtgback to summary
public RefPtg(String cellref)

Takes in a String representation of a cell reference and fills out the numeric fields.

RefPtgback to summary
public RefPtg(RefPtg other)
RefPtgback to summary
public RefPtg(int row, int column, boolean isRowRelative, boolean isColumnRelative)
RefPtgback to summary
public RefPtg(LittleEndianInput in)
RefPtgback to summary
public RefPtg(CellReference cr)

Method Detail

copyback to summary
public RefPtg copy()

Implements abstract org.apache.poi.ss.formula.ptg.OperandPtg.copy.

Implements org.apache.poi.common.Duplicatable.copy.

Returns:RefPtg

Doc from org.apache.poi.common.Duplicatable.copy.

a deep copy of the implementing class / instance

Annotations
@Override
getSidback to summary
public byte getSid()

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

Returns:byte

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

structure id of the parsed thing, or -1 if the record has no sid

Annotations
@Override