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