com.groupdocs.editor.options

Class FontExtractionOptions

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.groupdocs.editor.options.FontExtractionOptions


  • public final class FontExtractionOptions
    extends com.aspose.ms.System.Enum

    Font extraction options control which fonts should be extracted and from where

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static byte ExtractAll
      Tries to extract all fonts, which are used in the input Words document, inclusing system fonts.
      static byte ExtractAllEmbedded
      Extracts all font resources, which are embedded into the input Word document, regardless of what they are: custom or system.
      static byte ExtractEmbeddedWithoutSystem
      Extracts only those embedded font resources, which are custom (not system)
      static byte NotExtract
      Does not extract any font resource neither from document not from the system.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
    • Field Detail

      • ExtractAll

        public static final byte ExtractAll

        Tries to extract all fonts, which are used in the input Words document, inclusing system fonts.


        Converter analysis an input Word document and finds all fonts, which are used there. If all of these fonts are embedded into the input document, converter extracts and returns them. Otherwise, if a collection of embedded fonts doesn't cover all used fonts in the document, or is empty, converter tries to extract these font resources from system, by using Windows Registry and system folders.

        See Also:
        Constant Field Values
      • ExtractAllEmbedded

        public static final byte ExtractAllEmbedded

        Extracts all font resources, which are embedded into the input Word document, regardless of what they are: custom or system.


        Converter finds and extracts all 100% font resources, which are embedded into the input Word document, but it doesn't determine whether they are system or custom; it doesn't touch Windows Registry or system folders at all.

        See Also:
        Constant Field Values
      • ExtractEmbeddedWithoutSystem

        public static final byte ExtractEmbeddedWithoutSystem

        Extracts only those embedded font resources, which are custom (not system)


        Converter finds and extracts all embedded font resources, and then tries to determine which of these fonts are system, and which - not. In order to achieve this, converter tries to obtain a list of all system fonts by using Windows Registry and system folders, and then compares this list with a set of embedded fonts. As a result, only subset of those embedded fonts, which were not found in system, will be returned.

        See Also:
        Constant Field Values
      • NotExtract

        public static final byte NotExtract

        Does not extract any font resource neither from document not from the system. Default value.

        See Also:
        Constant Field Values