public final class Ref3DPxg extends RefPtgBase implements Pxg3D
Defines a cell in an external or different sheet.
This is XSSF only, as it stores the sheet / book references
in String form. The HSSF equivalent using indexes is Ref3DPtg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor and Description |
---|
Ref3DPxg(int externalWorkbookNumber,
SheetIdentifier sheetName,
CellReference c) |
Ref3DPxg(int externalWorkbookNumber,
SheetIdentifier sheetName,
java.lang.String cellref) |
Ref3DPxg(Ref3DPxg other) |
Ref3DPxg(SheetIdentifier sheetName,
CellReference c) |
Ref3DPxg(SheetIdentifier sheetName,
java.lang.String cellref) |
Modifier and Type | Method and Description |
---|---|
Ref3DPxg |
copy() |
java.lang.String |
format2DRefAsString() |
int |
getExternalWorkbookNumber() |
java.lang.String |
getLastSheetName() |
java.lang.String |
getSheetName() |
int |
getSize() |
void |
setLastSheetName(java.lang.String sheetName) |
void |
setSheetName(java.lang.String sheetName) |
java.lang.String |
toFormulaString()
return a string representation of this token alone
|
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
isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass
public Ref3DPxg(Ref3DPxg other)
public Ref3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, java.lang.String cellref)
public Ref3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, CellReference c)
public Ref3DPxg(SheetIdentifier sheetName, java.lang.String cellref)
public Ref3DPxg(SheetIdentifier sheetName, CellReference c)
public java.lang.String toString()
Ptg
public int getExternalWorkbookNumber()
getExternalWorkbookNumber
in interface Pxg
public java.lang.String getSheetName()
getSheetName
in interface Pxg
public java.lang.String getLastSheetName()
getLastSheetName
in interface Pxg3D
public void setSheetName(java.lang.String sheetName)
setSheetName
in interface Pxg
public void setLastSheetName(java.lang.String sheetName)
setLastSheetName
in interface Pxg3D
public java.lang.String format2DRefAsString()
public java.lang.String toFormulaString()
Ptg
toFormulaString
in interface Pxg
toFormulaString
in class Ptg
public int getSize()
public void write(LittleEndianOutput out)
public Ref3DPxg copy()
copy
in interface Duplicatable
copy
in class OperandPtg
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.