aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/table/Table.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/table/Table.java')
-rw-r--r--src/java/org/apache/fop/fo/flow/table/Table.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/java/org/apache/fop/fo/flow/table/Table.java b/src/java/org/apache/fop/fo/flow/table/Table.java
index 69d5fbb9d..5b96a668e 100644
--- a/src/java/org/apache/fop/fo/flow/table/Table.java
+++ b/src/java/org/apache/fop/fo/flow/table/Table.java
@@ -265,7 +265,7 @@ public class Table extends TableFObj implements ColumnNumberManagerHolder {
case FO_TABLE_HEADER:
case FO_TABLE_FOOTER:
case FO_TABLE_BODY:
- if (!columnsFinalized) {
+ if (!inMarker() && !columnsFinalized) {
columnsFinalized = true;
if (hasExplicitColumns) {
finalizeColumns();
@@ -291,14 +291,6 @@ public class Table extends TableFObj implements ColumnNumberManagerHolder {
}
}
- /** {@inheritDoc} */
- protected void setCollapsedBorders() {
- createBorder(CommonBorderPaddingBackground.START);
- createBorder(CommonBorderPaddingBackground.END);
- createBorder(CommonBorderPaddingBackground.BEFORE);
- createBorder(CommonBorderPaddingBackground.AFTER);
- }
-
private void finalizeColumns() throws FOPException {
for (int i = 0; i < columns.size(); i++) {
if (columns.get(i) == null) {