Page 1 of 1

Can we run fop natively?

Posted: Wed Mar 22, 2006 8:56 am
by JANA
Hi .. I have a doubt..

Can we run fop natively?

Thanaks....
Jana.

Posted: Wed Mar 22, 2006 11:31 am
by sorin_ristache
Hello,

You can configure any FO processor that you can run from the command line as external FO processor in <oXygen/>. This includes any version of Apache FOP. Just create a new entry in the external FO processor list and copy the command that you use in the command line in the area called Command line of the dialog for creating the list entry. For Apache FOP you can end the command line with something like this using <oXygen/> macros:

Code: Select all

-fo ${fo} -${method} ${out}
where ${fo} is the FO input defined in the transformation scenario edit dialog, ${method} is the output format selected in the scenario edit dialog (PDF, PS, txt) and ${out} is the output file name defined in the Save As field of the Output tab of the scenario edit dialog.

Regards,
Sorin