Package com.datalogics.PDFL
Enum Class EmbedFlags
- All Implemented Interfaces:
Serializable,Comparable<EmbedFlags>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf set, the document will not be scanned for font usage when embedding and subsetting.Fonts marked for subsetting/embedding will be embedded.Fonts will be subset when embedded.If set, fonts that have already been embedded but are not subset fonts, will be reembedded as a subset font. -
Method Summary
Modifier and TypeMethodDescriptionstatic EmbedFlagsReturns the enum constant of this class with the specified name.static EmbedFlags[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
Fonts marked for subsetting/embedding will be embedded. -
SUBSET
Fonts will be subset when embedded. Otherwise the entire font will be embedded. Full fonts should only be embedded if the information in the fonts indicates it can be used for editible embedding. Fonts that have more than 2048 characters will be subset embedded regardless of the setting of this flag.This flag implies a scan of the document text to ensure that all required characters are in the subset.
-
SUBSET_OF_EMBEDDED_FONT
If set, fonts that have already been embedded but are not subset fonts, will be reembedded as a subset font.If clear, already embedded fonts will not be re-scanned for embedding at all.
-
DONT_SCAN_DOCUMENT
If set, the document will not be scanned for font usage when embedding and subsetting. This flag only takes effect if a list of specific fonts to embed is given.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-