public class ExEmbed extends RecordContainer
_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
|
protected |
ExEmbed(RecordAtom embedAtom)
Constructor for derived classes
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClipboardName()
Gets the name that appears in the paste special dialog.
|
ExEmbedAtom |
getExEmbedAtom()
Gets the
ExEmbedAtom . |
ExOleObjAtom |
getExOleObjAtom()
Gets the
ExOleObjAtom . |
java.lang.String |
getMenuName()
Gets the name used for menus and the Links dialog box.
|
java.lang.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(java.lang.String clipboardName) |
void |
setMenuName(java.lang.String menuName) |
void |
setProgId(java.lang.String progId) |
void |
writeOut(java.io.OutputStream out)
Have the contents printer out into an OutputStream, used when
writing a file back out to disk.
|
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, getGenericProperties, handleParentAwareRecords, isAnAtom, removeChild, setChildRecord, writeOut
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
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.protected ExEmbed(RecordAtom embedAtom)
embedAtom
- the new embedAtompublic ExEmbed()
public ExEmbedAtom getExEmbedAtom()
ExEmbedAtom
.ExEmbedAtom
.public ExOleObjAtom getExOleObjAtom()
ExOleObjAtom
.ExOleObjAtom
.public java.lang.String getMenuName()
public void setMenuName(java.lang.String menuName)
public java.lang.String getProgId()
public void setProgId(java.lang.String progId)
public java.lang.String getClipboardName()
public void setClipboardName(java.lang.String clipboardName)
public long getRecordType()
getRecordType
in class Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.