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

public final Class DrawingRecord

extends StandardRecord
Class Inheritance
Imports
java.util.Map, java.util.function.Supplier, org.apache.poi.util.GenericRecordUtil, .LittleEndianOutput

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
public
public
public
DrawingRecord(byte[] data)

Method Summary

Modifier and TypeMethod and Description
public DrawingRecord

Returns:

cloned drawing records
copy
()

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

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

Cloning of drawing records must be executed through HSSFPatriarch, because all id's must be changed

protected int
public Map<String, Supplier<?>>
public HSSFRecordTypes
public byte[]
public short
getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

pack-priv void
processContinueRecord(byte[] record)
Deprecated POI 3.9

public void
serialize(LittleEndianOutput
the output object
out
)

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

Write the data content of this BIFF record.

public void
setData(byte[] thedata)

Inherited from org.apache.poi.hssf.record.StandardRecord:
getRecordSizeserialize

Field Detail

contdback to summary
private byte[] contd
EMPTY_BYTE_ARRAYback to summary
private static final byte[] EMPTY_BYTE_ARRAY
recordDataback to summary
private byte[] recordData
sidback to summary
public static final short sid

Constructor Detail

DrawingRecordback to summary
public DrawingRecord()
DrawingRecordback to summary
public DrawingRecord(DrawingRecord other)
DrawingRecordback to summary
public DrawingRecord(RecordInputStream in)
DrawingRecordback to summary
public DrawingRecord(byte[] data)

Method Detail

copyback to summary
public DrawingRecord copy()

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

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

Cloning of drawing records must be executed through HSSFPatriarch, because all id's must be changed

Returns:DrawingRecord

cloned drawing records

Annotations
@Override
getDataSizeback to summary
protected int getDataSize()

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

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

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

Annotations
@Override
getGenericRecordTypeback to summary
public HSSFRecordTypes getGenericRecordType()

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

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

Annotations
@Override
getRecordDataback to summary
public byte[] getRecordData()
getSidback to summary
public short getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

Doc from org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

Returns:short

he id for this record

processContinueRecordback to summary
pack-priv void processContinueRecord(byte[] record)

Deprecated

POI 3.9

Annotations
@Deprecated
serializeback to summary
public void serialize(LittleEndianOutput out)

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

Doc from org.apache.poi.hssf.record.StandardRecord.serialize.

Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.

The number of bytes written must equal the record size reported by org.apache.poi.hssf.record.Record#getRecordSize()} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).

Parameters
out:LittleEndianOutput

the output object

setDataback to summary
public void setData(byte[] thedata)