diff options
author | William Victor Mote <vmote@apache.org> | 2003-08-22 05:43:27 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-08-22 05:43:27 +0000 |
commit | aff9b324f9afb93d76ef30c21edcb92c77bee964 (patch) | |
tree | 38bcd231506f41422980d8744e9509aeec9369ac /src/java/org/apache/fop/fo/FOText.java | |
parent | 0b26ea2542e988201f6887eb23399c0fcb350684 (diff) | |
download | xmlgraphics-fop-aff9b324f9afb93d76ef30c21edcb92c77bee964.tar.gz xmlgraphics-fop-aff9b324f9afb93d76ef30c21edcb92c77bee964.zip |
1. remove unused field
2. some checkstyle/javadoc changes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196823 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.java | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/fo/FOText.java b/src/java/org/apache/fop/fo/FOText.java index a7d066cdf..dc7a5829b 100644 --- a/src/java/org/apache/fop/fo/FOText.java +++ b/src/java/org/apache/fop/fo/FOText.java @@ -52,12 +52,8 @@ package org.apache.fop.fo; // Java import java.util.NoSuchElementException; -import java.util.List; // FOP -import org.apache.fop.layout.TextState; -import org.apache.fop.layoutmgr.LayoutManager; -import org.apache.fop.layoutmgr.TextLayoutManager; import org.apache.fop.fo.properties.WhiteSpaceCollapse; import org.apache.fop.fo.flow.Block; import org.apache.fop.fo.pagination.Root; @@ -76,11 +72,21 @@ import org.apache.fop.fo.properties.TextTransform; */ public class FOText extends FObj { + /** + * the character array containing the text + */ public char[] ca; private int start; + + /** + * the length of the character array containing the text + */ public int length; + + /** + * The TextInfo object attached to the text + */ public TextInfo textInfo; - private TextState ts; /** * Keeps track of the last FOText object created within the current @@ -487,6 +493,12 @@ public class FOText extends FObj { } } + /** + * This is a hook for an FOTreeVisitor subclass to be able to access + * this object. + * @param fotv the FOTreeVisitor subclass that can access this object. + * @see org.apache.fop.fo.FOTreeVisitor + */ public void acceptVisitor(FOTreeVisitor fotv) { fotv.serveVisitor(this); } |