@Component(role=PdfRenderer.class, hint="fo") public class FoPdfRenderer extends AbstractPdfRenderer
doxia, parserModuleManagerROLE| Constructor and Description |
|---|
FoPdfRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
generatePdf(File inputFile,
File pdfFile)
Generate a final pdf ouput file from an intermediate format file.
|
void |
render(Map<String,org.apache.maven.doxia.parser.module.ParserModule> filesToProcess,
File outputDirectory,
org.apache.maven.doxia.document.DocumentModel documentModel)
Render an aggregate document from the files found in a Map.
|
void |
render(Map<String,org.apache.maven.doxia.parser.module.ParserModule> filesToProcess,
File outputDirectory,
org.apache.maven.doxia.document.DocumentModel documentModel,
DocumentRendererContext context)
Render an aggregate document from the files found in a Map.
|
void |
renderIndividual(Map<String,org.apache.maven.doxia.parser.module.ParserModule> filesToProcess,
File outputDirectory)
Render documents separately for each file found in a Map.
|
void |
renderIndividual(Map<String,org.apache.maven.doxia.parser.module.ParserModule> filesToProcess,
File outputDirectory,
DocumentRendererContext context)
Render documents separately for each file found in a Map.
|
getOutputExtensioncopyDirectory, copyResources, endsWithIgnoreCase, endsWithIgnoreCase, getBaseDir, getExtensions, getFilesToProcess, getFilesToProcess, getOutputName, parse, parse, readDocumentModel, render, render, render, render, render, setBaseDirenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadDocumentModel, render, renderpublic void generatePdf(File inputFile, File pdfFile) throws DocumentRendererException
inputFile - eg a fo or an itext file.pdfFile - the pdf file to generate.DocumentRendererException - if any.FoUtils.convertFO2PDF(File, File, String)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
render in class AbstractPdfRendererfilesToProcess - 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.DocumentRendererException - if anyIOException - if anypublic 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
render in class AbstractDocumentRendererfilesToProcess - 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.DocumentRendererException - if anyIOException - if anypublic void renderIndividual(Map<String,org.apache.maven.doxia.parser.module.ParserModule> filesToProcess, File outputDirectory) throws DocumentRendererException, IOException
renderIndividual in class AbstractDocumentRendererfilesToProcess - 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.DocumentRendererException - if anyIOException - if anypublic void renderIndividual(Map<String,org.apache.maven.doxia.parser.module.ParserModule> filesToProcess, File outputDirectory, DocumentRendererContext context) throws DocumentRendererException, IOException
renderIndividual in class AbstractDocumentRendererfilesToProcess - 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.DocumentRendererException - if anyIOException - if anyCopyright © 2005–2016 The Apache Software Foundation. All rights reserved.