Class FontSubstitutionsConfigurator

java.lang.Object
org.docx4j.fonts.fop.fonts.substitute.FontSubstitutionsConfigurator

public class FontSubstitutionsConfigurator
extends java.lang.Object
Configures a font substitution catalog
  • Constructor Summary

    Constructors
    Constructor Description
    FontSubstitutionsConfigurator​(Configuration cfg)
    Main constructor
  • Method Summary

    Modifier and Type Method Description
    void configure​(FontSubstitutions substitutions)
    Configures a font substitution catalog

    Methods inherited from class java.lang.Object

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

    • FontSubstitutionsConfigurator

      public FontSubstitutionsConfigurator​(Configuration cfg)
      Main constructor
      Parameters:
      cfg - a configuration
  • Method Details

    • configure

      public void configure​(FontSubstitutions substitutions) throws FOPException
      Configures a font substitution catalog
      Parameters:
      substitutions - font substitutions
      Throws:
      FOPException - if something's wrong with the config data