From 5005ec0436f74b17997bf3fa80f8859d80d5f0d1 Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Sun, 22 Aug 2004 01:56:33 +0000 Subject: [PATCH] Minor edits. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197886 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/apps/CommandLineOptions.java | 14 +++----------- src/java/org/apache/fop/fo/FObjMixed.java | 2 -- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/java/org/apache/fop/apps/CommandLineOptions.java b/src/java/org/apache/fop/apps/CommandLineOptions.java index d2f4cdc57..692de33ab 100644 --- a/src/java/org/apache/fop/apps/CommandLineOptions.java +++ b/src/java/org/apache/fop/apps/CommandLineOptions.java @@ -499,14 +499,6 @@ public class CommandLineOptions implements Constants { return foUserAgent; } - /** - * Returns the input mode (type of input data, ex. NOT_SET or FO_INPUT) - * @return the input mode - */ - public int getInputMode() { - return inputmode; - } - /** * Returns the output mode (output format, ex. NOT_SET or RENDER_PDF) * @return the output mode @@ -556,7 +548,7 @@ public class CommandLineOptions implements Constants { } /** - * Indicates whether the XML renderer should generate course area XML + * Indicates whether the XML renderer should generate coarse area XML * @return true if coarse area XML is desired */ public Boolean isCoarseAreaXml() { @@ -596,8 +588,8 @@ public class CommandLineOptions implements Constants { + " -fo infile xsl:fo input file \n" + " -xml infile xml input file, must be used together with -xsl \n" + " -xsl stylesheet xslt stylesheet \n \n" -/* + " -param name value to use for parameter in xslt stylesheet\n" - + " (repeat '-param name value' for each parameter)\n \n" */ + + " -param name value to use for parameter in xslt stylesheet\n" + + " (repeat '-param name value' for each parameter)\n \n" + " [OUTPUT] \n" + " outfile input will be rendered as pdf file into outfile \n" + " -pdf outfile input will be rendered as pdf file (outfile req'd) \n" diff --git a/src/java/org/apache/fop/fo/FObjMixed.java b/src/java/org/apache/fop/fo/FObjMixed.java index 902bd3457..f513998d7 100644 --- a/src/java/org/apache/fop/fo/FObjMixed.java +++ b/src/java/org/apache/fop/fo/FObjMixed.java @@ -57,9 +57,7 @@ public class FObjMixed extends FObj { FOText ft = new FOText(data, start, length, textInfo, this); ft.setLocation(locator); - /* characters() processing empty for FOTreeHandler, not empty for RTF & MIFHandlers */ getFOInputHandler().characters(ft.ca, ft.startIndex, ft.endIndex); - addChildNode(ft); } -- 2.39.5