java.lang.Cloneable, ExternSheetReferenceToken, WorkbookDependentFormulapublic 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 | Description |
|---|---|---|
static byte |
sid |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY| Constructor | Description |
|---|---|
Ref3DPtg(java.lang.String cellref,
int externIdx) |
|
Ref3DPtg(CellReference c,
int externIdx) |
|
Ref3DPtg(LittleEndianInput in) |
| Modifier and Type | Method | 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopy, isBaseTokencreatePtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClassformatReferenceAsString, getColumn, getDefaultOperandClass, getRow, isColRelative, isRowRelative, readCoordinates, setColRelative, setColumn, setRow, setRowRelative, writeCoordinatespublic 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()
Ptgpublic void write(LittleEndianOutput out)
public int getSize()
public int getExternSheetIndex()
getExternSheetIndex in interface ExternSheetReferenceTokenpublic void setExternSheetIndex(int index)
public java.lang.String format2DRefAsString()
format2DRefAsString in interface ExternSheetReferenceTokenpublic java.lang.String toFormulaString(FormulaRenderingWorkbook book)
toFormulaString in interface WorkbookDependentFormulapublic java.lang.String toFormulaString()
PtgtoFormulaString in class PtgCopyright 2018 The Apache Software Foundation or its licensors, as applicable.