aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2007-11-06 11:59:16 +0000
committerVincent Hennebert <vhennebert@apache.org>2007-11-06 11:59:16 +0000
commite56a36b50a110d4fa5e23e5fe08e79a0d20afc69 (patch)
treeef42df2363981950462c80da772f39f22853e632 /src/java/org/apache/fop/fo/flow
parent49e9fd8b05cff96cb7ecb01131342e537d3cf801 (diff)
downloadxmlgraphics-fop-e56a36b50a110d4fa5e23e5fe08e79a0d20afc69.tar.gz
xmlgraphics-fop-e56a36b50a110d4fa5e23e5fe08e79a0d20afc69.zip
Now that there is a dedicated package for tables, the PendingSpan class can be extracted into a top-level class.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592395 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow')
-rw-r--r--src/java/org/apache/fop/fo/flow/table/ColumnNumberManager.java1
-rw-r--r--src/java/org/apache/fop/fo/flow/table/PendingSpan.java40
-rw-r--r--src/java/org/apache/fop/fo/flow/table/TableCellContainer.java23
3 files changed, 40 insertions, 24 deletions
diff --git a/src/java/org/apache/fop/fo/flow/table/ColumnNumberManager.java b/src/java/org/apache/fop/fo/flow/table/ColumnNumberManager.java
index 54830e318..9fbe415d8 100644
--- a/src/java/org/apache/fop/fo/flow/table/ColumnNumberManager.java
+++ b/src/java/org/apache/fop/fo/flow/table/ColumnNumberManager.java
@@ -22,7 +22,6 @@ package org.apache.fop.fo.flow.table;
import java.util.BitSet;
import java.util.List;
-import org.apache.fop.fo.flow.table.TableCellContainer.PendingSpan;
/**
diff --git a/src/java/org/apache/fop/fo/flow/table/PendingSpan.java b/src/java/org/apache/fop/fo/flow/table/PendingSpan.java
new file mode 100644
index 000000000..7d1b9c133
--- /dev/null
+++ b/src/java/org/apache/fop/fo/flow/table/PendingSpan.java
@@ -0,0 +1,40 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* $Id$ */
+
+package org.apache.fop.fo.flow.table;
+
+/**
+ * Used for determining initial values for column-numbers in case of row-spanning cells.
+ */
+class PendingSpan {
+
+ /**
+ * member variable holding the number of rows left
+ */
+ int rowsLeft;
+
+ /**
+ * Constructor
+ *
+ * @param rows number of rows spanned
+ */
+ public PendingSpan(int rows) {
+ rowsLeft = rows;
+ }
+} \ No newline at end of file
diff --git a/src/java/org/apache/fop/fo/flow/table/TableCellContainer.java b/src/java/org/apache/fop/fo/flow/table/TableCellContainer.java
index 97de855b2..ebb066c5c 100644
--- a/src/java/org/apache/fop/fo/flow/table/TableCellContainer.java
+++ b/src/java/org/apache/fop/fo/flow/table/TableCellContainer.java
@@ -31,29 +31,6 @@ import org.apache.fop.fo.ValidationException;
*/
public abstract class TableCellContainer extends TableFObj implements ColumnNumberManagerHolder {
- /**
- * Used for determining initial values for column-numbers
- * in case of row-spanning cells
- * (for clarity)
- *
- */
- static class PendingSpan {
-
- /**
- * member variable holding the number of rows left
- */
- protected int rowsLeft;
-
- /**
- * Constructor
- *
- * @param rows number of rows spanned
- */
- public PendingSpan(int rows) {
- rowsLeft = rows;
- }
- }
-
protected List pendingSpans;
protected ColumnNumberManager columnNumberManager;