|
fop 0.93 | ||||||||||
| 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 properties used in
| Field Summary | |
int |
fontSelectionStrategy
The "font-selection-strategy" property. |
Length |
fontSize
The "font-size" property. |
Numeric |
fontSizeAdjust
The "font-size-adjust" property. |
int |
fontStretch
The "font-stretch" property. |
int |
fontStyle
The "font-style" property. |
int |
fontVariant
The "font-variant" property. |
int |
fontWeight
The "font-weight" property. |
| Constructor Summary | |
CommonFont(PropertyList pList)
Create a CommonFont object. |
|
| Method Summary | |
java.lang.String |
getFirstFontFamily()
|
java.lang.String[] |
getFontFamily()
|
Font |
getFontState(FontInfo fontInfo,
PercentBaseContext context)
Create and return a Font object based on the properties. |
void |
overrideFontFamily(java.lang.String value)
Overrides the font-family. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int fontSelectionStrategy
public Length fontSize
public int fontStretch
public Numeric fontSizeAdjust
public int fontStyle
public int fontVariant
public int fontWeight
| Constructor Detail |
public CommonFont(PropertyList pList)
throws PropertyException
pList - The PropertyList to get properties from.| Method Detail |
public java.lang.String getFirstFontFamily()
public java.lang.String[] getFontFamily()
public void overrideFontFamily(java.lang.String value)
value - the new font-family
public Font getFontState(FontInfo fontInfo,
PercentBaseContext context)
fontInfo -
|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||