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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to