org.apache.fop.render.afp.modca
public class MapCodedFont extends AbstractAFPObject
log| Constructor and Description |
|---|
MapCodedFont()
Constructor for the MapCodedFont
|
| 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 |
writeDataStream(java.io.OutputStream os)
Accessor method to write the AFP datastream for the Map Coded Font
|
writeObjectListpublic void writeDataStream(java.io.OutputStream os)
throws java.io.IOException
writeDataStream in class AbstractAFPObjectos - The stream to write tojava.io.IOException - an I/O exception of some sort has occurredpublic 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-2008 The Apache Software Foundation. All Rights Reserved.