Class Fop

java.lang.Object
org.forgerock.doc.maven.pre.Fop

public final class Fop extends Object
Prepare fonts for use with Apache FOP.
  • Constructor Details

    • Fop

      public Fop(AbstractDocbkxMojo mojo)
      Constructor setting the Mojo that holds the configuration.
      Parameters:
      mojo - The Mojo that holds the configuration.
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Prepare fonts for use with Apache FOP.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - Failed to prepare to use FOP.
    • getFontsElement

      public static org.twdata.maven.mojoexecutor.MojoExecutor.Element getFontsElement(String fontDir)
      Return a fonts element that includes all the custom fonts.
      Parameters:
      fontDir - Directory containing the custom fonts.
      Returns:
      Fonts element.