FOUserAgentFactory

An adapter class that is necessary as Apache FOP does not allow for a ResourceResolver to get specified per Fop instance in its public API. This is required in Laika's PDF support as the URIs get resolved relative to all source paths of the markup parsers, which can vary between invocations.

class Object
trait Matchable
class Any

Value members

Concrete methods

def createFOUserAgent(fopFactory: FopFactory, resourceResolver: ResourceResolver): FOUserAgent

Creates a new FOUserAgent with the specified factory and resolver.

Creates a new FOUserAgent with the specified factory and resolver.

Value parameters:
fopFactory

the factory the new user agent should use

resourceResolver

a custom resource resolver for the new user agent