Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2506

Support reusing FopFactory with different baseURLs

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.0
    • None
    • unqualified
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            carsten.pfeiffer Carsten Pfeiffer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: