diff options
Diffstat (limited to 'src/org/apache/fop/fo/flow/TableCell.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/TableCell.java | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/src/org/apache/fop/fo/flow/TableCell.java b/src/org/apache/fop/fo/flow/TableCell.java index 4c5fe1c1d..87fc89fef 100644 --- a/src/org/apache/fop/fo/flow/TableCell.java +++ b/src/org/apache/fop/fo/flow/TableCell.java @@ -14,19 +14,9 @@ import org.apache.fop.layout.*; import org.apache.fop.apps.FOPException; import org.apache.fop.datatypes.*; -public class TableCell extends FObj { - - public static class Maker extends FObj.Maker { - public FObj make(FObj parent, - PropertyList propertyList) throws FOPException { - return new TableCell(parent, propertyList); - } - - } +import org.xml.sax.Attributes; - public static FObj.Maker maker() { - return new TableCell.Maker(); - } +public class TableCell extends FObj { // int spaceBefore; // int spaceAfter; @@ -96,9 +86,13 @@ public class TableCell extends FObj { AreaContainer cellArea; - public TableCell(FObj parent, PropertyList propertyList) { - super(parent, propertyList); + public TableCell(FObj parent) { + super(parent); this.name = "fo:table-cell"; + } + + public void handleAttrs(Attributes attlist) throws FOPException { + super.handleAttrs(attlist); doSetup(); // init some basic property values } |