aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/TableCell.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/fo/flow/TableCell.java')
-rw-r--r--src/org/apache/fop/fo/flow/TableCell.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/org/apache/fop/fo/flow/TableCell.java b/src/org/apache/fop/fo/flow/TableCell.java
index 5fe6caad1..80e0ccad6 100644
--- a/src/org/apache/fop/fo/flow/TableCell.java
+++ b/src/org/apache/fop/fo/flow/TableCell.java
@@ -1,6 +1,6 @@
/*
- * -- $Id$ --
- * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
+ * $Id$
+ * Copyright (C) 2001-2002 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
*/
@@ -188,8 +188,9 @@ public class TableCell extends FObj {
// Depends on all cells starting in row
bRelativeAlign = true;
verticalAlign = this.properties.get("relative-align").getEnum();
- } else
+ } else {
bRelativeAlign = false; // Align on a per-cell basis
+ }
this.minCellHeight =
this.properties.get("height").getLength().mvalue();
@@ -227,7 +228,7 @@ public class TableCell extends FObj {
this.beforeOffset = m_borderSeparation / 2
+ bp.getBorderTopWidth(false)
+ bp.getPaddingTop(false);
- // bp.getBorderBeforeWidth(false) + bp.getPaddingBefore(false);
+ // bp.getBorderBeforeWidth(false) + bp.getPaddingBefore(false);
} else {
// System.err.println("Collapse borders");
@@ -295,5 +296,5 @@ public class TableCell extends FObj {
}
}
-
}
+