org.apache.fop.render.pdf

Class PDFRendererConfigurator

Implemented Interfaces:
RendererConfigurator

public class PDFRendererConfigurator
extends PrintRendererConfigurator

PDF renderer configurator

Field Summary

Fields inherited from class org.apache.fop.render.PrintRendererConfigurator

log

Fields inherited from class org.apache.fop.render.AbstractRendererConfigurator

log, userAgent

Constructor Summary

PDFRendererConfigurator(FOUserAgent userAgent)
Default constructor

Method Summary

static Map
buildFilterMapFromConfiguration(Configuration cfg)
Builds a filter map from an Avalon Configuration object.
void
configure(Renderer renderer)
Configure the PDF renderer.

Methods inherited from class org.apache.fop.render.PrintRendererConfigurator

buildFontListFromConfiguration, configure, getFontInfoFromConfiguration

Methods inherited from class org.apache.fop.render.AbstractRendererConfigurator

getRendererConfig, getRendererConfig

Constructor Details

PDFRendererConfigurator

public PDFRendererConfigurator(FOUserAgent userAgent)
Default constructor
Parameters:
userAgent - user agent

Method Details

buildFilterMapFromConfiguration

public static Map buildFilterMapFromConfiguration(Configuration cfg)
            throws ConfigurationException
Builds a filter map from an Avalon Configuration object.
Parameters:
cfg - the Configuration object
Returns:
Map the newly built filter map

configure

public void configure(Renderer renderer)
            throws FOPException
Configure the PDF renderer. Get the configuration to be used for pdf stream filters, fonts etc.
Specified by:
configure in interface RendererConfigurator
Overrides:
configure in interface PrintRendererConfigurator
Parameters:
renderer - pdf renderer
Throws:
FOPException - fop exception

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.