xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Strehl" <christoph.str...@epost.de>
Subject Re: Re: Running FOP from Java
Date Mon, 26 May 2003 22:03:17 GMT
The examples at
http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/
show how to transform a FO-file to pdf, objects to xml, xml to FO/PDF and so
on but that doesn't help me to make use of the AWT print preview dialog of
FOP. I need to access this dialog properly from my own Java Gui, I don't
have problem converting my xml via xsl to FO.

Any ideas?

Christoph S.

----- Original Message -----
From: "J.Pietschmann" <j3322ptm@yahoo.de>
To: <fop-user@xml.apache.org>
Sent: Monday, May 26, 2003 11:09 PM
Subject: Re: Running FOP from Java


> Christoph Strehl wrote:
> > I am using FOP do print the content of my Java application.
> ...
> > public class FOPStarter extends Thread
> > {
> ...
> >     public void run()
> >     {
> >         org.apache.fop.apps.Fop.main(args);
>
> You should never call Fop.main directly. Use the AWT or print
> renderer directly, the same way the examples mentioned at
>   http://xml.apache.org/fop/embedding.html#examples
> do it. The actual code is here
>
http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/
>
> There may still be issues, if you can track them down and
> post a more detailed analysis to the list, we'll be grateful.
>
> J.Pietschmann
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message