Class Area3DPtg

  • Direct Known Subclasses:
    DeletedArea3DPtg

    public class Area3DPtg
    extends Ptg
    Title: Area 3D Ptg - 3D referecnce (Sheet + Area)

    Description: Defined a area in Extern Sheet.

    REFERENCE:

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

      • Area3DPtg

        public Area3DPtg()
        Creates new AreaPtg
      • Area3DPtg

        public Area3DPtg​(String arearef,
                         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)
      • getFirstRow

        public short getFirstRow()
      • setFirstRow

        public void setFirstRow​(short row)
      • getLastRow

        public short getLastRow()
      • setLastRow

        public void setLastRow​(short row)
      • getFirstColumn

        public short getFirstColumn()
      • getFirstColumnRaw

        public short getFirstColumnRaw()
      • isFirstRowRelative

        public boolean isFirstRowRelative()
      • isFirstColRelative

        public boolean isFirstColRelative()
      • setFirstColumn

        public void setFirstColumn​(short column)
      • setFirstColumnRaw

        public void setFirstColumnRaw​(short column)
      • getLastColumn

        public short getLastColumn()
      • getLastColumnRaw

        public short getLastColumnRaw()
      • isLastRowRelative

        public boolean isLastRowRelative()
      • isLastColRelative

        public boolean isLastColRelative()
      • setLastColumn

        public void setLastColumn​(short column)
      • setLastColumnRaw

        public void setLastColumnRaw​(short column)
      • setFirstRowRelative

        public void setFirstRowRelative​(boolean rel)
        sets the first row to relative or not
        Parameters:
        rel - FIXME: Document this!
      • setFirstColRelative

        public void setFirstColRelative​(boolean rel)
        set whether the first column is relative
      • setLastRowRelative

        public void setLastRowRelative​(boolean rel)
        set whether the last row is relative or not
        Parameters:
        rel - FIXME: Document this!
      • setLastColRelative

        public void setLastColRelative​(boolean rel)
        set whether the last column should be relative or not
      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object