Class CellRecord

    • Constructor Detail

      • CellRecord

        protected CellRecord()
      • CellRecord

        protected CellRecord​(CellRecord other)
    • Method Detail

      • setRow

        public final void setRow​(int row)
        Specified by:
        setRow in interface CellValueRecordInterface
        Parameters:
        row - the row this cell occurs within
      • setColumn

        public final void setColumn​(short col)
        Specified by:
        setColumn in interface CellValueRecordInterface
        Parameters:
        col - the column this cell defines
      • getRecordName

        protected abstract String getRecordName()
        Gets the debug info BIFF record type name (used by Record.toString().
        Returns:
        the record type name
      • serializeValue

        protected abstract void serializeValue​(LittleEndianOutput out)
        writes out the value data for this cell record
        Parameters:
        out - the output
      • getValueDataSize

        protected abstract int getValueDataSize()
        Returns:
        the size (in bytes) of the value data for this cell record
      • serialize

        public final void serialize​(LittleEndianOutput out)
        Description copied from class: StandardRecord
        Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.

        The number of bytes written must equal the record size reported by RecordBase.getRecordSize()} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).

        Specified by:
        serialize in class StandardRecord
        Parameters:
        out - the output object