Class FtCblsSubRecord

  • All Implemented Interfaces:
    java.lang.Cloneable

    public final class FtCblsSubRecord
    extends SubRecord
    implements java.lang.Cloneable
    This structure appears as part of an Obj record that represents a checkbox or radio button.
    Author:
    Yegor Kozlov
    • Constructor Detail

      • FtCblsSubRecord

        public FtCblsSubRecord()
        Construct a new FtCblsSubRecord and fill its data with the default values
    • Method Detail

      • toString

        public java.lang.String toString()
        Convert this record to string. Used by BiffViewer and other utilities.
        Overrides:
        toString in class java.lang.Object
      • serialize

        public void serialize​(LittleEndianOutput out)
        Serialize the record data into the supplied array of bytes
        Specified by:
        serialize in class SubRecord
        Parameters:
        out - the stream to serialize into
      • getDataSize

        protected int getDataSize()
        Specified by:
        getDataSize in class SubRecord
        Returns:
        the size of the data for this record (which is always 4 bytes less than the total record size). Note however, that ushort encoded after the record sid is usually but not always the data size.
      • getSid

        public short getSid()
        Returns:
        id of this record.