aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2006-06-07 11:55:10 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2006-06-07 11:55:10 +0000
commit822ebb71bcd3ac39943d2a27ec726a443bfc88ed (patch)
tree13f931edad8ee4a57a2866b479c9688937c411ab /src/java/org
parentc046ef49bcd7519b816fc1880f97a1fad8db43c9 (diff)
downloadxmlgraphics-fop-822ebb71bcd3ac39943d2a27ec726a443bfc88ed.tar.gz
xmlgraphics-fop-822ebb71bcd3ac39943d2a27ec726a443bfc88ed.zip
See r412224: forgot to move the related code for TableColumn...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412380 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r--src/java/org/apache/fop/fo/flow/Table.java4
-rw-r--r--src/java/org/apache/fop/fo/flow/TableColumn.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Table.java b/src/java/org/apache/fop/fo/flow/Table.java
index 6f2d7f198..164b0f796 100644
--- a/src/java/org/apache/fop/fo/flow/Table.java
+++ b/src/java/org/apache/fop/fo/flow/Table.java
@@ -272,10 +272,6 @@ public class Table extends TableFObj {
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" */
diff --git a/src/java/org/apache/fop/fo/flow/TableColumn.java b/src/java/org/apache/fop/fo/flow/TableColumn.java
index 227bc4e83..d66bff061 100644
--- a/src/java/org/apache/fop/fo/flow/TableColumn.java
+++ b/src/java/org/apache/fop/fo/flow/TableColumn.java
@@ -103,6 +103,10 @@ public class TableColumn extends TableFObj {
* @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);
}