| java.lang.Object com.lowagie.text.Font com.lowagie.text.rtf.RtfFont
RtfFont | public class RtfFont extends Font (Code) | | 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.
author: Mark Hall (mhall@edu.uni-klu.ac.at) |
Method Summary | |
public Font | difference(Font font) Replaces the attributes that are equal to null with
the attributes of a given font. | public String | getFamilyname() Gets the familyname as a String. |
RtfFont | public RtfFont(String familyName)(Code) | | Constructs a RtfFont
Parameters: familyName - The family name of this RtfFont |
RtfFont | public RtfFont(String familyName, float size)(Code) | | Constructs a RtfFont
Parameters: familyName - The font family name of this RtfFont Parameters: size - The font size of this RtfFont |
RtfFont | public RtfFont(String familyName, float size, int style)(Code) | | Constructs a RtfFont
Parameters: familyName - The font family name of this RtfFont Parameters: size - The font size of this RtfFont Parameters: style - The font style of this RtfFont |
RtfFont | public RtfFont(String familyName, float size, int style, Color color)(Code) | | Constructs a RtfFont
Parameters: familyName - The font family name of this RtfFont Parameters: size - The font size of this RtfFont Parameters: style - The font style of this RtfFont Parameters: color - The font color of this RtfFont |
difference | public Font difference(Font font)(Code) | | Replaces the attributes that are equal to null with
the attributes of a given font.
Parameters: font - the font of a bigger element class a Font |
getFamilyname | public String getFamilyname()(Code) | | Gets the familyname as a String.
the familyname |
|
|