|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lowagie.text.Font
com.lowagie.text.rtf.RtfFont
The RtfFont class enables you to add arbitrary Fonts to a rtf document by specifying the font name you want to have. The font has to be installed on the client for this to work.
| Field Summary | |
private String |
familyName
The font family name of this RtfFont |
| Fields inherited from class com.lowagie.text.Font |
BOLD, BOLDITALIC, COURIER, DEFAULTSIZE, HELVETICA, ITALIC, NORMAL, STRIKETHRU, SYMBOL, TIMES_ROMAN, UNDEFINED, UNDERLINE, ZAPFDINGBATS |
| Constructor Summary | |
RtfFont(String familyName)
Constructs a RtfFont |
|
RtfFont(String familyName,
float size)
Constructs a RtfFont |
|
RtfFont(String familyName,
float size,
int style)
Constructs a RtfFont |
|
RtfFont(String familyName,
float size,
int style,
Color color)
Constructs a RtfFont |
|
| Method Summary | |
Font |
difference(Font font)
Replaces the attributes that are equal to null with the attributes of a given font. |
String |
getFamilyname()
Gets the familyname as a String. |
| Methods inherited from class com.lowagie.text.Font |
color, compareTo, family, getBaseFont, getCalculatedBaseFont, getCalculatedStyle, getFamilyIndex, getStyleValue, isBold, isItalic, isStandardFont, isStrikethru, isUnderlined, leading, setColor, setColor, setFamily, setSize, setStyle, size, style |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private String familyName
| Constructor Detail |
public RtfFont(String familyName)
familyName - The family name of this RtfFont
public RtfFont(String familyName,
float size)
familyName - The font family name of this RtfFontsize - The font size of this RtfFont
public RtfFont(String familyName,
float size,
int style)
familyName - The font family name of this RtfFontsize - The font size of this RtfFontstyle - The font style of this RtfFont
public RtfFont(String familyName,
float size,
int style,
Color color)
familyName - The font family name of this RtfFontsize - The font size of this RtfFontstyle - The font style of this RtfFontcolor - The font color of this RtfFont| Method Detail |
public String getFamilyname()
getFamilyname in class Fontpublic Font difference(Font font)
difference in class Fontfont - the font of a bigger element class
Font
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||