@Beta public final class XSLFObjectData extends POIXMLDocumentPart implements ObjectData
POIXMLDocumentPart.RelationPart| Modifier | Constructor and Description |
|---|---|
protected |
XSLFObjectData()
Create a new XSLFOleData node
|
|
XSLFObjectData(PackagePart part)
Construct XSLFOleData from a package part
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFileName() |
java.io.InputStream |
getInputStream()
Gets an input stream which returns the binary of the embedded data.
|
java.lang.String |
getOLE2ClassName() |
java.io.OutputStream |
getOutputStream() |
protected void |
prepareForCommit()
*PictureData objects store the actual content in the part directly without keeping a
copy like all others therefore we need to handle them differently.
|
void |
setData(byte[] data) |
_invokeOnDocumentRead, addRelation, commit, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, getTargetPart, isCommited, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, read, rebase, removeRelation, removeRelation, removeRelation, setCommited, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBytes, getDirectory, hasDirectoryEntryprotected XSLFObjectData()
public XSLFObjectData(PackagePart part)
part - the package part holding the ole datapublic java.io.InputStream getInputStream()
throws java.io.IOException
ObjectDatagetInputStream in interface ObjectDatajava.io.IOExceptionpublic java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in interface ObjectDatajava.io.IOExceptionprotected void prepareForCommit()
prepareForCommit in class POIXMLDocumentPartpublic void setData(byte[] data)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getOLE2ClassName()
getOLE2ClassName in interface ObjectDatapublic java.lang.String getFileName()
getFileName in interface ObjectDataCopyright 2018 The Apache Software Foundation or its licensors, as applicable.