Package org.apache.poi.hssf.record
Class FtCfSubRecord
- java.lang.Object
-
- org.apache.poi.hssf.record.SubRecord
-
- org.apache.poi.hssf.record.FtCfSubRecord
-
- All Implemented Interfaces:
java.lang.Cloneable
public final class FtCfSubRecord extends SubRecord implements java.lang.Cloneable
The FtCf structure specifies the clipboard format of the picture-type Obj record containing this FtCf.
-
-
Field Summary
Fields Modifier and Type Field Description static shortBITMAP_BITSpecifies the format of the picture is a bitmap.static shortlengthstatic shortMETAFILE_BITSpecifies the format of the picture is an enhanced metafile.static shortsidstatic shortUNSPECIFIED_BITSpecifies the picture is in an unspecified format that is neither and enhanced metafile nor a bitmap.
-
Constructor Summary
Constructors Constructor Description FtCfSubRecord()Construct a newFtPioGrbitSubRecordand fill its data with the default valuesFtCfSubRecord(LittleEndianInput in, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FtCfSubRecordclone()shortgetFlags()shortgetSid()voidserialize(LittleEndianOutput out)Serialize the record data into the supplied array of bytesvoidsetFlags(short flags)java.lang.StringtoString()Convert this record to string.-
Methods inherited from class org.apache.poi.hssf.record.SubRecord
createSubRecord, isTerminating, serialize
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
length
public static final short length
- See Also:
- Constant Field Values
-
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 newFtPioGrbitSubRecordand fill its data with the default values
-
FtCfSubRecord
public FtCfSubRecord(LittleEndianInput in, int size)
-
-
Method Detail
-
toString
public java.lang.String toString()
Convert this record to string. Used by BiffViewer and other utilities.- Overrides:
toStringin classjava.lang.Object
-
serialize
public void serialize(LittleEndianOutput out)
Serialize the record data into the supplied array of bytes
-
getSid
public short getSid()
- Returns:
- id of this record.
-
clone
public FtCfSubRecord clone()
-
getFlags
public short getFlags()
-
setFlags
public void setFlags(short flags)
-
-