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 2002/02/15 22:53:09 UTC

Re: Using Fop Within An Application (AWTStarter with some changes)

Hello, Jim!
You wrote to "FOP Dev" <fo...@xml.apache.org> on Fri, 15 Feb 2002 14:15:13 -0600:

 JU> I am trying to use FOP within my application to process and display
 JU> (in AWT mode) a FO I create by processing records from a database. 
 JU> I get to the point where I have a String object containing the FO
 JU> but I can't seem to get

You know some times ago I did have same problem.
And I did some changes in AWTStarter class. I attach this file.
Also I am using small library to convert SQL Query to XML file.
Seems working fine.

How to use:

    AWTStarter awt = new AWTStarter();
    awt.run(new File("xml"), new File("xsl"));

This starter working with FOP. You shouldn't make any changes in FOP.

2 Developers:
If I did brake any License agreements please let me know.
I just want to help.

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

RE: Using Fop Within An Application (AWTStarter with some changes)

Posted by Jim Urban <ji...@netsteps.net>.
>     awt.run(new File("xml"), new File("xsl"));
This line presents a problem for me.  I no have files.  All I have is a
String containing the FO which I received from a call to the server.  Tthe
server runs xml data retrieved from a database through xslt and returns the
output FO to the client for displaying.  I need to process the string
containing the FO and display the results in a window.

Jim

> -----Original Message-----
> From: IvanLatysh [mailto:ivan@yourmail.com]
> Sent: Friday, February 15, 2002 3:53 PM
> To: fop-dev@xml.apache.org
> Subject: Re: Using Fop Within An Application (AWTStarter with some
> changes)
>
>
> Hello, Jim!
> You wrote to "FOP Dev" <fo...@xml.apache.org> on Fri, 15 Feb
> 2002 14:15:13 -0600:
>
>  JU> I am trying to use FOP within my application to process and display
>  JU> (in AWT mode) a FO I create by processing records from a database.
>  JU> I get to the point where I have a String object containing the FO
>  JU> but I can't seem to get
>
> You know some times ago I did have same problem.
> And I did some changes in AWTStarter class. I attach this file.
> Also I am using small library to convert SQL Query to XML file.
> Seems working fine.
>
> How to use:
>
>     AWTStarter awt = new AWTStarter();
>     awt.run(new File("xml"), new File("xsl"));
>
> This starter working with FOP. You shouldn't make any changes in FOP.
>
> 2 Developers:
> If I did brake any License agreements please let me know.
> I just want to help.
>
> ---
> 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