public class AFPRendererConfigurator extends PrintRendererConfigurator
userAgent| Constructor and Description |
|---|
AFPRendererConfigurator(FOUserAgent userAgent,
RendererConfig.RendererConfigParser rendererConfigParser)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(IFDocumentHandler documentHandler)
Configures a intermediate format document handler.
|
protected FontCollection |
getCustomFontCollection(InternalResourceResolver uriResolverWrapper,
String mimeType)
Returns the font collection for custom configured fonts.
|
protected List<FontCollection> |
getDefaultFontCollection() |
configure, createCollectionFromFontList, createDefaultInstance, getRendererConfig, getRendererConfig, getRendererConfig, setupFontInfogetTypepublic AFPRendererConfigurator(FOUserAgent userAgent, RendererConfig.RendererConfigParser rendererConfigParser)
userAgent - user agentpublic void configure(IFDocumentHandler documentHandler) throws FOPException
PrintRendererConfiguratorconfigure in interface IFDocumentHandlerConfiguratorconfigure in class PrintRendererConfiguratordocumentHandler - the document handler instanceFOPException - if an error occurs while configuring the objectprotected List<FontCollection> getDefaultFontCollection()
getDefaultFontCollection in class PrintRendererConfiguratorprotected FontCollection getCustomFontCollection(InternalResourceResolver uriResolverWrapper, String mimeType) throws FOPException
PrintRendererConfiguratorgetCustomFontCollection in class PrintRendererConfiguratoruriResolverWrapper - the resource resolvermimeType - the renderer MIME typeFOPException - if an error occursCopyright © 2025 Apache Software Foundation. All rights reserved.