You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pi...@apache.org on 2002/07/20 14:58:48 UTC
cvs commit: xml-fop/src/org/apache/fop/fo/flow TableBody.java TableFooter.java TableHeader.java
pietsch 2002/07/20 05:58:48
Modified: src/org/apache/fop/fo/flow Tag: fop-0_20_2-maintain
TableBody.java TableFooter.java TableHeader.java
Log:
Small corrections for the validity checking patch.
Revision Changes Path
No revision
No revision
1.38.2.4 +3 -2 xml-fop/src/org/apache/fop/fo/flow/TableBody.java
Index: TableBody.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/TableBody.java,v
retrieving revision 1.38.2.3
retrieving revision 1.38.2.4
diff -u -r1.38.2.3 -r1.38.2.4
--- TableBody.java 20 Jul 2002 12:50:00 -0000 1.38.2.3
+++ TableBody.java 20 Jul 2002 12:58:48 -0000 1.38.2.4
@@ -32,7 +32,8 @@
return new TableBody.Maker();
}
- public TableBody(FObj parent, PropertyList propertyList) {
+ public TableBody(FObj parent, PropertyList propertyList)
+ throws FOPException {
super(parent, propertyList);
this.name = "fo:table-body";
}
1.3.2.1 +12 -11 xml-fop/src/org/apache/fop/fo/flow/TableFooter.java
Index: TableFooter.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/TableFooter.java,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -r1.3 -r1.3.2.1
--- TableFooter.java 30 Jul 2001 20:29:23 -0000 1.3
+++ TableFooter.java 20 Jul 2002 12:58:48 -0000 1.3.2.1
@@ -18,7 +18,7 @@
import java.util.Vector;
import java.util.Enumeration;
-public class TableFooter extends TableBody {
+public class TableFooter extends AbstractTableBody {
public static class Maker extends FObj.Maker {
public FObj make(FObj parent,
@@ -28,21 +28,22 @@
}
- public int getYPosition() {
- return areaContainer.getCurrentYPosition() - spaceBefore;
- }
-
- public void setYPosition(int value) {
- areaContainer.setYPosition(value + 2 * spaceBefore);
- }
-
public static FObj.Maker maker() {
return new TableFooter.Maker();
}
- public TableFooter(FObj parent, PropertyList propertyList) {
+ public TableFooter(FObj parent, PropertyList propertyList)
+ throws FOPException {
super(parent, propertyList);
this.name = "fo:table-footer";
+ }
+
+ public int getYPosition() {
+ return areaContainer.getCurrentYPosition() - spaceBefore;
+ }
+
+ public void setYPosition(int value) {
+ areaContainer.setYPosition(value + 2 * spaceBefore);
}
}
1.2.2.1 +4 -3 xml-fop/src/org/apache/fop/fo/flow/TableHeader.java
Index: TableHeader.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/TableHeader.java,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- TableHeader.java 30 Jul 2001 20:29:23 -0000 1.2
+++ TableHeader.java 20 Jul 2002 12:58:48 -0000 1.2.2.1
@@ -18,7 +18,7 @@
import java.util.Vector;
import java.util.Enumeration;
-public class TableHeader extends TableBody {
+public class TableHeader extends AbstractTableBody {
public static class Maker extends FObj.Maker {
public FObj make(FObj parent,
@@ -32,7 +32,8 @@
return new TableHeader.Maker();
}
- public TableHeader(FObj parent, PropertyList propertyList) {
+ public TableHeader(FObj parent, PropertyList propertyList)
+ throws FOPException {
super(parent, propertyList);
this.name = "fo:table-header";
}
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org