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.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
java.lang.String |
getLastSheetName() |
java.lang.String |
getSheetName() |
byte |
getSid() |
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
|
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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
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 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 byte getSid()
public int getSize()
public void write(LittleEndianOutput out)
public Ref3DPxg copy()
copy
in interface Duplicatable
copy
in class OperandPtg
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
getGenericProperties
in class RefPtgBase
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.