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:
org.apache.poi.common.Duplicatable,GenericRecord
The FtCf structure specifies the clipboard format of the picture-type Obj record containing this FtCf.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.hssf.record.SubRecord
SubRecord.SubRecordTypes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortSpecifies the format of the picture is a bitmap.static final shortstatic final shortSpecifies the format of the picture is an enhanced metafile.static final shortstatic final shortSpecifies the picture is in an unspecified format that is neither and enhanced metafile nor a bitmap. -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a newFtPioGrbitSubRecordand fill its data with the default valuesFtCfSubRecord(FtCfSubRecord other) FtCfSubRecord(LittleEndianInput in, int size) -
Method Summary
Methods inherited from class org.apache.poi.hssf.record.SubRecord
createSubRecord, getMaxRecordLength, isTerminating, serialize, setMaxRecordLength, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
Field Details
-
sid
public static final short sid- See Also:
-
length
public static final short length- See Also:
-
METAFILE_BIT
public static final short METAFILE_BITSpecifies the format of the picture is an enhanced metafile.- See Also:
-
BITMAP_BIT
public static final short BITMAP_BITSpecifies the format of the picture is a bitmap.- See Also:
-
UNSPECIFIED_BIT
public static final short UNSPECIFIED_BITSpecifies the picture is in an unspecified format that is neither and enhanced metafile nor a bitmap.- See Also:
-
-
Constructor Details
-
FtCfSubRecord
public FtCfSubRecord()Construct a newFtPioGrbitSubRecordand fill its data with the default values -
FtCfSubRecord
-
FtCfSubRecord
-
-
Method Details
-
serialize
Serialize the record data into the supplied array of bytes -
getSid
public short getSid()- Returns:
- id of this record.
-
copy
-
getFlags
public short getFlags() -
setFlags
public void setFlags(short flags) -
getGenericRecordType
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classSubRecord
-
getGenericProperties
-