@Beta public class XSLFFontData extends POIXMLDocumentPart
POIXMLDocumentPart.RelationPart
Modifier | Constructor and Description |
---|---|
protected |
XSLFFontData()
Create a new XSLFFontData node
(创建一个新的 XSLFFontData 节点)
|
|
XSLFFontData(PackagePart part)
Construct XSLFFontData from a package part
(从包部件构造 XSLFFontData)
|
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.
(XSLFFontData 对象直接将实际内容存储在部件中,而不像所有其他对象一样保留副本,因此我们需要以不同方式处理它们。)
|
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, toString
protected XSLFFontData()
public XSLFFontData(PackagePart part)
part
- the package part holding the ole data
(part - 保存 ole 数据的包部分)
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
(java.io.IOException)
public java.io.OutputStream getOutputStream()
protected void prepareForCommit()
prepareForCommit
in class
POIXMLDocumentPart
public void setData(byte[] data) throws java.io.IOException
java.io.IOException
(java.io.IOException)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.