aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--STATUS2
-rw-r--r--src/org/apache/fop/fo/flow/Table.java5
-rw-r--r--src/org/apache/fop/fo/flow/TableCell.java5
-rw-r--r--src/org/apache/fop/fo/flow/TableRow.java6
4 files changed, 14 insertions, 4 deletions
diff --git a/STATUS b/STATUS
index 470d66694..e12212087 100644
--- a/STATUS
+++ b/STATUS
@@ -9,7 +9,7 @@ Get images working
[PARTIAL] Incorporate Arved Sandstrom's simple-link implementation
Switch to using Status object as return from layout()
Implement basic keeps
-Incorporate Eric Schaeffer's fix to tables in static-content
+[DONE]Incorporate Eric Schaeffer's fix to tables in static-content
[DONE] Incorporate Kelly Campell's fixes to GifJpegImage
Other Bugs to fix:
diff --git a/src/org/apache/fop/fo/flow/Table.java b/src/org/apache/fop/fo/flow/Table.java
index eff120aa5..a41c938e6 100644
--- a/src/org/apache/fop/fo/flow/Table.java
+++ b/src/org/apache/fop/fo/flow/Table.java
@@ -22,7 +22,7 @@
Alternately, this acknowledgment may appear in the software itself, if
and wherever such third-party acknowledgments normally appear.
- 4. The names "Fop" and "Apache Software Foundation" must not be used to
+ 4. The names "FOP" and "Apache Software Foundation" must not be used to
endorse or promote products derived from this software without prior
written permission. For written permission, please contact
apache@apache.org.
@@ -153,6 +153,9 @@ public class Table extends FObj {
blockArea.setPage(area.getPage());
blockArea.start();
+ // added by Eric Shaeffer
+ currentColumnNumber = 0;
+
int numChildren = this.children.size();
for (int i = this.marker; i < numChildren; i++) {
FONode fo = (FONode) children.elementAt(i);
diff --git a/src/org/apache/fop/fo/flow/TableCell.java b/src/org/apache/fop/fo/flow/TableCell.java
index 5abe8c578..f3bc0c063 100644
--- a/src/org/apache/fop/fo/flow/TableCell.java
+++ b/src/org/apache/fop/fo/flow/TableCell.java
@@ -22,7 +22,7 @@
Alternately, this acknowledgment may appear in the software itself, if
and wherever such third-party acknowledgments normally appear.
- 4. The names "Fop" and "Apache Software Foundation" must not be used to
+ 4. The names "FOP" and "Apache Software Foundation" must not be used to
endorse or promote products derived from this software without prior
written permission. For written permission, please contact
apache@apache.org.
@@ -142,6 +142,9 @@ public class TableCell extends FObj {
blockArea.setPage(area.getPage());
blockArea.start();
+ // added by Eric Shaeffer
+ height = 0;
+
int numChildren = this.children.size();
for (int i = this.marker; i < numChildren; i++) {
FObj fo = (FObj) children.elementAt(i);
diff --git a/src/org/apache/fop/fo/flow/TableRow.java b/src/org/apache/fop/fo/flow/TableRow.java
index 9578f0ea3..8f4549345 100644
--- a/src/org/apache/fop/fo/flow/TableRow.java
+++ b/src/org/apache/fop/fo/flow/TableRow.java
@@ -22,7 +22,7 @@
Alternately, this acknowledgment may appear in the software itself, if
and wherever such third-party acknowledgments normally appear.
- 4. The names "Fop" and "Apache Software Foundation" must not be used to
+ 4. The names "FOP" and "Apache Software Foundation" must not be used to
endorse or promote products derived from this software without prior
written permission. For written permission, please contact
apache@apache.org.
@@ -148,6 +148,10 @@ public class TableRow extends FObj {
return OK;
}
+ // added by Eric Schaeffer
+ widthOfCellsSoFar = 0;
+ largestCellHeight = 0;
+
for (int i = this.marker; i < numChildren; i++) {
TableCell cell = (TableCell) children.elementAt(i);