Package org.apache.poi.hslf.record
Class ExEmbed
- java.lang.Object
-
- org.apache.poi.hslf.record.Record
-
- org.apache.poi.hslf.record.RecordContainer
-
- org.apache.poi.hslf.record.ExEmbed
-
- Direct Known Subclasses:
ExControl
public class ExEmbed extends RecordContainer
This data represents an embedded object in the document.
-
-
Constructor Summary
Constructors Constructor Description ExEmbed()Create a new ExEmbed, with blank fields
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClipboardName()Gets the name that appears in the paste special dialog.ExEmbedAtomgetExEmbedAtom()Gets theExEmbedAtom.ExOleObjAtomgetExOleObjAtom()Gets theExOleObjAtom.java.lang.StringgetMenuName()Gets the name used for menus and the Links dialog box.java.lang.StringgetProgId()Gets the OLE Programmatic Identifier.longgetRecordType()Returns the type (held as a little endian in bytes 3 and 4) that this class handles.voidsetClipboardName(java.lang.String clipboardName)voidsetMenuName(java.lang.String menuName)voidsetProgId(java.lang.String progId)voidwriteOut(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
-
-
-
-
Method Detail
-
getExEmbedAtom
public ExEmbedAtom getExEmbedAtom()
Gets theExEmbedAtom.- Returns:
- the
ExEmbedAtom.
-
getExOleObjAtom
public ExOleObjAtom getExOleObjAtom()
Gets theExOleObjAtom.- Returns:
- the
ExOleObjAtom.
-
getMenuName
public java.lang.String getMenuName()
Gets the name used for menus and the Links dialog box.- Returns:
- the name used for menus and the Links dialog box.
-
setMenuName
public void setMenuName(java.lang.String menuName)
-
getProgId
public java.lang.String getProgId()
Gets the OLE Programmatic Identifier.- Returns:
- the OLE Programmatic Identifier.
-
setProgId
public void setProgId(java.lang.String progId)
-
getClipboardName
public java.lang.String getClipboardName()
Gets the name that appears in the paste special dialog.- Returns:
- the name that appears in the paste special dialog.
-
setClipboardName
public void setClipboardName(java.lang.String clipboardName)
-
getRecordType
public long getRecordType()
Returns the type (held as a little endian in bytes 3 and 4) that this class handles.- Specified by:
getRecordTypein classRecord- Returns:
- the record type.
-
writeOut
public void writeOut(java.io.OutputStream out) throws java.io.IOExceptionHave the contents printer out into an OutputStream, used when writing a file back out to disk.
-
-