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

Support reusing FopFactory with different baseURLs

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: unqualified
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: