Package org.apache.poi.xslf.usermodel
Class XSLFObjectData
java.lang.Object
org.apache.poi.ooxml.POIXMLDocumentPart
org.apache.poi.xslf.usermodel.XSLFObjectData
- All Implemented Interfaces:
ObjectData
An XSLFOleData instance holds the ole binary stream/object
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
POIXMLDocumentPart.RelationPart -
Constructor Summary
ConstructorsConstructorDescriptionXSLFObjectData(PackagePart part) Construct XSLFObjectData from a package part -
Method Summary
Modifier and TypeMethodDescriptionprotected voidXSLFObjectData objects store the actual content in the part directly without keeping a copy like all others therefore we need to handle them differently.voidsetData(byte[] data) Methods inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
_invokeOnDocumentRead, addRelation, commit, createHyperlink, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getReferenceRelationship, getReferenceRelationships, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, getTargetPart, isCommitted, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, read, rebase, removeReferenceRelationship, removeRelation, removeRelation, removeRelation, setCommitted, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.sl.usermodel.ObjectData
getBytes, getDirectory, hasDirectoryEntry
-
Constructor Details
-
XSLFObjectData
Construct XSLFObjectData from a package part- Parameters:
part- the package part holding the ole data- Since:
- 3.14-Beta1
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin interfaceObjectData- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStreamin interfaceObjectData- Throws:
IOException
-
prepareForCommit
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.- Overrides:
prepareForCommitin classPOIXMLDocumentPart
-
setData
- Throws:
IOException
-
getOLE2ClassName
- Specified by:
getOLE2ClassNamein interfaceObjectData
-
getFileName
- Specified by:
getFileNamein interfaceObjectData
-