@Beta public final class XSLFObjectData extends POIXMLDocumentPart implements ObjectData
POIXMLDocumentPart.RelationPart| Constructor and Description |
|---|
XSLFObjectData(PackagePart part)
Construct XSLFObjectData from a package part
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName() |
InputStream |
getInputStream() |
String |
getOLE2ClassName() |
OutputStream |
getOutputStream() |
protected void |
prepareForCommit()
XSLFObjectData 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, isCommitted, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, read, rebase, removeRelation, removeRelation, removeRelation, setCommitted, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBytes, getDirectory, hasDirectoryEntrypublic XSLFObjectData(PackagePart part)
part - the package part holding the ole datapublic InputStream getInputStream() throws IOException
getInputStream in interface ObjectDataIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface ObjectDataIOExceptionprotected void prepareForCommit()
prepareForCommit in class POIXMLDocumentPartpublic void setData(byte[] data)
throws IOException
IOExceptionpublic String getOLE2ClassName()
getOLE2ClassName in interface ObjectDatapublic String getFileName()
getFileName in interface ObjectData