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.
Constructor Summary |
AFPFontAttributes(java.lang.String fontKey,
AFPFont font,
int pointSize)
Constructor for the AFPFontAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AFPFontAttributes
public AFPFontAttributes(java.lang.String fontKey,
AFPFont font,
int pointSize)
- Constructor for the AFPFontAttributes
- Parameters:
fontKey
- the font keyfont
- the fontpointSize
- the point size
getFont
public AFPFont getFont()
- Returns:
- the font
getFontKey
public java.lang.String getFontKey()
- Returns:
- the FontKey attribute
getPointSize
public int getPointSize()
- Returns:
- the point size attribute
getFontReference
public int getFontReference()
- Returns:
- the FontReference attribute
setFontReference
public void setFontReference(int fontReference)
- Sets the FontReference attribute
- Parameters:
fontReference
- the FontReference to set
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.