Class FontDetectorFactory

java.lang.Object
org.docx4j.fonts.fop.fonts.FontDetectorFactory

public final class FontDetectorFactory
extends java.lang.Object
A factory that provides the font detecting machanism.
  • Method Summary

    Modifier and Type Method Description
    static FontDetector createDefault()
    Creates the default font detector
    static FontDetector createDisabled()
    Creates a disabled font detector which, by definition, does nothing to detect fonts.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createDefault

      public static FontDetector createDefault()
      Creates the default font detector
      Returns:
      the default font detector
    • createDisabled

      public static FontDetector createDisabled()
      Creates a disabled font detector which, by definition, does nothing to detect fonts.
      Returns:
      the completely restricted font detector