Class Area3DPxg

  • All Implemented Interfaces:
    org.apache.poi.common.Duplicatable, GenericRecord, AreaI, Pxg, Pxg3D

    public final class Area3DPxg
    extends AreaPtgBase
    implements Pxg3D
    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

    • Method Detail

      • getSheetName

        public java.lang.String getSheetName()
        Specified by:
        getSheetName in interface Pxg
      • getLastSheetName

        public java.lang.String getLastSheetName()
        Specified by:
        getLastSheetName in interface Pxg3D
      • setSheetName

        public void setSheetName​(java.lang.String sheetName)
        Specified by:
        setSheetName in interface Pxg
      • setLastSheetName

        public void setLastSheetName​(java.lang.String sheetName)
        Specified by:
        setLastSheetName in interface Pxg3D
      • format2DRefAsString

        public java.lang.String format2DRefAsString()
      • toFormulaString

        public java.lang.String toFormulaString()
        Description copied from class: Ptg
        return a string representation of this token alone
        Specified by:
        toFormulaString in interface Pxg
        Overrides:
        toFormulaString in class AreaPtgBase
      • getSid

        public byte getSid()
        Specified by:
        getSid in class Ptg
        Returns:
        structure id of the parsed thing, or -1 if the record has no sid
      • getSize

        public int getSize()
        Specified by:
        getSize in class Ptg
        Returns:
        the encoded length of this Ptg, including the initial Ptg type identifier byte.
      • copy

        public Area3DPxg copy()
        Specified by:
        copy in interface org.apache.poi.common.Duplicatable
        Specified by:
        copy in class OperandPtg