public final class Area3DPxg extends AreaPtgBase implements Pxg3D
Defined an area 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 Area3DPtg
AreaI.OffsetArea
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor and Description |
---|
Area3DPxg(Area3DPxg other) |
Area3DPxg(int externalWorkbookNumber,
SheetIdentifier sheetName,
AreaReference arearef) |
Area3DPxg(int externalWorkbookNumber,
SheetIdentifier sheetName,
java.lang.String arearef) |
Area3DPxg(SheetIdentifier sheetName,
AreaReference arearef) |
Area3DPxg(SheetIdentifier sheetName,
java.lang.String arearef) |
Modifier and Type | Method and Description |
---|---|
Area3DPxg |
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, getDefaultOperandClass, getFirstColumn, getFirstColumnRaw, getFirstRow, getLastColumn, getLastColumnRaw, getLastRow, isFirstColRelative, isFirstRowRelative, isLastColRelative, isLastRowRelative, readCoordinates, setFirstColRelative, setFirstColumn, setFirstColumnRaw, setFirstRow, setFirstRowRelative, setLastColRelative, setLastColumn, setLastColumnRaw, setLastRow, setLastRowRelative, sortTopLeftToBottomRight, writeCoordinates
isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass
public Area3DPxg(Area3DPxg other)
public Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, java.lang.String arearef)
public Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, AreaReference arearef)
public Area3DPxg(SheetIdentifier sheetName, java.lang.String arearef)
public Area3DPxg(SheetIdentifier sheetName, AreaReference arearef)
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 AreaPtgBase
public int getSize()
public void write(LittleEndianOutput out)
public Area3DPxg copy()
copy
in interface Duplicatable
copy
in class OperandPtg
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.