Hi,

Yes, the images are referenced from the XSL file I'm applying to XML before
going to the FOP processor to get me the PDF.
So it would be nice to have a hook, especially since you made it possible
with the userConfigURL option (http://camel.apache.org/fop.html) to be
loaded from the classpath (and it's working!)

Thank you for your answer!
Laurentiu

On Sat, May 9, 2015 at 9:52 AM, Claus Ibsen <[email protected]> wrote:

> Hi
>
> Is those images referred to from the xml source for the pdf file? Or
> how do you tell in the pdf where and which  images to include?
>
> And if there is I wonder if camel-fop or apache fop has some api to
> add some uri resolver or something so we can hook in and load those
> images from the classpath. Camel has a ClassResolver API that can load
> from classpath.
>
>
> On Thu, May 7, 2015 at 4:51 PM, Laurentiu Trica
> <[email protected]> wrote:
> > Hello,
> >
> > I need to produce some PDF files with images. Is there a way to get the
> > images from the classpath?
> >
> > I am using Camel from ServiceMix and I deploy my route using jars that
> > already contain the images I need.
> >
> > How can I get make camel-fop to get the images from my jar and not from a
> > relative/absolute path?
> >
> > Thank you!
> >
> > Regards,
> > Laurentiu
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: [email protected]
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> hawtio: http://hawt.io/
> fabric8: http://fabric8.io/
>

Reply via email to