Class FtCfSubRecord

  • All Implemented Interfaces:
    Duplicatable, GenericRecord

    public final class FtCfSubRecord
    extends SubRecord
    The FtCf structure specifies the clipboard format of the picture-type Obj record containing this FtCf.
    • Field Detail

      • METAFILE_BIT

        public static final short METAFILE_BIT
        Specifies the format of the picture is an enhanced metafile.
        See Also:
        Constant Field Values
      • BITMAP_BIT

        public static final short BITMAP_BIT
        Specifies the format of the picture is a bitmap.
        See Also:
        Constant Field Values
      • UNSPECIFIED_BIT

        public static final short UNSPECIFIED_BIT
        Specifies the picture is in an unspecified format that is neither and enhanced metafile nor a bitmap.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FtCfSubRecord

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

      • 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.
      • getFlags

        public short getFlags()
      • setFlags

        public void setFlags​(short flags)