Top Description Fields Constructors Methods
org.apache.poi.ss.formula.ptg

public final Class Area3DPxg

extends AreaPtgBase
implements Pxg3D
Class Inheritance
All Implemented Interfaces
org.apache.poi.ss.formula.ptg.Pxg3D, org.apache.poi.ss.formula.ptg.Pxg
Imports
java.util.Map, java.util.function.Supplier, org.apache.poi.ss.SpreadsheetVersion, org.apache.poi.ss.formula.SheetIdentifier, .SheetRangeAndWorkbookIndexFormatter, .SheetRangeIdentifier, org.apache.poi.ss.util.AreaReference, org.apache.poi.util.GenericRecordUtil, .LittleEndianOutput

XSSF Area 3D Reference (Sheet + Area)

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

Field Summary

Modifier and TypeField and Description
private int
private String
private String

Constructor Summary

AccessConstructor and Description
public
public
Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, String arearef)

public
Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, AreaReference arearef)

public
Area3DPxg(SheetIdentifier sheetName, String arearef)

public

Method Summary

Modifier and TypeMethod and Description
public Area3DPxg
public String
public int
public Map<String, Supplier<?>>
public String
public String
public byte
public int
public void
public void
public String
public void
Inherited from org.apache.poi.ss.formula.ptg.AreaPtgBase:
formatReferenceAsStringgetDefaultOperandClassgetFirstColumngetFirstColumnRawgetFirstRowgetLastColumngetLastColumnRawgetLastRowisFirstColRelativeisFirstRowRelativeisLastColRelativeisLastRowRelativereadCoordinatessetFirstColRelativesetFirstColumnsetFirstColumnRawsetFirstRowsetFirstRowRelativesetLastColRelativesetLastColumnsetLastColumnRawsetLastRowsetLastRowRelativesortTopLeftToBottomRightwriteCoordinates

Field Detail

externalWorkbookNumberback to summary
private int externalWorkbookNumber
firstSheetNameback to summary
private String firstSheetName
lastSheetNameback to summary
private String lastSheetName

Constructor Detail

Area3DPxgback to summary
public Area3DPxg(Area3DPxg other)
Area3DPxgback to summary
public Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, String arearef)
Area3DPxgback to summary
public Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, AreaReference arearef)
Area3DPxgback to summary
public Area3DPxg(SheetIdentifier sheetName, String arearef)
Area3DPxgback to summary
public Area3DPxg(SheetIdentifier sheetName, AreaReference arearef)

Method Detail

copyback to summary
public Area3DPxg copy()

Implements abstract org.apache.poi.ss.formula.ptg.OperandPtg.copy.

Implements org.apache.poi.common.Duplicatable.copy.

Returns:Area3DPxg

Doc from org.apache.poi.common.Duplicatable.copy.

a deep copy of the implementing class / instance

Annotations
@Override
format2DRefAsStringback to summary
public String format2DRefAsString()
getExternalWorkbookNumberback to summary
public int getExternalWorkbookNumber()

Implements org.apache.poi.ss.formula.ptg.Pxg.getExternalWorkbookNumber.

getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Overrides org.apache.poi.ss.formula.ptg.AreaPtgBase.getGenericProperties.

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
getLastSheetNameback to summary
public String getLastSheetName()

Implements org.apache.poi.ss.formula.ptg.Pxg3D.getLastSheetName.

getSheetNameback to summary
public String getSheetName()

Implements org.apache.poi.ss.formula.ptg.Pxg.getSheetName.

getSidback to summary
public byte getSid()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.getSid.

Returns:byte

Doc from org.apache.poi.ss.formula.ptg.Ptg.getSid.

structure id of the parsed thing, or -1 if the record has no sid

Annotations
@Override
getSizeback to summary
public int getSize()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.getSize.

Returns:int

Doc from org.apache.poi.ss.formula.ptg.Ptg.getSize.

the encoded length of this Ptg, including the initial Ptg type identifier byte.

setLastSheetNameback to summary
public void setLastSheetName(String sheetName)

Implements org.apache.poi.ss.formula.ptg.Pxg3D.setLastSheetName.

setSheetNameback to summary
public void setSheetName(String sheetName)

Implements org.apache.poi.ss.formula.ptg.Pxg.setSheetName.

toFormulaStringback to summary
public String toFormulaString()

Overrides org.apache.poi.ss.formula.ptg.AreaPtgBase.toFormulaString.

Implements org.apache.poi.ss.formula.ptg.Pxg.toFormulaString.

Doc from org.apache.poi.ss.formula.ptg.Ptg.toFormulaString.

return a string representation of this token alone

writeback to summary
public void write(LittleEndianOutput out)

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.write.