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 atributes 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 fontFamily,
java.lang.String fontWeight,
java.lang.String fontStyle,
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 fontFamily,
java.lang.String fontWeight,
java.lang.String fontStyle,
int pointSize)
- Constructor for the AFPFontAttributes
- Parameters:
fontFamily
- the font family namefontWeight
- the font weightfontStyle
- the font stylepointSize
- the point size
getFontFamily
public java.lang.String getFontFamily()
- Returns:
- the FontFamily attribute
getFontKey
public java.lang.String getFontKey()
- Returns:
- the FontKey attribute
getFontStyle
public java.lang.String getFontStyle()
- Returns:
- the font style attribute
getFontWeight
public java.lang.String getFontWeight()
- Returns:
- the font weight attribute
getPointSize
public int getPointSize()
- Returns:
- the point size attribute
getFontReference
public byte getFontReference()
- Returns:
- the FontReference attribute
setFontReference
public void setFontReference(int fontReference)
- Sets the FontReference attribute
- Parameters:
fontReference
- the FontReference to set