public enum EmbeddingMode extends java.lang.Enum<EmbeddingMode>
Enum Constant | Description |
---|---|
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.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
public static final EmbeddingMode AUTO
public static final EmbeddingMode FULL
public static final EmbeddingMode SUBSET
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 namejava.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)Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.