aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/trunk/anttask.xml
diff options
context:
space:
mode:
authorSimon Pepping <spepping@apache.org>2007-01-07 13:19:45 +0000
committerSimon Pepping <spepping@apache.org>2007-01-07 13:19:45 +0000
commitf02d9c1b949d496bd72a840e22d50ae5b3581499 (patch)
tree9044d82390a05aad26c75eb8ba98ddac6f3f7fa5 /src/documentation/content/xdocs/trunk/anttask.xml
parent77dc613c7a01946b183846bafb91e8a37bdebcdc (diff)
downloadxmlgraphics-fop-f02d9c1b949d496bd72a840e22d50ae5b3581499.tar.gz
xmlgraphics-fop-f02d9c1b949d496bd72a840e22d50ae5b3581499.zip
Merging changes from branch fop-0.93 back into trunk, change year 2006
in build.xml into 2007, remove PCL from unsupported output formats in known issues git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@493717 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/trunk/anttask.xml')
-rw-r--r--src/documentation/content/xdocs/trunk/anttask.xml35
1 files changed, 24 insertions, 11 deletions
diff --git a/src/documentation/content/xdocs/trunk/anttask.xml b/src/documentation/content/xdocs/trunk/anttask.xml
index 9831f2c01..44550c3d7 100644
--- a/src/documentation/content/xdocs/trunk/anttask.xml
+++ b/src/documentation/content/xdocs/trunk/anttask.xml
@@ -37,17 +37,19 @@
One method of defining the task is as follows:
</p>
<source><![CDATA[
-<property name="fop.dir" value="....path to your FOP jar files..."/>
+<property name="fop.home" value="....path to your FOP HOME directory..."/>
<taskdef name="fop"
classname="org.apache.fop.tools.anttasks.Fop">
- <classpath>
- <pathelement location="${fop.dir}\fop.jar"/>
- <pathelement location="${fop.dir}\batik.jar"/>
- <pathelement location="${fop.dir}\avalon-framework.jar"/>
- <pathelement location="${fop.dir}\commons-logging.jar"/>
- <pathelement location="${fop.dir}\commons-io.jar"/>
- </classpath>
+ <classpath>
+ <fileset dir="${fop.home}/lib">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="${fop.home}/build">
+ <include name="fop.jar"/>
+ <include name="fop-hyph.jar" />
+ </fileset>
+ </classpath>
</taskdef>
]]></source>
<p>
@@ -74,13 +76,24 @@
<tr>
<td>format</td>
<td>Possible output formats:<br/>
+ <code>application/X-fop-awt-preview</code><br/>
+ <code>application/X-fop-print</code><br/>
+ <code>application/X-fop-areatree</code><br/>
<code>application/pdf</code><br/>
<code>application/postscript</code><br/>
- <code>application/vnd.mif</code><br/>
- <code>application/rtf</code><br/>
+ <code>application/mif</code><br/>
+ <code>application/rtf</code>,
+ <code>text/richtext</code>,
+ <code>text/rtf</code><br/>
+ <code>application/x-pcl</code>,
<code>application/vnd.hp-PCL</code><br/>
+ <code>application/x-afp</code>,
+ <code>application/vnd.ibm.modcap</code><br/>
<code>text/plain</code><br/>
- <code>text/xml</code><br/>
+ <code>image/svg+xml</code><br/>
+ <code>image/gif</code><br/>
+ <code>image/png</code><br/>
+ <code>image/tiff</code><br/>
</td>
<td>No, defaults to <code>application/pdf</code></td>
</tr>