|
![]() |
||||||||
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
public class 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. ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2.
Field Summary | |
---|---|
private java.lang.String |
familyName
Deprecated. 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(java.lang.String familyName)
Deprecated. Constructs a RtfFont |
|
RtfFont(java.lang.String familyName,
float size)
Deprecated. Constructs a RtfFont |
|
RtfFont(java.lang.String familyName,
float size,
int style)
Deprecated. Constructs a RtfFont |
|
RtfFont(java.lang.String familyName,
float size,
int style,
java.awt.Color color)
Deprecated. Constructs a RtfFont |
Method Summary | |
---|---|
Font |
difference(Font font)
Deprecated. Replaces the attributes that are equal to null with the attributes of a given font. |
java.lang.String |
getFamilyname()
Deprecated. Gets the familyname as a String. |
Methods inherited from class com.lowagie.text.Font |
---|
color, compareTo, family, getBaseFont, getCalculatedBaseFont, getCalculatedLeading, getCalculatedSize, getCalculatedStyle, getColor, getFamily, getFamilyIndex, getSize, getStyle, getStyleValue, isBold, isItalic, isStandardFont, isStrikethru, isUnderlined, leading, setColor, setColor, setFamily, setSize, setStyle, setStyle, size, style |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String familyName
Constructor Detail |
---|
public RtfFont(java.lang.String familyName)
familyName
- The family name of this RtfFontpublic RtfFont(java.lang.String familyName, float size)
familyName
- The font family name of this RtfFontsize
- The font size of this RtfFontpublic RtfFont(java.lang.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 RtfFontpublic RtfFont(java.lang.String familyName, float size, int style, java.awt.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 RtfFontMethod Detail |
---|
public java.lang.String getFamilyname()
getFamilyname
in class Font
public Font difference(Font font)
difference
in class Font
font
- the font of a bigger element class
Font
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |