Top Description Fields Constructors Methods
org.apache.poi.common.usermodel.fonts

public final Enum FontFamily

extends Enum<FontFamily>
Class Inheritance

A property of a font that describes its general appearance.
Since
POI 3.17-beta2

Field Summary

Modifier and TypeField and Description
public static final FontFamily
FF_DECORATIVE

Novelty fonts.

public static final FontFamily
FF_DONTCARE

The default font is specified, which is implementation-dependent.

public static final FontFamily
FF_MODERN

Fonts with constant stroke width, with or without serifs.

public static final FontFamily
FF_ROMAN

Fonts with variable stroke widths, which are proportional to the actual widths of the glyphs, and which have serifs.

public static final FontFamily
FF_SCRIPT

Fonts designed to look like handwriting.

public static final FontFamily
FF_SWISS

Fonts with variable stroke widths, which are proportional to the actual widths of the glyphs, and which do not have serifs.

private int

Constructor Summary

AccessConstructor and Description
private
FontFamily(int nativeId)

Method Summary

Modifier and TypeMethod and Description
public int
public static FontFamily
public static FontFamily
valueOf(int nativeId)

public static FontFamily

Returns:

The resulting FontFamily
valueOfPitchFamily
(byte
The PitchFamily to decode.
pitchAndFamily
)

Get FontFamily from combined native id

public static FontFamily[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

FF_DECORATIVEback to summary
public static final FontFamily FF_DECORATIVE

Novelty fonts. "Old English" is an example.

FF_DONTCAREback to summary
public static final FontFamily FF_DONTCARE

The default font is specified, which is implementation-dependent.

FF_MODERNback to summary
public static final FontFamily FF_MODERN

Fonts with constant stroke width, with or without serifs. Fixed-width fonts are usually modern. "Pica", "Elite", and "Courier New" are examples.

FF_ROMANback to summary
public static final FontFamily FF_ROMAN

Fonts with variable stroke widths, which are proportional to the actual widths of the glyphs, and which have serifs. "MS Serif" is an example.

FF_SCRIPTback to summary
public static final FontFamily FF_SCRIPT

Fonts designed to look like handwriting. "Script" and "Cursive" are examples.

FF_SWISSback to summary
public static final FontFamily FF_SWISS

Fonts with variable stroke widths, which are proportional to the actual widths of the glyphs, and which do not have serifs. "MS Sans Serif" is an example.

nativeIdback to summary
private int nativeId

Constructor Detail

FontFamilyback to summary
private FontFamily(int nativeId)

Method Detail

getFlagback to summary
public int getFlag()
valueOfback to summary
public static FontFamily valueOf(String name)
valueOfback to summary
public static FontFamily valueOf(int nativeId)
valueOfPitchFamilyback to summary
public static FontFamily valueOfPitchFamily(byte pitchAndFamily)

Get FontFamily from combined native id

Parameters
pitchAndFamily:byte

The PitchFamily to decode.

Returns:FontFamily

The resulting FontFamily

valuesback to summary
public static FontFamily[] values()