public final class ExControlAtom extends RecordAtom
Modifier | Constructor and Description |
---|---|
protected |
ExControlAtom()
Constructs a brand new embedded object atom record.
|
protected |
ExControlAtom(byte[] source,
int start,
int len)
Constructs the ExControlAtom record from its source data.
|
Modifier and Type | Method and Description |
---|---|
long |
getRecordType()
Gets the record type.
|
int |
getSlideId()
An integer that specifies which presentation slide is associated with the ActiveX control.
|
void |
setSlideId(int id)
Sets which presentation slide is associated with the ActiveX control.
|
void |
writeOut(OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
protected ExControlAtom()
protected ExControlAtom(byte[] source, int start, int len)
source
- the source data as a byte array.start
- the start offset into the byte array.len
- the length of the slice in the byte array.public int getSlideId()
It MUST be 0x00000000 or equal to the value of the slideId field of a SlidePersistAtom record. The value 0x00000000 specifies a null reference.
public void setSlideId(int id)
id
- an integer that specifies which presentation slide is associated with the ActiveX control
It MUST be 0x00000000 or equal to the value of the slideId field of a SlidePersistAtom record. The value 0x00000000 specifies a null reference.
public long getRecordType()
getRecordType
in class Record
public void writeOut(OutputStream out) throws IOException
writeOut
in class Record
out
- the output stream to write to.IOException
- if an error occurs.Copyright © 2020. All rights reserved.