Discussion:
Images not found!!!
Varra, Mamatha
2010-07-01 09:41:54 UTC
Permalink
Hi All,

we are upgrading the FOP 0.25 to 0.95. We did all the necessary changes to the java code to convert XML to PDF. We modified the xls for empty cells and tested few xsl. The xsls which doesn't have images are printing fine. The ones which have the images are not printing properly i mean we are getting blank space in place of image. We checked the url path where the images are placed in our server..looks fine.

We replaced the fop driver and configuration settings(fop 0.95) with fopFactory and foUserAgent(fop 0.95).

At some place in our code we were using the below statement,
configuration.put("dir", url);

now we replaced the above file with

fopfactory.setBaseURL(url);

i think its causing problem but i am not sure... we are trying to figure out ...

the exact error is "org.apache.fop.fo.flow.ExternalGraphic bind Image not found: images/emptybox.jpg".

can anyone know about this issue ... pls help me.

Thanks,
Mamatha.
Tom Browder
2010-07-16 16:11:26 UTC
Permalink
Post by Varra, Mamatha
Hi All,
...
Post by Varra, Mamatha
can anyone know about this issue ... pls help me.
Did you ever get any help?

-Tom
J.Pietschmann
2010-07-17 15:40:14 UTC
Permalink
Post by Varra, Mamatha
fopfactory.setBaseURL(url);
i think its causing problem but i am not sure... we are trying to figure out ...
Quite likely...
Note that 'url' should be an URL, probably starting with file:/// in
your case.
Post by Varra, Mamatha
the exact error is "org.apache.fop.fo.flow.ExternalGraphic bind Image not found: images/emptybox.jpg".
This looks like either 'url' is actually an empty string or something
else went wrong too.

J.Pietschmann

Continue reading on narkive:
Loading...