public class ExEmbed extends RecordContainer
Modifier and Type | Field and Description |
---|---|
protected RecordAtom |
embedAtom |
_children
Modifier | Constructor and Description |
---|---|
|
ExEmbed()
Create a new ExEmbed, with blank fields
|
protected |
ExEmbed(byte[] source,
int start,
int len)
Set things up, and find our more interesting children
|
Modifier and Type | Method and Description |
---|---|
String |
getClipboardName()
Gets the name that appears in the paste special dialog.
|
ExEmbedAtom |
getExEmbedAtom()
Gets the
ExEmbedAtom . |
ExOleObjAtom |
getExOleObjAtom()
Gets the
ExOleObjAtom . |
String |
getMenuName()
Gets the name used for menus and the Links dialog box.
|
String |
getProgId()
Gets the OLE Programmatic Identifier.
|
long |
getRecordType()
Returns the type (held as a little endian in bytes 3 and 4)
that this class handles.
|
void |
setClipboardName(String s) |
void |
setMenuName(String s) |
void |
setProgId(String s) |
void |
writeOut(OutputStream out)
Have the contents printer out into an OutputStream, used when
writing a file back out to disk.
|
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, handleParentAwareRecords, isAnAtom, moveChildBefore, moveChildrenAfter, moveChildrenBefore, removeChild, setChildRecord, writeOut
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
protected RecordAtom embedAtom
protected ExEmbed(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 ExEmbed()
public ExEmbedAtom getExEmbedAtom()
ExEmbedAtom
.ExEmbedAtom
.public ExOleObjAtom getExOleObjAtom()
ExOleObjAtom
.ExOleObjAtom
.public String getMenuName()
public void setMenuName(String s)
public String getProgId()
public void setProgId(String s)
public String getClipboardName()
public void setClipboardName(String s)
public long getRecordType()
getRecordType
in class Record
public void writeOut(OutputStream out) throws IOException
writeOut
in class Record
out
- the output stream.IOException
- if there was an error writing to the stream.Copyright © 2020. All rights reserved.