public final class Ref3DPxg extends RefPtgBase implements Pxg3D
Title: XSSF 3D Reference
Description: Defines a cell in an external or different sheet.
REFERENCE:
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(SheetIdentifier sheetName,
CellReference c) |
Ref3DPxg(SheetIdentifier sheetName,
java.lang.String cellref) |
Modifier and Type | Method and Description |
---|---|
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
copy, isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass
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)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.