You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Carsten Pfeiffer (JIRA)" <ji...@apache.org> on 2015/08/04 09:05:04 UTC

[jira] [Commented] (FOP-2506) Support reusing FopFactory with different baseURLs

    [ https://issues.apache.org/jira/browse/FOP-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14653176#comment-14653176 ] 

Carsten Pfeiffer commented on FOP-2506:
---------------------------------------

OK, if that is the way to go, I will do this. Thanks!

> Support reusing FopFactory with different baseURLs
> --------------------------------------------------
>
>                 Key: FOP-2506
>                 URL: https://issues.apache.org/jira/browse/FOP-2506
>             Project: FOP
>          Issue Type: Wish
>          Components: unqualified
>    Affects Versions: 2.0
>            Reporter: Carsten Pfeiffer
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)