Hi,
thanks for the hint. I forgot the "file:///".
It works now with:
userAgent.setBaseURL("file:///" + pathString);
But what are the 3 slashes for in "file:///"? Is this necessary? Will this work
on Unix-machines?
Cheers
Jonny
-------- Original-Nachricht --------
Datum: Wed, 23 Aug 2006 15:51:26 +0200
Von: Andreas L Delmelle <[EMAIL PROTECTED]>
An: [email protected]
Betreff: Re: [0.92beta] foUserAgent.setBaseURL - Problem with external-graphics
> On Aug 23, 2006, at 13:27, Johannes Becker wrote:
>
> Hi,
>
> <snip />
> > As far as I understood I can do this in 0.92beta with the foUserAgent:
> > foUserAgent.setBaseURL(pathString);
>
> Sounds right. If this is surrounded by code that resembles the
> description given on the embedding page, that is...
> http://xmlgraphics.apache.org/fop/0.92/embedding.html#user-agent
>
> > Now images aren't emmbedded in my pdf as they used to, using this:
> > <fo:external-graphic src="logo.jpg" width="10mm" height="10mm" />
> >
> > What am I missing here?
> > - baseURL != baseDir ?
> > - ???
>
> No idea, but there should be error messages appearing in the log, and
> those will indicate what the expanded absolute URI of the missing
> image is. Maybe there's a hint in there somewhere?
>
>
> HTH!
>
> Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]