aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/FOText.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-01-26 14:54:52 +0000
committerJeremias Maerki <jeremias@apache.org>2005-01-26 14:54:52 +0000
commit91f5d7491ddce2454e1ed224c1ab23564d59bd36 (patch)
tree5ce36c4584797f28d2f914732060d4c993c46c94 /src/java/org/apache/fop/fo/FOText.java
parentc73abffc69a7397a18bb2f96b78a0061e5b5b8b6 (diff)
downloadxmlgraphics-fop-91f5d7491ddce2454e1ed224c1ab23564d59bd36.tar.gz
xmlgraphics-fop-91f5d7491ddce2454e1ed224c1ab23564d59bd36.zip
toString() work
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198320 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/FOText.java')
-rw-r--r--src/java/org/apache/fop/fo/FOText.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/FOText.java b/src/java/org/apache/fop/fo/FOText.java
index 793a7b8bd..0beca3791 100644
--- a/src/java/org/apache/fop/fo/FOText.java
+++ b/src/java/org/apache/fop/fo/FOText.java
@@ -19,7 +19,6 @@
package org.apache.fop.fo;
// Java
-import java.util.List;
import java.util.NoSuchElementException;
// FOP
@@ -32,7 +31,6 @@ import org.apache.fop.fo.properties.CommonHyphenation;
import org.apache.fop.fo.properties.CommonTextDecoration;
import org.apache.fop.fo.properties.Property;
import org.apache.fop.fo.properties.SpaceProperty;
-import org.apache.fop.layoutmgr.TextLayoutManager;
/**
* A text node (PCDATA) in the formatting object tree.
@@ -577,5 +575,11 @@ public class FOText extends FONode {
public CommonTextDecoration getTextDecoration() {
return textDecoration;
}
+
+ public String toString() {
+ StringBuffer sb = new StringBuffer(super.toString());
+ sb.append(" (").append(ca).append(")");
+ return sb.toString();
+ }
} \ No newline at end of file