public class PCLRendererConfigurator extends PrintRendererConfigurator
userAgent
Constructor and Description |
---|
PCLRendererConfigurator(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 |
createCollectionFromFontList(InternalResourceResolver resourceResolver,
java.util.List<EmbedFontInfo> fontList)
Creates the font collection given a list of embedded font infomation.
|
protected java.util.List<FontCollection> |
getDefaultFontCollection() |
configure, createDefaultInstance, getCustomFontCollection, getRendererConfig, getRendererConfig, getRendererConfig, setupFontInfo
getType
public PCLRendererConfigurator(FOUserAgent userAgent, RendererConfig.RendererConfigParser rendererConfigParser)
userAgent
- user agentpublic void configure(IFDocumentHandler documentHandler) throws FOPException
configure
in interface IFDocumentHandlerConfigurator
configure
in class PrintRendererConfigurator
documentHandler
- the document handler instanceFOPException
- if an error occurs while configuring the objectprotected java.util.List<FontCollection> getDefaultFontCollection()
getDefaultFontCollection
in class PrintRendererConfigurator
protected FontCollection createCollectionFromFontList(InternalResourceResolver resourceResolver, java.util.List<EmbedFontInfo> fontList)
PrintRendererConfigurator
createCollectionFromFontList
in class PrintRendererConfigurator
resourceResolver
- the resource resolverfontList
- the embedded font infomationCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.