public final class Ref3DPtg extends RefPtgBase implements WorkbookDependentFormula, ExternSheetReferenceToken
Title: Reference 3D Ptg
Description: Defined a cell in extern sheet.
REFERENCE:
This is HSSF only, as it matches the HSSF file format way of
referring to the sheet by an extern index. The XSSF equivalent
is Ref3DPxg
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor and Description |
---|
Ref3DPtg(CellReference c,
int externIdx) |
Ref3DPtg(LittleEndianInput in) |
Ref3DPtg(java.lang.String cellref,
int externIdx) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format2DRefAsString() |
int |
getExternSheetIndex() |
int |
getSize() |
void |
setExternSheetIndex(int index) |
java.lang.String |
toFormulaString()
return a string representation of this token alone
|
java.lang.String |
toFormulaString(FormulaRenderingWorkbook book) |
java.lang.String |
toString()
Overridden toString method to ensure object hash is not printed.
|
void |
write(LittleEndianOutput out) |
formatReferenceAsString, getColumn, getDefaultOperandClass, getRow, isColRelative, isRowRelative, readCoordinates, setColRelative, setColumn, setRow, setRowRelative, writeCoordinates
copy, isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass
public static final byte sid
public Ref3DPtg(LittleEndianInput in)
public Ref3DPtg(java.lang.String cellref, int externIdx)
public Ref3DPtg(CellReference c, int externIdx)
public java.lang.String toString()
Ptg
public void write(LittleEndianOutput out)
public int getSize()
public int getExternSheetIndex()
getExternSheetIndex
in interface ExternSheetReferenceToken
public void setExternSheetIndex(int index)
public java.lang.String format2DRefAsString()
format2DRefAsString
in interface ExternSheetReferenceToken
public java.lang.String toFormulaString(FormulaRenderingWorkbook book)
toFormulaString
in interface WorkbookDependentFormula
public java.lang.String toFormulaString()
Ptg
toFormulaString
in class Ptg
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.