jeremias    2005/05/30 01:38:50

  Modified:    src/java/org/apache/fop/layoutmgr/table
                        TableRowIterator.java
  Log:
  Bugfix: LAST_IN_BODY wasn't set on the GridUnits of a row that wasn't the 
last in a table, i.e. when there are multiple bodies.
  
  Revision  Changes    Path
  1.5       +5 -1      
xml-fop/src/java/org/apache/fop/layoutmgr/table/TableRowIterator.java
  
  Index: TableRowIterator.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/table/TableRowIterator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TableRowIterator.java     26 May 2005 17:13:25 -0000      1.4
  +++ TableRowIterator.java     30 May 2005 08:38:50 -0000      1.5
  @@ -222,6 +222,10 @@
               if (!childInBodyIterator.hasNext()) {
                   //force skip on to next body
                   childInBodyIterator = null;
  +                if (rows.size() > 0) {
  +                    getCachedRow(rows.size() - 1).setFlagForAllGridUnits(
  +                            GridUnit.LAST_IN_BODY, true);
  +                }
               }
           }
           if (childInBodyIterator == null) {
  
  
  

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

Reply via email to