Package org.forgerock.doc.maven.pre
Class Fop
java.lang.Object
org.forgerock.doc.maven.pre.Fop
Prepare fonts for use with Apache FOP.
-
Constructor Summary
ConstructorsConstructorDescriptionFop
(AbstractDocbkxMojo mojo) Constructor setting the Mojo that holds the configuration. -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Prepare fonts for use with Apache FOP.static org.twdata.maven.mojoexecutor.MojoExecutor.Element
getFontsElement
(String fontDir) Return a fonts element that includes all the custom fonts.
-
Constructor Details
-
Fop
Constructor setting the Mojo that holds the configuration.- Parameters:
mojo
- The Mojo that holds the configuration.
-
-
Method Details
-
execute
Prepare fonts for use with Apache FOP.- Throws:
org.apache.maven.plugin.MojoExecutionException
- Failed to prepare to use FOP.
-
getFontsElement
Return a fonts element that includes all the custom fonts.- Parameters:
fontDir
- Directory containing the custom fonts.- Returns:
- Fonts element.
-