xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr/table TableContentLayoutManager.java
Date Tue, 17 May 2005 10:06:29 GMT
jeremias    2005/05/17 03:06:29

  Modified:    src/java/org/apache/fop/layoutmgr/table
                        TableContentLayoutManager.java
  Log:
  Bugfix: When a grid unit is incomplete at the page break, it is not rendered on the first
page.
  Reported By: Simon Pepping
  
  Revision  Changes    Path
  1.4       +3 -3      xml-fop/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
  
  Index: TableContentLayoutManager.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TableContentLayoutManager.java	17 May 2005 09:10:40 -0000	1.3
  +++ TableContentLayoutManager.java	17 May 2005 10:06:29 -0000	1.4
  @@ -676,8 +676,8 @@
               for (int i = 0; i < gridUnits.length; i++) {
                   GridUnit currentGU = lastRow.safelyGetGridUnit(i);
                   if ((gridUnits[i] != null) 
  -                        && (forcedFlush || (end[i] == gridUnits[i].getElements().size()
- 1))
  -                        && (currentGU == null || currentGU.isLastGridUnitRowSpan()))
{
  +                        && (forcedFlush || ((end[i] == gridUnits[i].getElements().size()
- 1))
  +                                && (currentGU == null || currentGU.isLastGridUnitRowSpan())))
{
                       //the last line in the "if" above is to avoid a premature end of an

                       //row-spanned cell because no GridUnitParts are generated after a cell
is
                       //finished with its content. currentGU can be null if there's no grid
unit
  
  
  

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


Mime
View raw message