|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EmbeddingMode>
org.apache.fop.fonts.EmbeddingMode
public enum EmbeddingMode
This enumerates the embedding mode of fonts; full; subset; auto (auto defaults to full for Type 1 fonts and subset for TrueType fonts.
Enum Constant Summary | |
---|---|
AUTO
Default option: assumes FULL for Type 1 fonts and SUBSET for TrueType fonts. |
|
FULL
Full font embedding: This means the whole of the font is written to file. |
|
SUBSET
Subset font embedding: Only the mandatory tables and a subset of glyphs are written to file. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of this embedding mode. |
static EmbeddingMode |
getValue(java.lang.String value)
Returns the embedding mode corresponding to the given name. |
static EmbeddingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EmbeddingMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EmbeddingMode AUTO
public static final EmbeddingMode FULL
public static final EmbeddingMode SUBSET
Method Detail |
---|
public static EmbeddingMode[] values()
for (EmbeddingMode c : EmbeddingMode.values()) System.out.println(c);
public static EmbeddingMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static EmbeddingMode getValue(java.lang.String value)
value
- the name of an embedding mode (not case sensitive)
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |