Top Description Fields Constructors Methods
org.apache.poi.hssf.record

public final Class FtCblsSubRecord

extends SubRecord
Class Inheritance
Imports
java.util.Map, java.util.function.Supplier, org.apache.poi.util.GenericRecordUtil, .IOUtils, .LittleEndianInput, .LittleEndianOutput, .RecordFormatException

This structure appears as part of an Obj record that represents a checkbox or radio button.

Field Summary

Modifier and TypeField and Description
private static final int
private final byte[]
public static final short

Constructor Summary

AccessConstructor and Description
public
FtCblsSubRecord()

Construct a new FtCblsSubRecord and fill its data with the default values

public
public
pack-priv
FtCblsSubRecord(LittleEndianInput in, int size, int cmoOt)

Method Summary

Modifier and TypeMethod and Description
public FtCblsSubRecord
protected int
public Map<String, Supplier<?>>
public SubRecord.SubRecordTypes
public short

Returns:

id of this record.
getSid
()

public void
serialize(LittleEndianOutput
the stream to serialize into
out
)

Implements abstract org.apache.poi.hssf.record.SubRecord.serialize.

Serialize the record data into the supplied array of bytes

Inherited from org.apache.poi.hssf.record.SubRecord:
createSubRecordgetMaxRecordLengthisTerminatingserializesetMaxRecordLengthtoString

Field Detail

ENCODED_SIZEback to summary
private static final int ENCODED_SIZE
reservedback to summary
private final byte[] reserved
sidback to summary
public static final short sid

Constructor Detail

FtCblsSubRecordback to summary
public FtCblsSubRecord()

Construct a new FtCblsSubRecord and fill its data with the default values

FtCblsSubRecordback to summary
public FtCblsSubRecord(FtCblsSubRecord other)
FtCblsSubRecordback to summary
public FtCblsSubRecord(LittleEndianInput in, int size)
FtCblsSubRecordback to summary
pack-priv FtCblsSubRecord(LittleEndianInput in, int size, int cmoOt)

Method Detail

copyback to summary
public FtCblsSubRecord copy()

Implements abstract org.apache.poi.hssf.record.SubRecord.copy.

Implements org.apache.poi.common.Duplicatable.copy.

Returns:FtCblsSubRecord

Doc from org.apache.poi.common.Duplicatable.copy.

a deep copy of the implementing class / instance

Annotations
@Override
getDataSizeback to summary
protected int getDataSize()

Implements abstract org.apache.poi.hssf.record.SubRecord.getDataSize.

Returns:int

Doc from org.apache.poi.hssf.record.SubRecord.getDataSize.

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.

getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
getGenericRecordTypeback to summary
public SubRecord.SubRecordTypes getGenericRecordType()

Overrides default org.apache.poi.common.usermodel.GenericRecord.getGenericRecordType.

Implements abstract org.apache.poi.hssf.record.SubRecord.getGenericRecordType.

Annotations
@Override
getSidback to summary
public short getSid()
Returns:short

id of this record.

serializeback to summary
public void serialize(LittleEndianOutput out)

Implements abstract org.apache.poi.hssf.record.SubRecord.serialize.

Serialize the record data into the supplied array of bytes

Parameters
out:LittleEndianOutput

the stream to serialize into