Package org.apache.poi.xslf.usermodel
Class XSLFFontData
java.lang.Object
org.apache.poi.ooxml.POIXMLDocumentPart
org.apache.poi.xslf.usermodel.XSLFFontData
A container for fontdata files, i.e. MTX fonts derived from
true (TTF) or open (OTF) type fonts.
- Since:
- 4.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
POIXMLDocumentPart.RelationPart -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate a new XSLFFontData nodeXSLFFontData(PackagePart part) Construct XSLFFontData from a package part -
Method Summary
Modifier and TypeMethodDescriptionprotected voidXSLFFontData 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, toString
-
Constructor Details
-
XSLFFontData
protected XSLFFontData()Create a new XSLFFontData node -
XSLFFontData
Construct XSLFFontData from a package part- Parameters:
part- the package part holding the ole data
-
-
Method Details
-
getInputStream
- Throws:
IOException
-
getOutputStream
- Throws:
IOException
-
prepareForCommit
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.- Overrides:
prepareForCommitin classPOIXMLDocumentPart
-
setData
- Throws:
IOException
-