You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@apache.org on 2002/08/14 16:46:41 UTC

cvs commit: xml-fop/src/org/apache/fop/layoutmgr LeafNodeLayoutManager.java

keiron      2002/08/14 07:46:41

  Modified:    src/org/apache/fop/layoutmgr LeafNodeLayoutManager.java
  Log:
  fixed reset, only does it when restarting leaf node
  
  Revision  Changes    Path
  1.9       +5 -2      xml-fop/src/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java
  
  Index: LeafNodeLayoutManager.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- LeafNodeLayoutManager.java	11 Aug 2002 07:31:30 -0000	1.8
  +++ LeafNodeLayoutManager.java	14 Aug 2002 14:46:41 -0000	1.9
  @@ -84,7 +84,10 @@
       }
   
       public void resetPosition(Position resetPos) {
  -        setFinished(false);
  +        // only reset if setting null, start again
  +        if(resetPos == null) {
  +            setFinished(false);
  +        }
       }
   
       public void addAreas(PositionIterator posIter, LayoutContext context) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org