org.apache.fop.render.afp
Class AFPFontAttributes
java.lang.Object
org.apache.fop.render.afp.AFPFontAttributes
public class AFPFontAttributes
extends java.lang.Object
This class encapsulates the font attributes that need to be included
in the AFP data stream. This class does not assist in converting the
font attributes to AFP code pages and character set values.
AFPFontAttributes
public AFPFontAttributes(String fontKey,
AFPFont font,
int pointSize)
Constructor for the AFPFontAttributes
fontKey
- the font keyfont
- the fontpointSize
- the point size
getFontKey
public String getFontKey()
getFontReference
public int getFontReference()
- the FontReference attribute
getPointSize
public int getPointSize()
setFontReference
public void setFontReference(int fontReference)
Sets the FontReference attribute
fontReference
- the FontReference to set
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.