Streamablepublic class MapCodedFont extends AbstractStructuredObject
AbstractAFPObject.Category, AbstractAFPObject.TypeLOG, SF_CLASS, SF_HEADER_LENGTH| Constructor | Description |
|---|---|
MapCodedFont() |
Main constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addFont(int fontReference,
AFPFont font,
int size,
int orientation) |
Add a font definition on the the map coded font object.
|
void |
writeToStream(java.io.OutputStream os) |
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
copySF, copySF, truncate, writeChunksToStream, writeObjectswriteContent, writeEnd, writeStartpublic void writeToStream(java.io.OutputStream os)
throws java.io.IOException
writeToStream in interface StreamablewriteToStream in class AbstractStructuredObjectos - the outputsteam streamjava.io.IOException - 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 1999-2016 The Apache Software Foundation. All Rights Reserved.