|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.fo.properties.CommonFont
Collection of CommonFont properties
| Nested Class Summary | |
protected static class |
CommonFont.CachedCommonFont
Class holding canonical instances of bundles of the cacheable (non-relative) CommonFont properties |
| Field Summary | |
Length |
fontSize
The "font-size" property. |
Numeric |
fontSizeAdjust
The "font-size-adjust" property. |
| Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getFirstFontFamily()
|
int |
getFontSelectionStrategy()
|
FontTriplet[] |
getFontState(FontInfo fontInfo)
Create and return an array of FontTriplets based on
the properties stored in the instance variables. |
int |
getFontStretch()
|
int |
getFontStyle()
|
int |
getFontVariant()
|
int |
getFontWeight()
|
static CommonFont |
getInstance(PropertyList pList)
Returns a CommonFont instance for the given PropertyList If the font-size and font-size-adjust properties are absolute the entire instance will be cached. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final Length fontSize
public final Numeric fontSizeAdjust
| Method Detail |
public static CommonFont getInstance(PropertyList pList)
throws PropertyException
pList - the PropertyList to get the properties from
PropertyException - if there was a problem getting the propertiespublic java.lang.String getFirstFontFamily()
public int getFontSelectionStrategy()
public int getFontStretch()
public int getFontStyle()
public int getFontVariant()
public int getFontWeight()
public FontTriplet[] getFontState(FontInfo fontInfo)
FontTriplets based on
the properties stored in the instance variables.
fontInfo -
public boolean equals(java.lang.Object o)
public int hashCode()
|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||