Enum Class EmbedFlags

java.lang.Object
java.lang.Enum<EmbedFlags>
com.datalogics.PDFL.EmbedFlags
All Implemented Interfaces:
Serializable, Comparable<EmbedFlags>, Constable

public enum EmbedFlags extends Enum<EmbedFlags>
  • Enum Constant Details

    • NONE

      public static final EmbedFlags NONE
      Fonts marked for subsetting/embedding will be embedded.
    • SUBSET

      public static final EmbedFlags 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

      public static final EmbedFlags 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

      public static final EmbedFlags 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

      public static EmbedFlags[] 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

      public static EmbedFlags valueOf(String name)
      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 name
      NullPointerException - if the argument is null