public class PrintRendererConfigurator extends AbstractRendererConfigurator implements RendererConfigurator, IFDocumentHandlerConfigurator
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
logger instance
|
userAgent| Constructor and Description |
|---|
PrintRendererConfigurator(FOUserAgent userAgent)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<EmbedFontInfo> |
buildFontList(org.apache.avalon.framework.configuration.Configuration cfg,
FontResolver fontResolver,
FontEventListener listener)
Builds the font list from configuration.
|
void |
configure(IFDocumentHandler documentHandler)
Configures a intermediate format document handler.
|
void |
configure(Renderer renderer)
Builds a list of EmbedFontInfo objects for use with the setup() method.
|
void |
setupFontInfo(IFDocumentHandler documentHandler,
FontInfo fontInfo)
Sets up the
FontInfo object for the IFDocumentHandler. |
getRendererConfig, getRendererConfig, getTypegetConfigpublic PrintRendererConfigurator(FOUserAgent userAgent)
userAgent - user agentpublic void configure(Renderer renderer) throws FOPException
configure in interface RendererConfiguratorrenderer - print rendererFOPException - if something's wrong with the config dataprotected java.util.List<EmbedFontInfo> buildFontList(org.apache.avalon.framework.configuration.Configuration cfg, FontResolver fontResolver, FontEventListener listener) throws FOPException
cfg - the configuration objectfontResolver - a font resolverlistener - the font event listenerEmbedFontInfo objectsFOPException - if an error occurs while processing the configurationpublic void configure(IFDocumentHandler documentHandler) throws FOPException
configure in interface IFDocumentHandlerConfiguratordocumentHandler - the document handler instanceFOPException - if an error occurs while configuring the objectpublic void setupFontInfo(IFDocumentHandler documentHandler, FontInfo fontInfo) throws FOPException
FontInfo object for the IFDocumentHandler.setupFontInfo in interface IFDocumentHandlerConfiguratordocumentHandler - the document handler instancefontInfo - the font info object to set upFOPException - if an error occurs while configuring the objectCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.