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

2015-08-04 Thread Carsten Pfeiffer (JIRA)

[ 
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)


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

2015-07-30 Thread simon steiner (JIRA)

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

simon steiner commented on FOP-2506:


What about using custom resource resolver to do it.

> 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)