aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2006-01-03 17:35:23 +0000
committerJeremias Maerki <jeremias@apache.org>2006-01-03 17:35:23 +0000
commit10f3613e8766f3db23e3bcd9176fd008336cce91 (patch)
tree28a0a6536f641b9c3db8d9bbc242c5a60d2cadef /src
parenta285ce821368fef79e044fa99f64dc5b163d56b3 (diff)
downloadxmlgraphics-fop-10f3613e8766f3db23e3bcd9176fd008336cce91.tar.gz
xmlgraphics-fop-10f3613e8766f3db23e3bcd9176fd008336cce91.zip
Bugfix: TableCell did not properly report that it generates reference-areas which could lead to wrong inherited values for start-indent and end-indent.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365689 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/fo/flow/TableCell.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/flow/TableCell.java b/src/java/org/apache/fop/fo/flow/TableCell.java
index 5c20982bb..e11564a32 100644
--- a/src/java/org/apache/fop/fo/flow/TableCell.java
+++ b/src/java/org/apache/fop/fo/flow/TableCell.java
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2005 The Apache Software Foundation.
+ * Copyright 1999-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,6 @@ import org.apache.fop.apps.FOPException;
import org.apache.fop.datatypes.Length;
import org.apache.fop.datatypes.Numeric;
import org.apache.fop.fo.FONode;
-import org.apache.fop.fo.FObj;
import org.apache.fop.fo.PropertyList;
import org.apache.fop.fo.ValidationException;
import org.apache.fop.fo.properties.CommonAccessibility;
@@ -201,6 +200,11 @@ public class TableCell extends TableFObj {
}
}
+ /** @see org.apache.fop.fo.FObj#generatesReferenceAreas() */
+ public boolean generatesReferenceAreas() {
+ return true;
+ }
+
/**
* Set position relative to table (set by body?)
*