From 10f3613e8766f3db23e3bcd9176fd008336cce91 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 3 Jan 2006 17:35:23 +0000 Subject: 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 --- src/java/org/apache/fop/fo/flow/TableCell.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') 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?) * -- cgit v1.2.3