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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]