|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hslf.record.Record org.apache.poi.hslf.record.RecordContainer org.apache.poi.hslf.record.ExEmbed
public class ExEmbed
This data represents an embedded object in the document.
Field Summary | |
---|---|
protected RecordAtom |
embedAtom
|
Fields inherited from class org.apache.poi.hslf.record.RecordContainer |
---|
_children |
Fields inherited from class org.apache.poi.hslf.record.Record |
---|
logger |
Constructor Summary | |
---|---|
|
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 |
Method Summary | |
---|---|
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 s)
|
void |
setMenuName(java.lang.String s)
|
void |
setProgId(java.lang.String s)
|
void |
writeOut(java.io.OutputStream out)
Have the contents printer out into an OutputStream, used when writing a file back out to disk. |
Methods inherited from class org.apache.poi.hslf.record.RecordContainer |
---|
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, handleParentAwareRecords, isAnAtom, moveChildBefore, moveChildrenAfter, moveChildrenBefore, removeChild, setChildRecord, writeOut |
Methods inherited from class org.apache.poi.hslf.record.Record |
---|
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected RecordAtom embedAtom
Constructor Detail |
---|
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()
Method Detail |
---|
public ExEmbedAtom getExEmbedAtom()
ExEmbedAtom
.
ExEmbedAtom
.public ExOleObjAtom getExOleObjAtom()
ExOleObjAtom
.
ExOleObjAtom
.public java.lang.String getMenuName()
public void setMenuName(java.lang.String s)
public java.lang.String getProgId()
public void setProgId(java.lang.String s)
public java.lang.String getClipboardName()
public void setClipboardName(java.lang.String s)
public long getRecordType()
getRecordType
in class Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
writeOut
in class Record
out
- the output stream.
java.io.IOException
- if there was an error writing to the stream.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |