public class MapCodedFont extends AbstractStructuredObject
AbstractAFPObject.Category, AbstractAFPObject.TypeLOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
MapCodedFont()
Main constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFont(int fontReference,
AFPFont font,
int size,
int orientation)
Add a font definition on the the map coded font object.
|
void |
writeToStream(OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
writeContent, writeEnd, writeStartcopySF, copySF, truncate, writeChunksToStream, writeObjectspublic void writeToStream(OutputStream os) throws IOException
writeToStream in interface StreamablewriteToStream in class AbstractStructuredObjectos - the outputsteam streamIOException - an I/O exception of some sort has occurred.public void addFont(int fontReference,
AFPFont font,
int size,
int orientation)
throws MaximumSizeExceededException
fontReference - the font number used as the resource identifierfont - the fontsize - the size of the fontorientation - the orientation of the fontMaximumSizeExceededException - if the maximum number of fonts have been exceededCopyright © 2025 Apache Software Foundation. All rights reserved.