Class Ref3DPxg

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

    public final class Ref3DPxg
    extends RefPtgBase
    implements Pxg3D
    XSSF 3D Reference

    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

    • 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
        Specified by:
        toFormulaString in class Ptg
      • 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 Ref3DPxg copy()
        Specified by:
        copy in interface org.apache.poi.common.Duplicatable
        Specified by:
        copy in class OperandPtg