|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.AbstractRendererConfigurator |
---|
userAgent |
Constructor Summary | |
---|---|
PrintRendererConfigurator(FOUserAgent userAgent)
Default constructor |
Method Summary | |
---|---|
static java.util.List |
buildFontListFromConfiguration(org.apache.avalon.framework.configuration.Configuration cfg,
java.lang.String fontBaseURL,
FontResolver fontResolver,
boolean strict,
FontCache fontCache)
Builds a list of EmbedFontInfo objects for use with the setup() method. |
void |
configure(Renderer renderer)
Builds a list of EmbedFontInfo objects for use with the setup() method. |
static EmbedFontInfo |
getFontInfoFromConfiguration(org.apache.avalon.framework.configuration.Configuration fontCfg,
FontResolver fontResolver,
boolean strict,
FontCache fontCache)
Returns a font info from a font node Configuration definition |
Methods inherited from class org.apache.fop.render.AbstractRendererConfigurator |
---|
getRendererConfig, getRendererConfig |
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 datapublic static java.util.List buildFontListFromConfiguration(org.apache.avalon.framework.configuration.Configuration cfg, java.lang.String fontBaseURL, FontResolver fontResolver, boolean strict, FontCache fontCache) throws FOPException
cfg
- Configuration objectfontBaseURL
- the base URL to resolve relative font URLs withfontResolver
- the FontResolver to usestrict
- true if an Exception should be thrown if an error is found.fontCache
- the font cache (or null if it is disabled)
FOPException
- If an error occurs while processing the configurationpublic static EmbedFontInfo getFontInfoFromConfiguration(org.apache.avalon.framework.configuration.Configuration fontCfg, FontResolver fontResolver, boolean strict, FontCache fontCache) throws FOPException
fontCfg
- Configuration object (font node)fontResolver
- font resolver used to resolve fontstrict
- validate configuration strictlyfontCache
- the font cache (or null if it is disabled)
FOPException
- if something's wrong with the config data
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |