You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by IvanLatysh <iv...@yourmail.com> on 2001/12/10 20:43:06 UTC

Anyone could help with PRINT or AWT PREVIEW ?

Anyone using FOP with application ?
Please help.
I have got problem with showing AWT preview.

Sincerely yours, Ivan Latysh.
Ivan@yourmail.com
http://ivan.yourmail.com


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


Re: Anyone could help with PRINT or AWT PREVIEW ?

Posted by IvanLatysh <iv...@yourmail.com>.
Hello, Alistair!
You wrote to <fo...@xml.apache.org> on Tue, 11 Dec 2001 09:26:51 -0000:

 AH> I posted a set of classes a while back which are a (still broken)
 AH> rewrite of the AWTViewer, designed to give a simple interface to FOP
 AH> from a gui app: it returns the preview window as a JPanel so you can
 AH> stick it wherever you want in your app (JFrame, JInternalFrame,
 AH> JCombo, whatever...), and also allows you to print() and save()
 AH> direct either from the app or from the preview
 AH> JPanel.

 AH> There's a demo class in the zip file which should explain pretty
 AH> well how to use it.
I have FOP 0.20.2 And I couldn't find any zip files in.
Also I have download FOP 0.20.1 and there are no any zip files with examples

 AH> Be aware: the print() method is still broken, and you'll need FOP
 AH> 0.20.1

If it's possible please send me this files thru eMail.
Now I am doing this way:
            options = new CommandLineOptions(new String[]{"-xsl",
"somefile.xsl","-xml","somefile.xml","-awt"});
            Starter starter = options.getStarter();
            starter.run();
But it's shame :-(

---
Yours sincerely, Ivan Latysh.
Ivan@yourmail.com
http://ivan.yourmail.com


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


RE: Anyone could help with PRINT or AWT PREVIEW ?

Posted by Alistair Hopkins <al...@berthengron.co.uk>.
I posted a set of classes a while back which are a (still broken) rewrite of
the AWTViewer, designed to give a simple interface to FOP from a gui app: it
returns the preview window as a JPanel so you can stick it wherever you want
in your app (JFrame, JInternalFrame, JCombo, whatever...), and also allows
you to print() and save() direct either from the app or from the preview
JPanel.

There's a demo class in the zip file which should explain pretty well how to
use it.

Be aware: the print() method is still broken, and you'll need FOP 0.20.1

-----Original Message-----
From: IvanLatysh [mailto:ivan@yourmail.com]
Sent: Monday, December 10, 2001 7:43 PM
To: fop-dev@xml.apache.org
Subject: Anyone could help with PRINT or AWT PREVIEW ?



Anyone using FOP with application ?
Please help.
I have got problem with showing AWT preview.

Sincerely yours, Ivan Latysh.
Ivan@yourmail.com
http://ivan.yourmail.com


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