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: Running FOP from Java
Date Wed, 04 Jun 2003 15:29:09 GMT
That example works fine for me ... except this little thing :
My own application exits if I close the AWT Viewer which it isn't supposed
to. Is it to possible to change that without having to modify the FOP-lib?

Christoph S.

----- Original Message -----
From: "Jeremias Maerki" <dev.jeremias@greenmail.ch>
To: <fop-user@xml.apache.org>
Sent: Wednesday, May 28, 2003 11:49 AM
Subject: Re: Running FOP from Java


> Oh well, it was so simple. I've added an example showing the AWT Viewer
> to maintenance branch CVS. If you're not into downloading from CVS you
> can find the example here:
>
http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-fop/examples/embedding/java
/embedding/Attic/ExampleAWTViewer.java?rev=1.1.2.1
>
> One caveat: "Reload" doesn't work the way I did it. But it is pretty
> easy to comment out the code for that.
>
> I hope that helps.
>
> On 28.05.2003 09:07:14 Jeremias Maerki wrote:
> > Yeah, that's a deficiency in the documentation right now. May I point
> > you to the class org.apache.fop.apps.AWTStarter.java for the moment? It
> > should give you at least some pointers how this would be done. I'm
> > trying to find some time to come up with an example similar to the
> > Example*2*.java. But that'll take a few days.
> >
> > On 27.05.2003 00:03:17 Christoph Strehl wrote:
> > > 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?
>
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> 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