@Beta public class XSLFFontData extends POIXMLDocumentPart
POIXMLDocumentPart.RelationPart| Modifier | Constructor and Description |
|---|---|
protected |
XSLFFontData()
Create a new XSLFFontData node
|
|
XSLFFontData(PackagePart part)
Construct XSLFFontData from a package part
|
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream() |
protected void |
prepareForCommit()
XSLFFontData 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, isCommitted, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, read, rebase, removeRelation, removeRelation, removeRelation, setCommited, setCommitted, toStringprotected XSLFFontData()
public XSLFFontData(PackagePart part)
part - the package part holding the ole datapublic java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionpublic java.io.OutputStream getOutputStream()
protected void prepareForCommit()
prepareForCommit in class POIXMLDocumentPartpublic void setData(byte[] data)
throws java.io.IOException
java.io.IOExceptionCopyright 2020 The Apache Software Foundation or its licensors, as applicable.