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 ad...@apache.org on 2006/06/07 13:55:11 UTC

svn commit: r412380 - in /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow: Table.java TableColumn.java

Author: adelmelle
Date: Wed Jun  7 04:55:10 2006
New Revision: 412380

URL: http://svn.apache.org/viewvc?rev=412380&view=rev
Log:
See r412224: forgot to move the related code for TableColumn...

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Table.java
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/TableColumn.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Table.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Table.java?rev=412380&r1=412379&r2=412380&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Table.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Table.java Wed Jun  7 04:55:10 2006
@@ -272,10 +272,6 @@
                 columns.add(col);
             }
         }
-        //flag column indices used by this column
-        int startIndex = colNumber - 1;
-        int endIndex = startIndex + colRepeat;
-        flagColumnIndices(startIndex, endIndex);
     }
 
     /** @return true of table-layout="auto" */

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/TableColumn.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/TableColumn.java?rev=412380&r1=412379&r2=412380&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/TableColumn.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/TableColumn.java Wed Jun  7 04:55:10 2006
@@ -103,6 +103,10 @@
      * @see org.apache.fop.fo.FONode#endOfNode
      */
     protected void endOfNode() throws FOPException {
+        //flag column indices used by this column
+        int startIndex = getColumnNumber() - 1;
+        int endIndex = startIndex + getNumberColumnsRepeated();
+        getTable().flagColumnIndices(startIndex, endIndex);
         getFOEventHandler().endColumn(this);
     }
 



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