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
- All Implemented Interfaces:
GenericRecord
- Direct Known Subclasses:
ExControl
This data represents an embedded object in the document.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the name that appears in the paste special dialog.Gets theExEmbedAtom.Gets theExOleObjAtom.Gets the name used for menus and the Links dialog box.Gets the OLE Programmatic Identifier.longReturns the type (held as a little endian in bytes 3 and 4) that this class handles.voidsetClipboardName(String clipboardName) voidsetMenuName(String menuName) voidvoidwriteOut(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, getGenericProperties, handleParentAwareRecords, isAnAtom, removeChild, setChildRecord, writeOutMethods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
-
Constructor Details
-
ExEmbed
public ExEmbed()Create a new ExEmbed, with blank fields
-
-
Method Details
-
getExEmbedAtom
Gets theExEmbedAtom.- Returns:
- the
ExEmbedAtom.
-
getExOleObjAtom
Gets theExOleObjAtom.- Returns:
- the
ExOleObjAtom.
-
getMenuName
Gets the name used for menus and the Links dialog box.- Returns:
- the name used for menus and the Links dialog box.
-
setMenuName
-
getProgId
Gets the OLE Programmatic Identifier.- Returns:
- the OLE Programmatic Identifier.
-
setProgId
-
getClipboardName
Gets the name that appears in the paste special dialog.- Returns:
- the name that appears in the paste special dialog.
-
setClipboardName
-
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
Have the contents printer out into an OutputStream, used when writing a file back out to disk.- Specified by:
writeOutin classRecord- Parameters:
out- the output stream.- Throws:
IOException- if there was an error writing to the stream.
-