vmote       2003/08/21 22:43:27

  Modified:    src/java/org/apache/fop/fo FOText.java
  Log:
  1. remove unused field
  2. some checkstyle/javadoc changes
  
  Revision  Changes    Path
  1.9       +17 -5     xml-fop/src/java/org/apache/fop/fo/FOText.java
  
  Index: FOText.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/FOText.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- FOText.java       19 Aug 2003 00:53:52 -0000      1.8
  +++ FOText.java       22 Aug 2003 05:43:27 -0000      1.9
  @@ -52,12 +52,8 @@
   
   // 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 @@
    */
   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 @@
           }
       }
   
  +    /**
  +     * 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);
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to