Java Mailing List Archive

http://www.java2.5341.com/

Home » fop-users.xmlgraphics »

help using fop-pdf-images plug-in in an embedded fop

Dietrich Streifert

2012-06-05

Replies: Find Java Web Hosting

Author LoginPost Reply

Hello everybody!

I'm currently trying to enhance an XML-RPC-java server with an embedded fop,
similar implemented like here:

http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleFO2PDF.java?view=markup

(Referenced from here: http://xmlgraphics.apache.org/fop/1.0/embedding.html)

I've tried adding fop-pdf-images-2.0.0.jar to the classpath of the
XML-RPC-java-server but this does not work.

I suspect that the fop plugin auto discover mechanism using the files in
META-INF/services/org.apache.fop.render.ImageHandler only works if fop is
run via commandline (eg. FOP.main) but not if fop is embedded within another
process.

Has anybody managed to get the fop-pdf-images plugin (
http://www.jeremias-maerki.ch/download/fop/pdf-images/ ) working within an
embedded environment?

Thank you for your help.

Regards
Dietrich




--
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@(protected)
For additional commands, e-mail: fop-users-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.