fop 0.95

org.apache.fop.render.afp
Class AFPFontAttributes

java.lang.Object
  extended by 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
 
Method Summary
 AFPFont getFont()
           
 java.lang.String getFontKey()
           
 int getFontReference()
           
 int getPointSize()
           
 void setFontReference(int fontReference)
          Sets the FontReference attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AFPFontAttributes

public AFPFontAttributes(java.lang.String fontKey,
                         AFPFont font,
                         int pointSize)
Constructor for the AFPFontAttributes

Parameters:
fontKey - the font key
font - the font
pointSize - the point size
Method Detail

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

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.