diff options
author | William Victor Mote <vmote@apache.org> | 2003-09-16 18:11:52 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-09-16 18:11:52 +0000 |
commit | f5356cde3e9027e32a7b3ca42945152da6f2d2b8 (patch) | |
tree | 64671477b3436093d94931d5866d4d77b16f8aee /src/java/org/apache/fop/fo/flow/TableRow.java | |
parent | 5fc896f3078a6c27f02bce44b1763c64d4a10729 (diff) | |
download | xmlgraphics-fop-f5356cde3e9027e32a7b3ca42945152da6f2d2b8.tar.gz xmlgraphics-fop-f5356cde3e9027e32a7b3ca42945152da6f2d2b8.zip |
trigger event handling for start and end of table, cell, column, and row, primarily for the benefit of the structure handlers (mif/rtf) -- submitted by Peter Herweg, see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23103
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196917 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/TableRow.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/TableRow.java | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/flow/TableRow.java b/src/java/org/apache/fop/fo/flow/TableRow.java index f39b56c38..316d6c1b9 100644 --- a/src/java/org/apache/fop/fo/flow/TableRow.java +++ b/src/java/org/apache/fop/fo/flow/TableRow.java @@ -50,7 +50,11 @@ */ package org.apache.fop.fo.flow; +// XML +import org.xml.sax.Attributes; + // FOP +import org.apache.fop.apps.FOPException; import org.apache.fop.datatypes.ColorType; import org.apache.fop.datatypes.KeepValue; import org.apache.fop.fo.FONode; @@ -162,5 +166,19 @@ public class TableRow extends FObj { fotv.serveTableRow(this); } -} + /** + * @see org.apache.fop.fo.FObj#handleAttrs + */ + public void handleAttrs(Attributes attlist) throws FOPException { + super.handleAttrs(attlist); + + setupID(); + getFOTreeControl().getFOInputHandler().startRow(this); + } + + protected void end() { + getFOTreeControl().getFOInputHandler().endRow(this); + } + +} |