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 Vincent Hennebert <vi...@anyware-tech.com> on 2008/01/02 12:09:46 UTC
Re: svn commit: r607261 - in /xmlgraphics/fop/branches/Temp_ImagePackageRedesign/src/java/org/apache/fop/cli:
AreaTreeInputHandler.java CommandLineOptions.java ImageInputHandler.java
InputHandler.java image2fo.xsl
Hi Jeremias,
> Author: jeremias
> Date: Fri Dec 28 07:11:56 2007
> New Revision: 607261
>
> Modified:
> xmlgraphics/fop/branches/Temp_ImagePackageRedesign/src/java/org/apache/fop/cli/CommandLineOptions.java
> @@ -768,6 +783,20 @@
> + areatreefile.getAbsolutePath()
> + " not found ");
> }
> + } else if (inputmode == IMAGE_INPUT) {
> + if (outputmode.equals(MimeConstants.MIME_XSL_FO)) {
> + throw new FOPException(
> + "FO output mode is only available if you use -xml and -xsl");
> + }
> + if (xmlfile != null) {
> + log.warn("area tree input mode, but XML file is set:");
^^^^^^^^^^^^^^^^^^^^
Copy-paste error? Only had a quick look, but this should probably be
replaced with “image input mode”?
Vincent
--
Vincent Hennebert Anyware Technologies
http://people.apache.org/~vhennebert http://www.anyware-tech.com
Apache FOP Committer FOP Development/Consulting