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/12/27 15:00:44 UTC

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

keiron      2002/12/27 06:00:44

  Modified:    src/org/apache/fop/layoutmgr/table Row.java
  Log:
  properly check if row finished
  
  Revision  Changes    Path
  1.9       +11 -2     xml-fop/src/org/apache/fop/layoutmgr/table/Row.java
  
  Index: Row.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/layoutmgr/table/Row.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Row.java	29 Nov 2002 23:18:56 -0000	1.8
  +++ Row.java	27 Dec 2002 14:00:44 -0000	1.9
  @@ -200,7 +200,16 @@
   
           MinOptMax rowSize = new MinOptMax(min, opt, max);
   
  -        setFinished(true);
  +        boolean fin = true;
  +        cellcount = 0;
  +        while ((curLM = getCellLM(cellcount++)) != null) {
  +            if (!curLM.isFinished()) {
  +                fin = false;
  +                break;
  +            }
  +        }
  +
  +        setFinished(fin);
           RowPosition rp = new RowPosition(this, breakList.size() - 1, breakList);
           BreakPoss breakPoss = new BreakPoss(rp);
           if (over) {
  
  
  

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