|
fop 1.1 | |||||||||
| 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<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. |
| 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 final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public PrintRendererConfigurator(FOUserAgent userAgent)
userAgent - user agent| Method Detail |
|---|
public void configure(Renderer renderer)
throws FOPException
configure in interface RendererConfiguratorrenderer - print renderer
FOPException - if something's wrong with the config data
protected 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 listener
EmbedFontInfo objects
FOPException - if an error occurs while processing the configuration
public void configure(IFDocumentHandler documentHandler)
throws FOPException
configure in interface IFDocumentHandlerConfiguratordocumentHandler - the document handler instance
FOPException - if an error occurs while configuring the object
public 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 up
FOPException - if an error occurs while configuring the object
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||