public class RtfHeaderFont extends RtfHeader
| Modifier and Type | Class and Description |
|---|---|
static class |
RtfHeaderFont.CharSet
Specifies the RTF character set of a font in the font table.
|
static class |
RtfHeaderFont.FontFamily
RTF font families.
|
static class |
RtfHeaderFont.Pitch
Pitch of a font.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ARIAL
Constant for Courier font.
|
static String |
COURIER
Constant for Courier font.
|
static String |
HELVETICA
Constant for Helvetica (Arial) font.
|
static String |
SYMBOL
Constant for Symbol font.
|
static String |
TIMES_ROMAN
Constant for Times font.
|
static String |
WINDINGS
Constant for Windings font.
|
static String |
ZAPFDINGBATS
Constant for Zapf Dingbats (Windings) font.
|
| Modifier and Type | Method and Description |
|---|---|
RtfHeader |
at(int fontnum)
Sets the number of this fonts in the header and finishes the header font definition.
|
RtfHeaderFont |
charset(RtfHeaderFont.CharSet charSet)
Sets the char set.
|
RtfHeaderFont |
family(RtfHeaderFont.FontFamily fontfamily)
Sets the font family.
|
RtfHeaderFont |
pitch(RtfHeaderFont.Pitch pitch)
Sets the pitch.
|
public static final String COURIER
public static final String HELVETICA
public static final String ARIAL
public static final String SYMBOL
public static final String TIMES_ROMAN
public static final String ZAPFDINGBATS
public static final String WINDINGS
public RtfHeaderFont family(RtfHeaderFont.FontFamily fontfamily)
fontfamily - Font family.this-object.public RtfHeaderFont charset(RtfHeaderFont.CharSet charSet)
charSet - Char set.this-object.public RtfHeaderFont pitch(RtfHeaderFont.Pitch pitch)
pitch - Pitch of this font.this-object.Copyright © 2010–2015 Tutego. All rights reserved.