Class FoPdfRenderer

java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
All Implemented Interfaces:
DocumentRenderer, PdfRenderer, org.codehaus.plexus.logging.LogEnabled

@Deprecated @Component(role=PdfRenderer.class, hint="fo") public class FoPdfRenderer extends AbstractPdfRenderer
Deprecated.
PDF renderer that uses Doxia's FO module.
Since:
1.1
Author:
ltheussl
  • Constructor Details

    • FoPdfRenderer

      public FoPdfRenderer()
      Deprecated.
  • Method Details

    • generatePdf

      public void generatePdf(File inputFile, File pdfFile) throws DocumentRendererException
      Deprecated.
      Generate a final pdf ouput file from an intermediate format file.
      Parameters:
      inputFile - eg a fo or an itext file.
      pdfFile - the pdf file to generate.
      Throws:
      DocumentRendererException - if any.
      See Also:
      • FoUtils.convertFO2PDF(File, File, String)
    • render

      public void render(Map<String,org.apache.maven.doxia.parser.module.ParserModule> filesToProcess, File outputDirectory, org.apache.maven.doxia.document.DocumentModel documentModel) throws DocumentRendererException, IOException
      Deprecated.
      Render an aggregate document from the files found in a Map.
      Overrides:
      render in class AbstractPdfRenderer
      Parameters:
      filesToProcess - the Map of Files to process. The Map should contain as keys the paths of the source files (relative to baseDir), and the corresponding ParserModule as values.
      outputDirectory - the output directory where the aggregate document should be generated.
      documentModel - the document model, containing all the metadata, etc.
      Throws:
      DocumentRendererException - if any
      IOException - if any
    • render

      public void render(Map<String,org.apache.maven.doxia.parser.module.ParserModule> filesToProcess, File outputDirectory, org.apache.maven.doxia.document.DocumentModel documentModel, DocumentRendererContext context) throws DocumentRendererException, IOException
      Deprecated.
      Render an aggregate document from the files found in a Map.
      Overrides:
      render in class AbstractDocumentRenderer
      Parameters:
      filesToProcess - the Map of Files to process. The Map should contain as keys the paths of the source files (relative to baseDir), and the corresponding ParserModule as values.
      outputDirectory - the output directory where the aggregate document should be generated.
      documentModel - the document model, containing all the metadata, etc.
      context - the rendering context when processing files.
      Throws:
      DocumentRendererException - if any
      IOException - if any
    • renderIndividual

      public void renderIndividual(Map<String,org.apache.maven.doxia.parser.module.ParserModule> filesToProcess, File outputDirectory) throws DocumentRendererException, IOException
      Deprecated.
      Render documents separately for each file found in a Map.
      Overrides:
      renderIndividual in class AbstractDocumentRenderer
      Parameters:
      filesToProcess - the Map of Files to process. The Map should contain as keys the paths of the source files (relative to baseDir), and the corresponding ParserModule as values.
      outputDirectory - the output directory where the documents should be generated.
      Throws:
      DocumentRendererException - if any
      IOException - if any
    • renderIndividual

      public void renderIndividual(Map<String,org.apache.maven.doxia.parser.module.ParserModule> filesToProcess, File outputDirectory, DocumentRendererContext context) throws DocumentRendererException, IOException
      Deprecated.
      Render documents separately for each file found in a Map.
      Overrides:
      renderIndividual in class AbstractDocumentRenderer
      Parameters:
      filesToProcess - the Map of Files to process. The Map should contain as keys the paths of the source files (relative to baseDir), and the corresponding ParserModule as values.
      outputDirectory - the output directory where the documents should be generated.
      context - the rendering context.
      Throws:
      DocumentRendererException - if any
      IOException - if any