Created attachment 25367 [details] FOP ant task patch for intermediate format file allowed as input files The current FOP ant task only allows xsl:fo input files to transfer into different output formats. This patch updates the current FOP ant task and provides the intermediate format file processing with the FOP ant task. I have made the following changes in order to achieve this: 1. Introduced 'iffile' attribute to accept the intermediate format file as input in FOP ant task. 2. Introduced 'inputformat' attribute (optional, defaults to 'fo') to accept the below formats --> fo (xsl:fo input file) --> if (intermediate format file) --> at (area tree input file) --> xml 3. Renamed the current 'format' attribute to 'outputformat' 4. Updated the corresponding documenation 'content/xdocs/anttasks.xml' for the examples and usage. Usage: <target name="generate-ps-from-intermediate-format" description="Generates PostScript file using an intermediate format file"> <fop outputformat="application/postscript" iffile="c:\working\ifDirectory\ifDocument.if" outfile="c:\working\psDirectory\psDocument.ps" /> </target> <target name="generate-multiple-ps-from-intermediate-format" description="Generates multiple PostScript files using an intermediate format files"> <fop outputformat="application/postscript" inputformat="if" outdir="${build.dir}" messagelevel="debug"> <fileset dir="${test.dir}"> <include name="*.if.xml"/> </fileset> </fop> </target> Please find the patch attached to this bug...
Please find more details about the FOP ant task using the following URL: http://xmlgraphics.apache.org/fop/trunk/anttask.html
Created attachment 25368 [details] FOP ant task patch for intermediate format file allowed as input files Please find the latest attachment
resetting P2 open bugs to P3 pending further review
increase priority for bugs with a patch