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, setupFontInfo
getType
public AFPRendererConfigurator(FOUserAgent userAgent, RendererConfig.RendererConfigParser rendererConfigParser)
userAgent
- user agentpublic void configure(IFDocumentHandler documentHandler) throws FOPException
PrintRendererConfigurator
configure
in interface IFDocumentHandlerConfigurator
configure
in class PrintRendererConfigurator
documentHandler
- the document handler instanceFOPException
- if an error occurs while configuring the objectprotected List<FontCollection> getDefaultFontCollection()
getDefaultFontCollection
in class PrintRendererConfigurator
protected FontCollection getCustomFontCollection(InternalResourceResolver uriResolverWrapper, String mimeType) throws FOPException
PrintRendererConfigurator
getCustomFontCollection
in class PrintRendererConfigurator
uriResolverWrapper
- the resource resolvermimeType
- the renderer MIME typeFOPException
- if an error occursCopyright © 2025 Apache Software Foundation. All rights reserved.