Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
2.0
-
None
-
None
Description
With FOP prior to 2.0 it was possible to set the baseURL used for resolving resources at the user agent. This allowed reusing a single FopFactory for Fop instances with different baseURLs.
Since 2.0 FOUserAgent.setBaseURL() is not availabe anymore and it is not possible to dynamically specify the baseURL for a Fop instance.
Our use case is a single user rich client document management application with a PDF export. Resuing the FopFactory is desirable in order not to parse the configuration all the time, looking up fonts, etc.
That's why I'd love to get the possibility back to dynamically specify the base URL without having to re-do all the configuration and initialization.