|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.AbstractConfigurator
org.apache.fop.render.AbstractRendererConfigurator
org.apache.fop.render.PrintRendererConfigurator
public class PrintRendererConfigurator
Base Print renderer configurator (mostly handles font configuration)
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
logger instance |
Fields inherited from class org.apache.fop.render.AbstractConfigurator |
---|
userAgent |
Constructor Summary | |
---|---|
PrintRendererConfigurator(FOUserAgent userAgent)
Default constructor |
Method Summary | |
---|---|
protected java.util.List |
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. |
Methods inherited from class org.apache.fop.render.AbstractRendererConfigurator |
---|
getRendererConfig, getRendererConfig, getType |
Methods inherited from class org.apache.fop.render.AbstractConfigurator |
---|
getConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
Constructor Detail |
---|
public PrintRendererConfigurator(FOUserAgent userAgent)
userAgent
- user agentMethod Detail |
---|
public void configure(Renderer renderer) throws FOPException
configure
in interface RendererConfigurator
renderer
- print renderer
FOPException
- if something's wrong with the config dataprotected java.util.List buildFontList(org.apache.avalon.framework.configuration.Configuration cfg, FontResolver fontResolver, FontEventListener listener) throws FOPException
cfg
- the configuration objectfontResolver
- a font resolverlistener
- the font event listener
EmbedFontInfo
objects
FOPException
- if an error occurs while processing the configurationpublic void configure(IFDocumentHandler documentHandler) throws FOPException
configure
in interface IFDocumentHandlerConfigurator
documentHandler
- the document handler instance
FOPException
- if an error occurs while configuring the objectpublic void setupFontInfo(IFDocumentHandler documentHandler, FontInfo fontInfo) throws FOPException
FontInfo
object for the IFDocumentHandler.
setupFontInfo
in interface IFDocumentHandlerConfigurator
documentHandler
- the document handler instancefontInfo
- the font info object to set up
FOPException
- if an error occurs while configuring the object
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |