Class Ref3DPtg

  • Direct Known Subclasses:
    DeletedRef3DPtg

    public class Ref3DPtg
    extends Ptg
    Title: Reference 3D Ptg

    Description: Defined a cell in extern sheet.

    REFERENCE:

    Version:
    1.0-pre
    Author:
    Libin Roman (Vista Portal LDT. Developer), Jason Height (jheight at chariot dot net dot au)
    • Constructor Detail

      • Ref3DPtg

        public Ref3DPtg()
        Creates new AreaPtg
      • Ref3DPtg

        public Ref3DPtg​(String cellref,
                        short externIdx)
    • Method Detail

      • toString

        public String toString()
        Description copied from class: Ptg
        Overridden toString method to ensure object hash is not printed. This helps get rid of gratuitous diffs when comparing two dumps Subclasses may output more relevant information by overriding this method
        Overrides:
        toString in class Ptg
      • writeBytes

        public void writeBytes​(byte[] array,
                               int offset)
        Description copied from class: Ptg
        write this Ptg to a byte array
        Specified by:
        writeBytes in class Ptg
      • getSize

        public int getSize()
        Specified by:
        getSize in class Ptg
      • getExternSheetIndex

        public short getExternSheetIndex()
      • setExternSheetIndex

        public void setExternSheetIndex​(short index)
      • getRow

        public short getRow()
      • setRow

        public void setRow​(short row)
      • getColumn

        public short getColumn()
      • getColumnRaw

        public short getColumnRaw()
      • isRowRelative

        public boolean isRowRelative()
      • setRowRelative

        public void setRowRelative​(boolean rel)
      • isColRelative

        public boolean isColRelative()
      • setColRelative

        public void setColRelative​(boolean rel)
      • setColumn

        public void setColumn​(short column)
      • setColumnRaw

        public void setColumnRaw​(short column)
      • setArea

        public void setArea​(String ref)
      • toFormulaString

        public String toFormulaString​(Workbook book)
        Description copied from class: Ptg
        return a string representation of this token alone
        Specified by:
        toFormulaString in class Ptg