public final class ObjRecord extends Record
The obj record is used to hold various graphic objects and controls.
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
ObjRecord() |
ObjRecord(ObjRecord other) |
ObjRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
addSubRecord(int index,
SubRecord element) |
boolean |
addSubRecord(SubRecord o) |
void |
clearSubRecords() |
ObjRecord |
copy() |
java.util.List<SubRecord> |
getGenericChildren() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
int |
getRecordSize()
gives the current serialized size of the record.
|
short |
getSid()
return the non static version of the id for this record.
|
java.util.List<SubRecord> |
getSubRecords() |
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
cloneViaReserialise, serialize, toString
public static final short sid
public ObjRecord()
public ObjRecord(ObjRecord other)
public ObjRecord(RecordInputStream in)
public int getRecordSize()
RecordBase
getRecordSize
in class RecordBase
public int serialize(int offset, byte[] data)
RecordBase
serialize
in class RecordBase
offset
- to begin writing atdata
- byte array containing instance datapublic short getSid()
Record
public java.util.List<SubRecord> getSubRecords()
public void clearSubRecords()
public void addSubRecord(int index, SubRecord element)
public boolean addSubRecord(SubRecord o)
public ObjRecord copy()
copy
in interface Duplicatable
copy
in class Record
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in class Record
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
public java.util.List<SubRecord> getGenericChildren()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.